How to identify BW caller in Sap R/3 Data Source user exit
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
if BW Caller = BW 1
Data treatment for BW 1
if BW Caller = BW 2
Data treatment for BW 2
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.
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