Skip to Content
avatar image
Former Member

Inbound ABAP Proxie

Hi,

I want to know how inbound proxie works

my assumption as follows

1. source structure reads the proxie.

2. what where the code in proxie executes ( ex: get the values).

3. pass that message to the meaase mapping.

4.creates target structure.

Is it works in that way ,otherwise please give me with example how it works?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Sep 08, 2008 at 10:01 AM

    Hi Praveen,

    Plz check the link ABAP Server Proxies

    Thanks!

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 08, 2008 at 10:05 AM

    Hi we need to send only 2 values and other values will execute in XI( lookup)

    DATA prxy TYPE REF TO ZCO_PROXY_SAP_OB.

    CREATE OBJECT prxy.

    DATA it TYPE ZPROXY_SAP_MT.

    TRY.

    it-PROXY_SAP_MT-A= 'ABCDEF'.

    it-PROXY_SAP_MT-B= 'test'.

    CALL METHOD prxy->execute_asynchronous

    EXPORTING

    output = it.

    commit work

    .

    CATCH cx_ai_system_fault .

    DATA fault TYPE REF TO cx_ai_system_fault .

    CREATE OBJECT fault.

    WRITE :/ fault->errortext.

    ENDTRY.

    Regards,

    Jayasimha JAngam

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 08, 2008 at 01:16 PM

    Hi,

    Once the mapping is done and the target structure is filled with the data required, it is passed to the proxy implementing the inbound interface and hence the method EXECUTE_SYNCHRONOUS or EXECUTE_ASYNCHRONOUS is executed in which we can write the desired.. eg: calling an FM to write the data into a table etc.

    Thanks,

    Durga

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 08, 2008 at 04:31 PM
    Add comment
    10|10000 characters needed characters exceeded