on 05-11-2007 1:13 PM
HI @ ,
In my scenario i have to insert the message coming to proxy directly inot internal table .
My message consists up of 1 header and one repeating group I have to store the repeating group into a table how to do that i dont know
Please help Its urgent
Regards
hi amith,
if proxy is in outboundside,use the below code.
REPORT zaaj_out_proxy_tata.
DATA: obj TYPE REF TO zco_mioa_tata,
szdt_tata TYPE zdt_tata,
szmt_tata TYPE zmt_tata,
szdt_tata_employee TYPE zdt_tata_employee,
szdt_tata_employee_tab TYPE zdt_tata_employee_tab.
DATA: itab TYPE STANDARD TABLE OF zcnu_proxy_table,
wa LIKE LINE OF itab.
SELECT name city FROM zcnu_proxy_table INTO (wa-NAME,WA-CITY).
APPEND wa TO itab.
szdt_tata_employee-name = wa-name.
szdt_tata_employee-city = wa-city.
APPEND szdt_tata_employee TO szdt_tata_employee_tab.
szdt_tata-employee = szdt_tata_employee_tab.
szmt_tata-mt_tata = szdt_tata.
ENDSELECT.
TRY.
CREATE OBJECT obj.
CALL METHOD obj->execute_asynchronous
EXPORTING
output = szmt_tata.
COMMIT WORK.
CATCH cx_ai_system_fault.
ENDTRY.
if ur proxy is in inbound side , use this code.
for this u give ur email ID so that i can send
reward points if helpful
regards
sreeni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.