Skip to Content
author's profile photo Former Member
Former Member

How to check Data Source extraction Logic

Hi Experts

Please explain me in details steps how/where can i check the logic of data sources

We have data sources based on

1) Custom data source based on Function Module (Where can i check the code/logic....)

2) Standard Business Content Data source (Where can i check Logic)

3) Standard Business Content Data source which is enhanced to inculde ZZ fields (Where can i check Logic)

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 12, 2009 at 04:36 AM

    Hi,

    For check the code you need to follow the bellow steps:

    1) Custom data source based on Function Module :

    a).Check the Datasource in RSO2(custom datasource/Generice datasource).

    b).Find the Function module in RSO2.

    c).Goto SE37 and give the FM name and check the source code ..

    2) Standard Business Content Data source

    i).Goto RS02.

    ii).Give the data source name --> On the initial screen, if you get an I-type message after clicking on Display, that message displays the name of the Function Module .

    iii).Goto SE37, check the souce code.

    3).Standard Business Content Data source which is enhanced to inculde ZZ fields

    a). GOTO CMOD.

    b).Give the project name and click on display.

    c). double click on ZXRSAUO1.

    d). it displays

    EXIT_SAPLRSAP_001 - Transaction Data DataSources User Exit

    EXIT_SAPLRSAP_002 - Master Data Attribute DataSources User Exit

    EXIT_SAPLRSAP_003 - Master Data Text DataSources User Exit

    EXIT_SAPLRSAP_004 - Master Data Hierarchy DataSources User Exit

    e). select relevent Exits.

    f). Find your datasouce name from WHEN'DATASOUCENAME'.

    g). check the code and find the functional module (if it exists).

    you can follow above 3 types. those are halp full to check the code if requires.

    Regards,

    Suman

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 11, 2009 at 09:22 PM

    1) Custom data source based on Function Module (Where can i check the code/logic....)

    Check the Datasource it will have Function module , Goto SE37 and give the FM name and check the source code ..

    2) Standard Business Content Data source (Where can i check Logic)

    RSA2 --> Give the data source name --> extraction tab there is extractor field will have FM name , double click on it and see the logic for that extractor ..

    3) Standard Business Content Data source which is enhanced to inculde ZZ fields (Where can i check Logic)

    depends upon the data source type (transaction data and master data) go to include program ZXRSAU01 or 02 etc ..

    under the specific datasource check logic ..

    Ravi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 11, 2009 at 09:15 PM

    1) Custom data source based on Function Module (Where can i check the code/logic....)

    Go to tcode RSO2, enter the generic DataSource name and click Display. In the next screen, it will show you the Function Module that that's used for the extraction of data. Copy that FM name, go to tcode SE37, past the FM name that you previously copied and then click on Display. This is where you can view the extraction logic for the generic DataSource based on a Function Module.

    2) Standard Business Content Data source (Where can i check Logic)

    Follow the same for display of generic DataSource source. On the initial screen, if you get an I-type message after clicking on Display, that message displays the name of the Function Module being used, otherwise hit Enter to get to the next screen.

    3) Standard Business Content Data source which is enhanced to inculde ZZ fields (Where can i check Logic)

    Transaction CMOD is used for the creation/maintenance of User Exits. In CMOD, use the dropdown to select the custom Project that's been defined on your source SAP application for BW extraction User Exits, and select the Components radio button. Click on Display. A list of INCLUDE programs will be shown. These INCLUDE programs each represent the four types of DataSources.

    EXIT_SAPLRSAP_001 - Transaction Data DataSources User Exit

    EXIT_SAPLRSAP_002 - Master Data Attribute DataSources User Exit

    EXIT_SAPLRSAP_003 - Master Data Text DataSources User Exit

    EXIT_SAPLRSAP_004 - Master Data Hierarchy DataSources User Exit

    You will have to know the type of data (e.g. Transaction, Master Data Attribute, etc) to know which INCLUDE to go into. Once you know which one to go into, double-click on it and this will bring into display mode on that INCLUDE. Another INCLUDE will be present that begins wth Z*. Double-click on that, and you should then be in the area where the logic is for determining where to go if the DataSource has a certain value and you should be able to get to the code to read through it from there.

    You can also get to these EXIT_SAPLRSAP_NNN programs via tcode SE38.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.