on 09-08-2008 10:55 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you explain more clearly what your requirement is?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.