SAP Knowledge Base Article - Public

3190662 - Task Cannot be Finished Using Web Service

Symptom

You are trying to finish the logistics task XXX using web service, as an example ManageSiteLogisticsTaskIn, the quantity is confirmed, however the task is still In Process.

XXX = Task ID

Environment

SAP Business ByDesign.

Reproducing the Issue

  1. Go to Outbound Logistics work center. 
  2. Select Task Control view. 
  3. Find the Task XXX. 
  4. Notice that it is still In Process instead Finished. 

Cause

There are two possible causes for this behavior:

Case 1: You have not specified the Output Product in your XML.  As we do not enter the type of task in the payload (if it is a Pick Task, Put Away Task, ect), we need to work with these tags to drive the products. It is the combination of these tags that will drive the products to our out our stock, as well as from and to different logistics areas for internal tasks.

MaterialInput tag - it is used to inform the system the Source Logistics Area, from where we are taking the products of.

MaterialOutput tag - it is used to inform the Target Logistics area, where we are stocking the product.

Case 2: The Task XXX was not finished by the web service when all products were fully delivered in one go.

The payload must contain all products with their full quantities. Therefore, if we have an item already updated in the system and send a payload with the second line item, the system will still keeps the task in process. We need to do all in one message. We can repeat the already updated item in a second payload if necessary, as this would not cause errors.

Resolution

These are the resolutions for this behavior:

Case 1: In case of tasks in Outbound Logistics, you need to add the MaterialOutput tag to the XML.

Case 2: You need to confirm the full quantities of the tasks in one go.

Keywords

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

Product

SAP Business ByDesign all versions