09-08-2011 8:47 AM
Hello,
we are creating a generic datasource in R/3 based on a function module. It will be used by several WI systems. Does anyboddy know a simple way how to find out the systemid of the calling BW system inside the function module of the generic datasource ?
We'd like to do some BW-specific codeing in the R/3 generic datasource.
Also, is there a way to pass a parameter to the remote R/3 system from the BW system which uses the infopackage?
Thanks,
Irmgard
Edited by: Irmgard Polifka on Sep 8, 2011 9:48 AM
Edited by: Irmgard Polifka on Sep 8, 2011 9:52 AM
09-08-2011 8:59 AM
09-08-2011 8:59 AM
09-12-2011 8:49 AM
Hello,
thanks for the hint, this is a very good and detail description of the generic datasource function module. But what we need is the information of the callers system ID. Do you know any function which gives back the callers System ID which is the ID of the remote BW system from the function modules perspective?
Thanks,
Irmgard
10-21-2011 5:46 PM
Have a look at this thread
The solution suggested there is to use 2 different extraction users from the 2 BW systems accessing the same ERP system.
So BW1 would use user BWREMOTE1 in the ERP system and BW2 would use BWREMOTE2 (instead of using BWREMOTE as the user from both BW1 and BW2).
This way you can make decisions using SY-UNAME in your extractor exit coding that defer by the calling BW system.