Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 11577

Re: RFC to ECC with list of items

$
0
0

Hi

yes should have also said that I have done the mapping and can map the ORDERITEMS.items

But the problem I see is when the items are passed to the SAP ECC RFC they appear empty.

 

I have unit tested the message mapping and it prepares message correctly.

 

<?xml version="1.0" encoding="UTF-8"?>

<ns1:ZRH_TESTHARNESS_PO_CREATE xmlns:ns1="urn:sap-com:document:sap:rfc:functions">

   <CUSTOMER_ID>0004567890</CUSTOMER_ID>

   <CUSTOMER_ORDERNO>TEST412</CUSTOMER_ORDERNO>

   <VENDOR>Vendor1</VENDOR>

   <ORDERITEMS>

      <item>

         <MATERIALID>Bike</MATERIALID>

         <QTY>1</QTY>

         <MEINS>EA</MEINS>

      </item>

      <item>

         <MATERIALID>Bus</MATERIALID>

         <QTY>1</QTY>

         <MEINS>EA</MEINS>

      </item>

   </ORDERITEMS>

</ns1:ZRH_TESTHARNESS_PO_CREATE>

 

I have set a session debug in SAP ECC and when I use my SAP PI ICO scenario to actually call this I can see in SAP ECC debug mode and the items are empty !.  Why do you think is happening ?

debugrfc.jpg


Viewing all articles
Browse latest Browse all 11577

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>