on 09-04-2006 2:53 PM
Hello Friends,
I am trying to do with that a program abap sends data for SAP XI. I got to create the proxy of the type OUTBOUND in my R/3. When I execute the report abap, doesnt see a Message in SXMB_MONI.<b>Why?</b>
REPORT ZSW_XI_CLIENT.
data: lo_client_proxy type ref to ZZUCO_MI_HDB_INTMOD_OA,
wa_ZZUDT_HDB_INTMOD type ZZUDT_HDB_INTMOD,
wa_ZZUDT_HDB_INTMOD_ITEM type ZZUDT_HDB_INTMOD_ITEM ,
wa_ZZUDT_HDB_INTMOD_ITEM_TAB type ZZUDT_HDB_INTMOD_ITEM,
it_ZZUDT_HDB_INTMOD_ITEM_TAB type table of ZZUDT_HDB_INTMOD_ITEM,
wa_ZZUMT_HDB_INTMOD type ZZUMT_HDB_INTMOD.
wa_ZZUDT_HDB_INTMOD_ITEM_TAB-object_index = 2.
wa_ZZUDT_HDB_INTMOD_ITEM_TAB-fieldname = 'Susi'.
wa_ZZUDT_HDB_INTMOD_ITEM_TAB-fieldvalue = 'hallo'.
append wa_ZZUDT_HDB_INTMOD_ITEM_TAB to it_ZZUDT_HDB_INTMOD_ITEM_TAB.
wa_ZZUDT_HDB_INTMOD-item = it_ZZUDT_HDB_INTMOD_ITEM_TAB.
wa_ZZUMT_HDB_INTMOD-MT_HDB_INTMOD = wa_ZZUDT_HDB_INTMOD.
create object lo_client_proxy.
CALL METHOD lo_client_proxy->execute_asynchronous
EXPORTING
output = wa_ZZUMT_HDB_INTMOD.
commit work.
Hi,
Check this blog and see if it helps,
/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhavesh
I have tested it;
<?xml version="1.0" encoding="utf-8" ?>
- <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
- <asx:values>
<SUCCESS><b>Services Processed Without Error</b></SUCCESS>
</asx:values>
</asx:abap>
and Payload was ;
<?xml version="1.0" encoding="utf-8" ?>
- <ns1:MT_HDB_INTMOD xmlns:ns1="http://ifbAG.com/xi/abap-proxy2rfc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <item>
<object_index>1</object_index>
<fieldname>This is a string 2</fieldname>
<fieldvalue>This is a string 3</fieldvalue>
</item>
- <item>
<object_index>4</object_index>
<fieldname>This is a string 5</fieldname>
<fieldvalue>This is a string 6</fieldvalue>
</item>
</ns1:MT_HDB_INTMOD>
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.