Five Ways to Enhance BI Functionality Using ABAP-- Part I--Data Extraction [Link]

本文介绍数据提取的方法,包括创建通用数据源、增强交易数据及主数据属性,并利用Service API功能增强来丰富数据。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 
This part I will explain the first point: Data Extraction.

For data extraction, there are three aspects that we can do the enhancement.

1. Creating generic DataSources using function modules for data extraction.

When should we use the generic data extraction tools to create a DataSource?

  • Business Content does not include a DataSource for your application.
  • You want to implement a delta method on your generic DataSource that cannot be implemented by using the generic delta functionality(timestamp,date...)
  • The application does not allow you to create additional application-specific generic extractors(CO-PA,FI-SL,LIS)
  • You use your own programs in the SAP system to populate your own tables
  • You have to extract data from several DB tables when: Using a view is not possible because of insufficient JOIN; Only some fields are relevant to these tables; Data has to be enriched with information not available in the BW system.

Tools for Generic Data Extraction: TCODE---RS02.

For funtion module here I used SAP Standard: RSAX_BIW_GET_DATA_SIMPLE, you can see the detail through TCODE:SE37. OR you can write your own function module as well.

2. Enhancing DataSources for transaction data, master data attributes, and texts.

Reasons:

  • You want to add extra attributes to the characteristics(master data) shipped with the system
  • You want to populate additional fields that you appended to the extract structure with data at the time of extraction
  • You want to change/enhance texts or hierachies.

TCODE: SBIW---> Postprocessing of DataSources ----> Edit DataSources and Application Component Hierarchy

click the red mark button: 'Enhance Extraction Structure'.

fill in the name and then you can append the fields in this structure.

3. Using the Service API function enhancement to enrich data.

TCODE: SBIW---> Postprocessing of DataSources ----> Edit DataSources and Application Component Hierarchy

click the red mark button: 'Function Enhancement'

create the project and assign the Enhancement 'RSAP0001' (this is the only enhancement for service API).

See there are four user-exits for different use.

EXIT_SAPLRSAP_001: use for transaction data

EXIT_SAPLRSAP_002: use for master data

EXIT_SAPLRSAP_003: use for text

EXIT_SAPLRSAP_004: use for hierarchy

You can write the code in each of these function modules according to your requirements.

-->
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值