We are connecting ECC 6.0 to XI 3.0 system.
We have the SPROXY connection configured and we are able to create service interfaces without a problem . One scenario is to send Sales order data as an output to a third party system. I have created the outbound proxy in SPROXY and created a calling program for it.
I run the calling program and it runs without an error in the execute method. However, i dont see any data in SXMB_MONI. Could anybody shed light on the problem here ? I have no problems in importing content from XI to transaction SPROXY, yet my data is not transferring over to the XI system.
All help will be greatly appreciated.
Below is the calling program im using :
data : obj_ref type ref to ZCO_MI_SALEORDERDATA_FROM_SAP,
wa_output type ZMT_SALEORDERDATA_FROM_SAP,
wa_vbak type vbak.
create object obj_ref.
select single * from vbap into corresponding fields of wa_vbak where vbeln eq p_sales.
wa_output-MT_SALEORDERDATA_FROM_SAP-ORDER_NUMBER = p_sales.
wa_output-MT_SALEORDERDATA_FROM_SAP-SHIP_TO_PARTY = wa_vbak-kunnr.
wa_output-MT_SALEORDERDATA_FROM_SAP-SOLD_TO_PARTY = wa_vbak-kunnr.
CALL METHOD obj_ref->MI_SALEORDERDATA_FROM_SAP
OUTPUT = wa_output.
CATCH CX_AI_SYSTEM_FAULT .