cancel
Showing results for 
Search instead for 
Did you mean: 

InventoryUpdate Web Service issues

yacine_toubale
Discoverer
0 Kudos

Hi,

I'm facing a couple of issues using the web service for data updating of an existing Inventory ID in ME:

1) Storage location get's cleared on the Inventory ID

2) Modification made by WS doesn't appear in the Inventory log report

1) According to WebService documentation, the storage location is not in the managed fields so it is not populated in the request. However, each time I use this WS, the storage location originally set on the Inventory ID is getting removed.

2) An entry is set in database on INVENTORY_LOG table after WS execution but it seems that the field 'USER_BO' is wrongly set at it appears to be as following : UserBO:%SITE%,null (where %SITE% is the corrrect site value). I updated this field as well as the handle whith an existing user on the database on testing purpose and I was then able to see this entry in the Inventory Log report.

Here is a request example that I use :

<soapenv:Envelope xmlns:soapenv="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:InventoryUpdateRequest_sync>

         <me:InventoryUpdateRequest>

            <me:SiteRef>

               <me:Site>4680</me:Site>

            </me:SiteRef>

            <me:InventoryUpdate>

               <me:SiteRef>

                  <me:Site>4680</me:Site>

               </me:SiteRef>

               <me:InventoryId>46803259</me:InventoryId>

               <me:ItemRef>

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

                  <me:Item>00793917</me:Item>

                  <!--Optional:-->

                  <me:Revision>A</me:Revision>

               </me:ItemRef>

              <me:ReasonCodeRef>

              <me:SiteRef>4680</me:SiteRef>

              <me:ReasonCode>RTN-INV_CHANGE</me:ReasonCode>

              <me:Category>I</me:Category>

             </me:ReasonCodeRef>

             <me:Comments>Update By WS</me:Comments>

               <!--Optional:-->

               <me:QuantityOnHand>3</me:QuantityOnHand>

               <!--Optional:-->

              <me:modifiedDateTime>2002-10-25T12:00:00Z</me:modifiedDateTime>

            </me:InventoryUpdate>

         </me:InventoryUpdateRequest>

      </me:InventoryUpdateRequest_sync>

   </soapenv:Body>

</soapenv:Envelope>

Note: If I do the same modifications using the activity 'Maintain floor stock' there is no issue and the storage location is still there after updating and the log entry is visible in the report.

ME Version : 6.0.3.5

Is someone facing the same issues ?

Thank you in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi

Are these questions still actual?

Br, Alex.

yacine_toubale
Discoverer
0 Kudos

Hello Alex,

These issues were fixed after opening an OSS ticket, sorry I forgot to update this message accordingly.

Best regards,