Technical Articles
Set Up Batch Derivation in SAP S/4 HANA Cloud
Purpose
Batch derivation is always active in SAP S/4HANA Cloud. During this blog, we will learn the process of setting up the batch derivation.
Overview
Set up a sample of batch derivation in Production Process.
Prerequisite
- 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
Steps
- 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
Test in Production order or process order in CO01 or COR1.
The batches should be assigned manually or determined by batch determination for the components.
The detail derivation result can also be checked here too.
In closing
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.
Very good.
One Question:
Hasn't the Batches Derivation been worked with the Condition type in SAP HANA?
Hi Gerorge,
You may go to SSCUI: 103734(Define Strategy Types to Determine Sending Batches) and SSCUI: 103733(Define Strategy Types to Determine Receiving Batches) to create or change strategy type.
Best regards,
Sam
Hi Sam,
Thanks for sharing.
It seems that your demo has been done in S/4HANA Private Cloud isn't it? Do you know if same functionality is also available in Public Cloud solution?
BR
Gregory
Hi Gregory,
The demo was done in a SAP S/4HANA Cloud, public edition system. So all functionalities mentioned in this blog are available in Public Cloud solution.
Best regards,
Sam
Ok thanks for the quick answer