Introduction
Generic Extractor is mainly used for extracting the data from other Source Systems like R/3 to BI.To extract the required Data we need to create the Data Source. Here In this document we will see the various steps involved to create a Custom Data Source.
Creation of Structure
Create a structure with the necessary fields.
Please note the Currency and quantity fields must have reference fields also.
Creation of Function Module
In transaction SE80,Select Function group, name RSAX. Right click and Copy.
Creation of Function Module
In transaction SE80, Select Function group, name RSAX. Right click and Copy.
Give the New Name as ZRSAX_FICOPA
Select the required function Module.
Give the name for Function Module (For Eg ZMFA_GET_DATA_PA)
The Function Module in SE37 will be like this, we haveto do light modification
In table tables Tab Maintain the entries as per the below screen shots
In Source code Tab. Write this Code
CODE : Please see the attachment.
Now Save, Activate the function module.
Go to SE80 -> Select Function Group, Activate the Function Group.
Note:If you do not activate function Group, You will not be able to create data source in RS02.
Data Source Creation
Then you have to create the data source, the data source name must be the name given in the source code of the Function module.
RSO2 -> Create
Select Extraction by Function Module, Give name of Applc component, Function Module, Extract Structure, Save.
Checking Extraction
Now give the selection Conditions and save.
RSA3 ->Give data source name and check extraction
Click on Display ALV result