SAP Knowledge Base Article - Public

3604548 - Get error message M7021 "Deficit of BA Unrestricted-use &: & & & &" during production order confirmation

Symptom

During the confirmation of a production order, the batch-managed materials should be posted. However, an error arises indicating a deficit in the stock of a batch.
Checking in Display Warehouse Stock app, there is enough stock for the batch, however, still get the error message "Deficit of BA Unrestricted-use &: & & & &".

Environment

SAP S/4HANA Cloud Pubic Edition

Cause

The posting date of the confirmation is before the creation date of the batch. It is not possible to manage a batch with a date before it has been created as the system doesn't know it. 
The batch creation date can be checked in Display Batch app.

Resolution

Use a posting date before the batch creation date.

See Also

Keywords

Production order, Confirmation, Batch, Stock, Deficit, Error M7 021, CO11N, CO15, Confirm Production Order, Confirm Production Order Operation, MSC3N, posting date, creation date , KBA , PP-SFC-EXE-CON-2CL , Confirmation (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions