SAP ABAP Message Class 12 Message Number 154 (Batch record does not exist (choose 'restricted' batch status))
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM-BF (Application Component) Basic Functions
     VB (Package) Application Development R/3 Batches
Attribute
Message class 12  
Short Description Production date/shelf life expiration date/batches    
Message Number 154  
Documentation status       Space: object requires documentation
Authorization check Error Message      
Changed On 20130531   
Message Text
Batch record does not exist (choose 'restricted' batch status)
Help Document

Diagnosis

When a batch is created, the system determines its initial status from Customizing. In plant , the initial status of all batches is defined as = 'unrestricted'.

For the material assigned to batch , you have defined that an approved batch record must exist when batches of this material are released. There is no such record for batch . Therefore, this batch cannot be released; that is, the batch status cannot be changed from 'restricted' to 'unrestricted'.

Since it was assigned with the initial status 'unrestricted', the batch was unrestricted when it was created, even though an approved batch record is required for this.

Procedure

To resolve this conflict, you can do the following:

  • in Customizing, you can change the initial status of the batches in plant to 'restricted'.
  • if you have defined this message as a warning message in Customizing, after confirming the message, the basic data of the batch is displayed and you can manually set the status to 'restricted'.
  • If you have defined this message as an error message in Customizing, the error is issued as a system message and the batch status is changed in the background to 'restricted'.

History
Last changed on/by 20130531  SAP 
SAP Release Created in