Skip to Content
avatar image
Former Member

R/3 Extraction User Exit: check bw system?

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Jul 01, 2004 at 05:14 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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