Symptom
When attempting to release a Production Order or a Process Order, the system rejects the release with the status "Release rejected (check log)".
The detailed release log displays the following error message:
- Error in number assignment.
Message no. LOBM_ODATA_MSG060
This forces the user to manually assign a batch number to the order header (in the Goods Receipt tab) before the order can be released.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create a Production Order or Process Order for a batch-managed material.
- Attempt to release the order
- The order release is rejected, and the log shows "Error in number assignment" (LOBM_ODATA_MSG060).
Cause
The root cause is a fundamental configuration conflict between the system's execution requirement and the master data setting:
The Production Scheduling Profile (accessed via configuration activity 102508 - Define Production Scheduling Profile for Discrete Manufacturing) forces the system to execute automatic batch number generation at the time of order release. This automatic generation requires an Internal Number Range to be available.
The number range defined for object BATCH (accessed via configuration activity 103291 - Define Batch Number Ranges) is currently configured for External Number Assignment (manual assignment only), which prevents the system from generating a number internally. This mismatch causes the process to fail at the number assignment step, rejecting the release.
Resolution
There are two possible solutions to this issue, depending on your business requirement for when the batch number should be assigned:
- Option A: Change Production Scheduling Profile (Recommended for Manual/Later Assignment).
- Go to configuration activity 102508 - Define Production Scheduling Profile for Discrete Manufacturing.
- Select the relevant Production Scheduling Profile assigned to your Plant/Order Type.
- In the Batch Management section, change the field "Automatic Batch Creation in the order" from: "Automatic Batch Creation at Time of Order Release" to "No Automatic Batch Creation in Production/Process Order".
- The order can be released successfully without a batch number.
- Option B: Change Batch Number Range (Recommended for Automatic Assignment at Release).
- Go to configuration activity 103291 - Define Batch Number Range.
- Uncheck the "External" flag for the number range 01
- The order release process will now successfully generate and assign a batch number automatically to the order header, as mandated by the Production Scheduling Profile.
See Also
SAP Help Portal - Batch Number Assignment
Keywords
process order, batch assignment, order release restriction, sap s/4hana cloud, production scheduling profile, automatic batch creation, error in number assignment, LOBM_ODATA_MSG060, external number assignment, batch management, goods receipt tab , KBA , PP-SFC-2CL , Production Orders (Public Cloud) , PP-PI-POR-2CL , Process Order (Public Cloud) , Problem
SAP Knowledge Base Article - Public