SAP Knowledge Base Article - Public

3057223 - Error message "Number of serial numbers does not correspond with quantity in item"

Symptom

Error message "Number of serial numbers does not correspond with quantity in item" occurs when confirming a warehouse task with API API_WAREHOUSE_ORDER_TASK.

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  1. Retrieve the ETag with GET function
  2. Post the request with URL like /sap/opu/odata/sap/API_WAREHOUSE_ORDER_TASK/ConfirmWarehouseTaskProduct?Warehouse='1050'&WarehouseTask='1000000001'&WarehouseTaskItem='0'&AlternativeUnit='PC'&ActualQuantityInAltvUnit=7&DifferenceQuantityInAltvUnit=0&WhseTaskExceptionCodeQtyDiff=''&DestinationStorageBin=''&WhseTaskExCodeDestStorageBin=''&SourceHandlingUnit=''

Cause

It is intended.

The current API is not yet capable of using serial numbers. SAP plan to offer this functionality for the API in S/4HANA Cloud 2111.

Resolution

You can confirm warehouse tasks for materials with the stock-based serial number profile using application "Confirm Warehouse Tasks- Advanced".

Keywords

Warehouse Task, Serial Number, SNPC, API_WAREHOUSE_ORDER_TASK, Confirm Warehouse Task Product, Stock-Based , KBA , SCM-EWM-API , Remote APIs , SCM-EWM-WOP-BF-SN , Serial Numbers , Problem

Product

SAP S/4HANA Cloud 2105 ; SAP S/4HANA Cloud 2108