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
- Go to Application and User Management work center.
- Select Service Explorer view.
- Find web service ManageSiteLogisticsTaskIn.
- Click Download WSDL.
- Use this WSDL in SOAP UI.
- Execute the XML.
- 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