You can use this function to automatically create a batch for the material to be produced.
You can make the following settings in Customizing (production scheduling profile):
No automatic creation of batches in production orders
Automatic creation of batches during order creation
Automatic creation of batches during order release
In Customizing for
Inventory Management
you can specify that the system should automatically assign batch numbers. If this has not been specified, the system will prompt you to assign the numbers manually during order creation / order release.