SAP Knowledge Base Article - Public

3083491 - Saved Successfully Message When Confirming Pick Task Via Web Service But no Confirmation is Created

Symptom

You are using the web service ManageSiteLogisticsTaskIn to confirm the Pick Task XXX with Deviation Reason. The message Saved Successfully is returned, however no confirmation is created in UI. Instead, the quantities are going to In-Transit.

XXX = Pick Task ID

Environment

SAP Business ByDesign.

Reproducing the Issue

  1. Go to Application and User Management work center.
  2. Select Service Explorer view. 
  3. Find web service ManageSiteLogisticsTaskIn.
  4. Click Download WSDL.
  5. Use this WSDL in SOAP UI.
  6. Execute the XML. 
  7. The message is returned: 

Saved Successfully

Cause

For the quantities to be confirmed, you need to specify the quantity in the Material Output tag and the Deviation Reason needs to be in Material Input tag.

Resolution

The correct format to confirm the Pick Task task XXX is the following:

 <SiteLogisticsTask>
  <SiteLogisticTaskID>XXX</SiteLogisticTaskID>
  <SiteLogisticTaskUUID>YYY</SiteLogisticTaskUUID>
  <ReferenceObject>
   <ReferenceObjectUUID>YYY</ReferenceObjectUUID>
   <OperationActivity>
    <OperationActivityUUID>YYY</OperationActivityUUID>
    <MaterialInput>
     <MaterialInputUUID>YYY</MaterialInputUUID>
     <ProductID>YYY</ProductID>
     <SourceLogisticsAreaID>YYY</SourceLogisticsAreaID>
     <LogisticsDeviationReasonCode>YYY</LogisticsDeviationReasonCode>
    </MaterialInput>
    <MaterialOutput>
     <MaterialOutputUUID>YYY</MaterialOutputUUID>
     <ProductID>YYY</ProductID>
     <ActualQuantity unitCode="YYY">YYY</ActualQuantity>
     <LogisticsDeviationReasonCode>YYY</LogisticsDeviationReasonCode>
    </MaterialOutput>
   </OperationActivity>
  </ReferenceObject>
 </SiteLogisticsTask>

Keywords

WS; webservice; payload , KBA , ws , webservice , payload , AP-SLP-TSK , Site Logistics Task , How To

Product

SAP Business ByDesign all versions