Batch derivation is always active in SAP S/4HANA Cloud. During this blog, we will learn the process of setting up the batch derivation.
Set up a sample of batch derivation in Production Process.
Batch management materials need to be created, there should at least be finished and raw materials with MRP views and the work scheduling view. BOM and routing/master recipe need to be created for the finished material. For batch derivation, the BOM is necessary. Figure 1 - BOM of the finished material
Several batches are created and classified for the raw materials.
Goods receipt has been done to the batches to make sure they have stock to do batch determination.
Derivation Events have been defined correctly in SSCUI: 103728 to trigger the derivation.
Figure 2 - SSCUI: 103728
Set up the sender derivation strategy in App: Manage Derivation Strategies – Sender (DVS2). Strategy type and the combination should be defined in SSCUIs: 500445
Figure 3 - Configure derivation strategy for sender - select key combination
Figure 4 - Decide what are the sender materials
Figure 5 - Configure the Attributes you want to send
Define what you want to send, it can be a field from standard database table, normally it has a standard LOBM_* characteristic referred. OR it can be the characteristics within the batch class of the sender material. You also need to decide if it is a push derivation in sender derivation strategy.
Set up the receiver derivation strategy in App: Manage Derivation Strategies – Receiver (DVR2).Strategy type and the combination should be defined in SSCUIs: 500446.
Figure 6 - Configure derivation strategy for Receiver - select key combination
Figure 7 - Decide what are the receiver materials.
Figure 8 - Configure the Attributes you want to receive
Figure 9 - Attribute rules
The attributes here must be included in the sender material derivation strategy. Select one attribute that you want to receive and go to Rules tab to define the receiving rule of that attribute.
Levels in Batch WUL is very important here, if it is too high, then it may lead to performance problem.
The rule should be maintained for every attribute you have added.
Sender field empty : This indicator controls how the derivation reacts to sender attributes that do not have any contents.
Overwrite Recipient : This indicator controls how the derivation reacts to attributes that have already been filled in the receiving batch.
Test in Production order or process order in CO01 or COR1.
Figure 10 - Create Production Order
Figure 11 - Create Production Order - Header
Figure 12 - Create Production Order - Component
The batches should be assigned manually or determined by batch determination for the components.
Figure 13 - Create Production Order - Header (Goods Receipt)
The batch for the header material should be entered or created already.
Figure 14 - Release Production Order
Release the order to trigger the batch derivation. Because the derivation event of production order release has been defined in SSCUI: 103728 and I choose "Always Display" so the derivation will be carried out at order release and there will be a popup to show the result of batch derivation.
Figure 15 - Derivation Detail View
The detail information can be check by pressing the Details on the popup. Here you can see what has been sent and received, what is the error if it is failed.
If you choose to hide the batch derivation process, then you can always check the derivation details in App: Derivation Monitor (DVMO):
Figure 16 - Derivation Monitor
Figure 17 - Derivation Result
You can also try to derivation manually in App: Execute Manual Derivation (DVMAN)
Figure 18 - Manual Derivation
Figure 19 – Manual Derivation for Batches
You can also do some changes to the batch master here.
Derivation is carried out by pressing the button highlighted.
Figure 20 - Manual Derivation Result
The detail derivation result can also be checked here too.
I hope this blog has helped you understand the basic steps to set up Batch Derivation. Please feel free to share your feedback and thoughts in a comment. And I will update more blogs of batch management in SAP S/4HANA Cloud.