cancel
Showing results for 
Search instead for 
Did you mean: 

data source enhancement thru function module

Former Member
0 Kudos

Folks,

I am trying to figure relation between data source enhancement, package, function module etc?

I see a function module where enhancement is done. when I go and try to see master data exit EXIT_SAPLRSAP_0002 ... I see include but I do not see reference of function module in this include?

All these codes are so simple... but I am struggling to figure out all these relation RSAP0001, exit_saplrsap* - include inside and function module attached?

Can somebody give very simple connection for all these components?

Thanks,

-SM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

As per my knowledge function module and enhancement is differnet .

Regards

Sivaraju

Former Member
0 Kudos

I am changing and executing enhancement done in data source thru function modules (customize one). it all works fine. I only did changes, did not established beginning project, package, enhancement/attribute etc relation.

so right now, I am just wondering if I have to code from scratch - how do I do it because I am not clear how does functional module comes into picture. In books and blogs - we can see user exit rsap001 - exit-saplrrsap_0001/2/3/4 reference etc and in Badi also I see rsup5_sapi* etc

but no information on - how to use customize functional module in data source enhancement? May be it is too recent?

former_member186158
Active Participant
0 Kudos

in your case, just modify the function module and datasource.

Enhancement is worked to SAP standard.

Because SAP standard DataSource is very complicated, you'd better not to modify it directly.

Former Member
0 Kudos

go thru the below links , it will give you a brief idea ans step by step implemenation.

link :

link:https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33

Hope it helps.

Former Member
0 Kudos

Karan,

Thanks for your response. In RS02 it is clear that we can mention function module name for data source - that is good for generic extraction. But what do we do when we are enhancing SAP extractor?

in se37 screen in table tab - sometime we see extract structure - that will establish which functional being called for which data source, but in my case - I do not see anything in table tab?

Edited by: toti shu on Oct 25, 2010 4:41 PM

Former Member
0 Kudos

Hi,

All these codes are so simple... but I am struggling to figure out all these relation RSAP0001, exit_saplrsap - include inside and* function module attached?

Please note that for enhancing certain standard objects for meet customer needs, SAP provides different customer exits where we can code as per our requirements.

These customer exits starting with EXIT********* will be grouped by Enhancements e.g. RSAP0001

Thanks for your response. In RS02 it is clear that we can mention function module name for data source - that is good for generic extraction. But what do we do when we are enhancing SAP extractor?

When you want to enhance SAP extractors, you go for customer exits.

EXIT_SAPLRSAP_001 for Transactional datasources

EXIT_SAPLRSAP_002 for Master datasources

EXIT_SAPLRSAP_003 for Text datasources

EXIT_SAPLRSAP_004 for Hierarchy datasources

in se37 screen in table tab - sometime we see extract structure - that will establish which functional being called for which data source, but in my case - I do not see anything in table tab?

If your datasource is function module based, then the function module which is mentioned in RSO2 for your datasource would surely have e_t_data in tables tab with its associated type.

Only if the datasource is standard one and is processed by function module e.g. 2lis_18_i0notif which is processed by MCEX_BW_LO_API function module, these would not have associated type mentioned for them. To get their structure, you can go to RSA5/ RSA6

Former Member
0 Kudos

Thanks Rahul.

In debug mode, I can reference to BADI (if_ex_rsu5* ). I need to trace out BADI structure and relation.