Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to identify BW caller in Sap R/3 Data Source user exit

Hi,

I have the following question :

I use the same R/3 extractor to load two different SAP BW system. Before, the data must be enriched by a user exit process ( CMOD ).

In this exit, the treatment for each datasource is identified by the case clause but I have to do some different treatment for each BW target for the same datasource

CASE i_datasource.

when 'MyDatasource'

if BW Caller = BW 1

Data treatment for BW 1

else .

if BW Caller = BW 2

Data treatment for BW 2

endif.

Do you know the way to identify the SAP BW system caller in the R/3 user exit in order to aplly a specific treatment for the same datasource ?

Thanks for your help.

Marc

Former Member replied

hi,

not very nice but and not really satisfying:

if the users of the remote-users for the logon from the BWs onto the one R/3 differ you could use sy-uname to check what bw is extracting ...

everything else is a bit more complex

hth

cheers

sven

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question