Skip to Content
Author's profile photo Anjali P

Enhancing DataSources – LO Extraction Part 2

This is part 2 of the blog.

Now we go to SE37, give the Function Module EXIT_SAPLRSAP_001 and display.

9.PNG

/wp-content/uploads/2012/10/10_143006.png

Go to the Include (double click on that).  In the ABAP Editor screen, go to change mode

11.PNG

Click on Insert button to insert your code

/wp-content/uploads/2012/10/12_143008.png

Check and activate.

DataSource Changes

Now we need to do DataSource relevant changes.  For this go to LBWE and double click on your DataSource.

/wp-content/uploads/2012/10/13_143015.png

In the next screen, go Select and Hide the fields as needed.  By default the enhanced field will be hidden.  Uncheck it.

Select Field only for this field.

14.PNG

15.PNG

Save.

Extract Checker

Go to RSA3, give your datasource name and execute.

16.PNG

Click on Display list to view the records.

17.PNG

18.PNG

Double click on the datapacket to view the records.

/wp-content/uploads/2012/10/19_143021.png

This shows that our datasource enhancement is working properly.  With this the steps in the Source System side is done.

Thank you for taking time out to go through this blog.  Hope its been helpful.

Part 1

http://scn.sap.com/community/data-warehousing/business-content-and-extractors/blog/2012/10/03/enhancing-datasources–lo-extraction-part-1

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Ashok Babu Kumili
      Ashok Babu Kumili

      Hi Anjili,

      Perfect document to understand the basic concepts of  "Enhancing DataSources - LO Extraction ". Very nicely written article. I learnt the key views. It has been summarized very nicely. Thank you

      Author's profile photo karthick Ravichandran
      karthick Ravichandran

      Helpful Document

      Author's profile photo Former Member
      Former Member

      Hi Anjali,

      It was very nice document on how to Enhance a Standard Datasource with additional fields as per requirement. I have few queries here. Could you please clariffy...?

      1. The code you have written for populating the MBRSH(Industry Sector), will it work for Delta as well or only just only for Full load.

      2. If not Delta could you please explain how to populate the Delta records into the newly appended fields to the Standard DataSource.

      3. Are the above mentioned steps for enhancing the Standard DataSource same for all Modules.?

      Thanks in advance.

      Regards

      Bhanu.

      Author's profile photo Former Member
      Former Member

      Document is very easy to understand . Happy to read 🙂 .

      Author's profile photo Anil Babu
      Anil Babu

      nice document on lo ds enhancement. thanks for sharing...

      Author's profile photo Venkatesh Veera
      Venkatesh Veera

      Hi Anjali,

      a small doubt!

      we are writing this code to populate the filed MBRSH(Industry Sector) but in the where condition how can we fetch the data from MARA table using the same condition??

      select single * from MARA where MBRSH = L_S_VAITM-Z_MBRSH?

      Correct me if I'm wrong.

      Thank you