Skip to Content
avatar image
Former Member

Proxy Receiver Synchronous scenario

Hi EveryBody,

I am working on a synchronous scenario in which Proxy is receiver.

I have generated the PROXY for the inbound synchronous Interface and also have created a Program

in se38.

I need to call a RFC function module in the code and push the data from Proxy to RFC and also

have to send the response from RFC to XI via Proxy.

Can somebody help me out on the same?

Helpful answers will be rewarded points.

Thanks,

RK

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 03, 2008 at 07:08 AM

    Hi,

    the proxy bit is simple, make the proxy on a sync. interface, and just fill the output structure.

    For the RFC call function 'XXXX' DESTINATION 'your rfc system'.

    Kind regards

    Mikkel

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Rupash,

      For example...

      method ZXI_II_MI_PROXY_IN_DNI_NOMBRE~EXECUTE_SYNCHRONOUS.

          • **** INSERT IMPLEMENTATION HERE **** ***

          DATA:

          lv_ID type char10,

          lv_NAME type char30.

          lv_ID = input-MT_PROXY_DNI-DNI.

          *lv_NAME = input-MT_PROXY_DNI-NOMBRE.

          CALL FUNCTION 'ZXI_001'

          EXPORTING

          P_DNI = lv_ID

          IMPORTING

          P_NOMBRE = lv_NAME.

          output-MT_PROXY_NOMBRE-NOMBRE = lv_NAME.

          .

          endmethod.

          FUNCTION zxi_001.

          *"----


          ""Interfase local

          *" IMPORTING

          *" VALUE(P_DNI) TYPE CHAR10 OPTIONAL

          *" EXPORTING

          *" VALUE(P_NOMBRE) TYPE BEZEI30

          *"----


          CHECK NOT p_dni IS INITIAL.

          SELECT SINGLE nombre INTO p_nombre

          FROM zxi_0001

          WHERE dni = p_dni.

          ENDFUNCTION.

          Regards,

          Carlos

      • avatar image
        Former Member
        Oct 15, 2008 at 09:06 AM

        ok

        Add comment
        10|10000 characters needed characters exceeded