cancel
Showing results for 
Search instead for 
Did you mean: 

Inbound ABAP Proxie

Former Member
0 Kudos

I have the Requirement as follows

SOURCE STRUCTURE TRANSFORMATION TARGET STRUCTURE

A----


K(DIRECT MAPPING)

B----


L (DIRECT MAPPING)

C ( THIS C VALUE LOOKUP INTO ONE THE CUSTOM TABLE IN R/3 AND

RETURNS ONE OF THE TABLEFIELD VALUE, THIS RETURN VALUE SHOULD PASDSA TO TARGET) M

D( THIS D VALUE LOOKUP INTO ONE THE CUSTOM TABLE IN R/3 AND

RETURNS ONE OF THE TABLEFIELD VALUE, THIS RETURN VALUE SHOULD PASDSA TO TARGET) N

E ( THIS E VALUE LOOKUP INTO ONE THE CUSTOM TABLE IN R/3 AND

RETURNS ONE OF THE TABLEFIELD VALUE, THIS RETURN VALUE SHOULD PASDSA TO TARGET) O

PROXIE CREATED AT SENDER SIDE, I WANT WRITE PROXIE CODE.....

Please help me out how to write the proxie code?

Can i write the code for entire structure for direct mapping and lookup tables else for only lookup tables?

Regards

Praveen

Accepted Solutions (0)

Answers (4)

Answers (4)

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

Former Member
0 Kudos

Hi,

>>Can i write the code for entire structure for direct mapping and lookup tables else for only lookup tables?

You have to just write the Proxy code in ERP System to Initiate the Proxy and to send the data to XI.

Inherit the Structure of the Proxy and read the data from Tables then pass the data to this Proxy structure.

Regarding RFC Lookup----- you just have to do this part at Mappping itself, no need to handle this at Proxy code.

RFC Lookups

REgards

Seshagiri

Former Member
0 Kudos

Hi Praveen,

If I understood your issue, you want to write the ABAP code for a client proxy. Well, with this kind of proxy(outbound) you don't have a method were you can write the code directly, instead you should call the proxy class as a Pattern inside your code. Check the following links:

ABAP Proxies in XI(Client Proxy)

ABAP Server Proxies

File to R/3 via ABAP Proxy(Server Proxy)

Debug your inbound ABAP Proxy implementation

I hope it helps,

Ricardo.

Former Member
0 Kudos

can you explain more clearly what your requirement is?