cancel
Showing results for 
Search instead for 
Did you mean: 

Inventory Counting Update SOAP

Former Member
0 Kudos

Hi,

I am trying to update Inventory Counting using DI server, but my SOAP is responding No Matching Records Found

This is my SOAP,anyone knows what's the tag for updating Inventory Counting?

<?xml version="1.0" encoding="UTF-16"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><SessionID>76D9625D-340F-4DA4-9B82-51F4C2FDAC54</SessionID></env:Header><env:Body><dis:Update xmlns:dis="http://www.sap.com/SBO/DIS"><Service>InventoryCountingsService</Service><DocEntry>11</DocEntry><InventoryCounting><Reference2>FID-2015</Reference2><Remarks>testingto</Remarks><InventoryCountingLines><InventoryCountingLine><ItemCode>AIRCON</ItemCode><WarehouseCode>01</WarehouseCode><CountedQuantity>1</CountedQuantity></InventoryCountingLine></InventoryCountingLines></InventoryCounting></dis:Update></env:Body></env:Envelope>

Thanks,

Raphael

Accepted Solutions (0)

Answers (1)

Answers (1)

maik_delly
Active Contributor
0 Kudos

Hi Raphael,

the following is working for me :


<?xml version="1.0" ?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <soap:Header>

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

            <SessionID>D1998B8B-4DB0-4333-ACE9-C92C2868B086</SessionID>

            <ServiceName>InventoryCountingsService</ServiceName>

        </MsgHeader>

    </soap:Header>

    <soap:Body>

        <Update xmlns="InventoryCountingsService">

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

                <DocumentEntry>5</DocumentEntry>

                <InventoryCountingLines>

                    <InventoryCountingLine>

                        <LineNumber>1</LineNumber>

                        <ItemCode>A00001</ItemCode>

                        <Counted>tYES</Counted>

                        <CountedQuantity>77</CountedQuantity>

                    </InventoryCountingLine>

                </InventoryCountingLines>

            </InventoryCounting>

        </Update>

    </soap:Body>

</soap:Envelope>

regards,

Maik