SAP Knowledge Base Article - Public

3673981 - Order Release Rejected:"Error in number assignment" (LOBM_ODATA_MSG060)

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

  1. Create a Production Order or Process Order for a batch-managed material.
  2. Attempt to release the order
  3. 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 activity/SSCUI Define Production Scheduling Profile for Discrete/Process 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 activity/SSCUI 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).
    1. Go to activity/SSCUI "Define Production Scheduling Profile for Discrete/Process Manufacturing".
    2. Select the relevant Production Scheduling Profile assigned to your Plant/Order Type.
    3. In the Batch Management section, change the field "Automatic Batch Creation" from: "Automatic Batch Creation at Time of Order Release" to "No Automatic Batch Creation in Production/Process Order".
    4. The order can be released successfully without a batch number.

  • Option B: Change Batch Number Range (Recommended for Automatic Assignment at Release).
    1. Go to activity/SSCUI "Define Batch Number Ranges".
    2. Create a new number range
    3. Uncheck the "External" flag for the number range interval.
    4. 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

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

Product

SAP S/4HANA Cloud Public Edition all versions