Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BW - R/3: get systemid of caller in the function module of a gen. datasoure

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION
3 REPLIES 3

Former Member
0 Kudos

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

Ralf
Active Participant
0 Kudos

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.