Skip to Content
0
Former Member
May 05, 2014 at 01:11 PM

Can't create stock transfer using DI Server

503 Views

Hi Experts,

I need a very urgent help from you guys.

I was creating an inventory transfer document with batch numbers by using DI Server, Each time it gives me error "10000559 - Not enough data".

I am using following soap string.

Thanks in advance for the help

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

<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">

<env:Header>

<SessionID>6BD16887-E595-41B0-A6D2-D730DFA07B55</SessionID>

</env:Header>

<env:Body>

<dis:AddObject xmlns:dis="http://www.sap.com/SBO/DIS">

<BOM>

<BO>

<AdmInfo>

<Object>oStockTransfer</Object>

</AdmInfo>

<Documents>

<row>

<CardCode>V00204</CardCode>

</row>

</Documents>

<Document_Lines>

<row>

<ItemCode>Raw Colostrum</ItemCode>

<WarehouseCode>TANK1</WarehouseCode>

<Quantity>2.5</Quantity>

<FromWarehouseCode>FREEZER1</FromWarehouseCode>

</row>

</Document_Lines>

<BatchNumbers>

<row>

<BatchNumber>140505155901743</BatchNumber>

<Quantity>2.5</Quantity>

<BaseLineNumber>0</BaseLineNumber>

</row>

</BatchNumbers>

</BO>

</BOM>

</dis:AddObject>

</env:Body>

</env:Envelope>