Introduction
Extractors:
Extractors are used to retrieve data in the SAP source system (i.e. ECC in our case), which can fill the extract structure of a data source with the data from the SAP source system(i.e. ECC).The extractor may be able to supply more fields than the existing extract structure.
Extractors are used to extract data from a source system (i.e. ECC) and transfer it to BI system or BW system. They are also used for direct access to the source data from the BI system or BW system. SAP has provided standard extractors for purpose of extracting data. But in some situations these standard extractors won’t completely meet our business requirements. In such cases we need to enhance standard extractors. For example in some transaction a custom field has been added to meet our requirement. Since this is a custom field it will not be present in standard extractor. Now we need to include this field in extractor we will have to enhance the standard extractor.
Extractors use the DataSource defined in SAP for the data extraction.
What is BI?
Business intelligence (BI) refers to presentation of business records by collecting, integrating, analyzing the business records.
BI systems provide historical and prognostic views of business operations.BI most often using records that have been gathered into a system and occasionally working from operational data or Transaction data.
BI Extractors
Data retrieval is one of the key data warehousing processes in BI. BI provides mechanisms - extractors - for retrieving data (master data, transaction data, metadata) from various sources. The extraction and transfer of data occurs when requested by BI.
Data Source:
Data Source is a set of fields that provide the data for a business unit for data transfer into BI.Technically, DataSource is a set of logically-related fields that are provided to transfer data into BI in the extraction structure.
There are three types of DataSource:
Extract Structure for a DataSource:
The extraction structure for a data source shows the format in which the DataSource, or the extractor for the DataSource, transfers its data. The extract structure must be created in the DDIC as a dictionary structure or transparent table. A view is not permitted here since it would then not give you the option to add an Append structure. Append structure (container for Custom fields) enable you to convert business requirements. You can populate the fields in the Append structure using function enhancements (BADI, user exit etc).
When to enhance a DataSource using Extract structure:
Enhance a DataSource using Extract structure – Procedure:
Step 1: Go to transaction RSA6 for enhancing a datasource using extract structure. Select a DataSource (0REFX_6).
Step 2: Choose the data sources which need to be enhanced using extract structure. Click on extract structure (REIS_CASHFLOW_TRAN).
Step 3: Now use “Append Structure” to append new fields.
Step 4: Now add the required fields.
Step 6: Here, we have the options like ‘Select’, ‘Hide’, ‘Inversion’ and ‘Field only’ each for a different use.
Procedure to populate the records in the data source:
Step 1: To populate the records according to the business requirement we can do by implementing a BADI, USEREXIT etc.Here we have used BADI “RSU5_SAPI_BADI”.
Step 2: Select the interface àgo to the data transform.
With delta load, we can prevent long loading times and unnecessary locks on the database by only loading new or modified data records into SAP BW. This is advantageous when working with applications with large data collections.
Update Modes
Step 3: Inside method write the perform signature.
Step 4: Now go the SE38 create a report “ZPME1_0REFX_6 “, Select type as “Subroutine pool”.
Step 5: Inside the form take the field values from BI into an internal table. Based on the field values from BI fetch the data from ECC system then pass the fetched into the internal table “C_T_DATA”.
Extraction of the data:
Once new datasource is created through any of the methods explained above, it is ready for the extraction. So, for extracting the data from the new datasource:
All the records satisfying the desired selection criteria will be extracted and displayed
References:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
4 | |
3 | |
3 | |
2 | |
2 | |
2 | |
2 | |
2 | |
2 |