cancel
Showing results for 
Search instead for 
Did you mean: 

Inbound ABAP Proxie

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos
Former Member
0 Kudos

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

Former Member
0 Kudos

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

SudhirT
Active Contributor
0 Kudos

Hi Praveen,

Plz check the link

Thanks!