Skip to Content
0
Jan 09, 2012 at 11:06 AM

AssyData in AddInventoryReceipt web service

16 Views

Hi,

I am struggling with the AddInventoryReceipt Web-service (Both in 5.2.5 and 6.0.2).

When sending the enclosed message it saves the Inventory ID in the WIP DB Table INVENTORY. However the InventoryAssyData for VENDOR is not inserted into the db table INVENTORY_ASSY_DATA.

Is there some error in my Webservice message?

http://schemas.xmlsoap.org/soap/envelope/" xmlns:me=" http://sap.com/xi/ME" xmlns:gdt=" http://sap.com/xi/SAPGlobal/GDT">

<soapenv:Header/>

<soapenv:Body>

<me:InventoryReceiptRequest_sync>

<me:InventoryReceiptRequest>

<me:SiteRef>

<me:Site>JONORD</me:Site>

</me:SiteRef>

<me:InventoryId>UID0000TESTING1</me:InventoryId>

<me:ItemRef>

<me:Item>3BSC550011R14</me:Item>

<me:Revision>X1</me:Revision>

</me:ItemRef>

<me:QuantityOnHand>500</me:QuantityOnHand>

<me:InventoryAssyData>

<me:InventoryRef>

<! You may enter the following 2 items in any order >

<me:InventoryId>UID0000TESTING</me:InventoryId>

<! Optional: >

<me:SiteRef>

<me:Site>JONORD</me:Site>

</me:SiteRef>

</me:InventoryRef>

<me:DataAttribute>N/A</me:DataAttribute>

<me:DataField>VENDOR</me:DataField>

</me:InventoryAssyData>

</me:InventoryReceiptRequest>

</me:InventoryReceiptRequest_sync>

</soapenv:Body>

</soapenv:Envelope>"

Br,

Johan