cancel
Showing results for 
Search instead for 
Did you mean: 

R/3 Extraction User Exit: check bw system?

Former Member
0 Kudos

Hi,

we have connected two bw systems 'A' and 'B' to one sap r/3 system.

We are using the r/3 extraction user exit (RSAP0001).

The coding in the user exit will depend on the bw system.

Is there any possibility to check in the coding using a parameter or variable which bw system is actually extracting data?

Thanks for you help.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member93896
Active Contributor
0 Kudos

Hello Lothar,

very good question. I have not tried this myself, but you should be able to use the RFC callback method:

http://help.sap.com/saphelp_nw04/helpdata/en/22/04256b488911d189490000e829fbbd/frameset.htm

Try CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION 'BACK' in your exit.

Regards,

Marc

SAP NetWeaver RIG, US BI

Former Member
0 Kudos

Hello Marc,

I tried the RFC callback method. Unfortunatel it does not work. I got an ABAP dump "CALL_FUNCTION_NO_SENDER":

-


Program not started via RFC. No return possible.

You attempted to execute an RFC call with the DESTINATION "BACK", but this destination is a reserved word and denotes and signifies a return to the calling program.

The current program was not called via RFC ('Remote Function Call').

-


It seems that the bw system starts a separate job on the sap r/3 system (sm37) for extracting the data and so no rfc information is available.

Regards,

Lothar