Status Management of a Production Order
Production orders have a status management that controls on the one hand, which status is set by the execution of a business process in the order, and on the other hand, which business processes are allowed or forbidden in which order status. System statuses are predefined by SAP and cannot be changed. However, SAP’s system status concept can be supplemented by user statuses to record additional information in the order or fine-tune whether a business process can be executed.
System Status

The figure shows a basic example of the relationship between business processes and system status: When a production order is created, the status CRTD Created is set. In Created status, among other things, the order can be scheduled, a material availability check can be performed, and the order can be released (→ column Allowed Business Processes). However, it is not possible, for example, to print the order and to post goods issues, confirmations and goods receipts (→ column Not Allowed Business Processes). If the order is released, the CRTD Created status is deleted and the REL Released status is set. Now, the previously forbidden business processes are possible. However, due to the REL Released status, the order cannot be released again.
System and User Status

In the SAP S/4HANA Public Edition standard, you can post a goods receipt for a production order when the order was released. If you want to ensure that, for example, an order was completely manufactured before the warehouse clerk can post the goods receipt, you can implement this restriction without the necessity of additional programming by assigning a user status profile to a production order type. In our example, the assigned user status profile consists of two statuses GR and NoGR: The status NoGR forbids posting of the goods receipt; the status GR does not forbid posting of the goods receipt. The latter is automatically set once the order was confirmed.
We first consider a released order (the first part of the figure): The system status REL Released enables the confirmation of the order and the goods receipt. However, no sequence is specified in which these two business processes must be processed. In our scenario, however, the user status NoGR Goods Receipt Forbidden is set in addition. Because NoGR forbids posting of the goods receipt, the user cannot post the goods receipt to this order unless the user status changed to GR.
Now, we confirm the order. The system is configured such that the confirmation posting automatically deletes the user status NoGR Goods Receipt Forbidden and sets the user status GR Goods Receipt Allowed instead. Since the latter does not prevent posting of the goods receipt, the warehouse clerk can now post the goods receipt for the production order.
As you can see in this simple example, you can leverage user statuses to forbid the execution of business processes that are enabled in SAP standard. In addition, you can also automatically set a user status if a certain business process is performed in the system. As a consequence, you can, for example, enforce a sequence in which the user must execute two business processes. You can also define a list of conditions (each condition corresponds to one user status) which must be fulfilled before, for example, an order can be released.
Note
To use user statuses with production orders, you must define a status profile and assign the status profile to the respective order type.
A status profile is defined in the configuration activity, Define Business Transaction Control. This is explained in the following sections.
The assignment of a status profile to an order type is defined in the configuration activity, Define Production Order Types. This was explained in lesson Configuring Production Order Types.
In the example above, we limited our discussion to user status profiles on order header level. Since the operations of a production order also have a status management, you can also enrich the default operation status values with a customer-specific user status concept.