Professional Documents
Culture Documents
Technical Articles
shailesh mishra
March 18, 2020 4 minute read
Sometime it is required to conduct batch determination and calculate SLED dynamically. The dynamic
SLED calculation conducted during batch determination in ERP or in EWM gives a leverage to customer to
pick batches with remaining shelf life in percentage or with Remaining shelf life in days.
Business don’t want to prede ne a certain date as a selection criterion in the strategy record but need a
functionality to make a dynamic SLED calculation on the basis of data taken from the sales order or the
delivery,and a value which is prede ned in the selection criteria (the remaining life as a percentage of the
total shelf life.
A batch managed milk product when shipped from Canada to Brazil, EWM system should pick only those
batches whose remaining shelf life(RSL)>=40%
The same product when shipped to a customer in India, EWM system should be able to pick those
batches which satisfy the RSL>=70%
https://blogs.sap.com/2020/03/18/batch-determination-with-object-dependencies.-picking-batches-with-rsl-in-ewm/ 1/11
8/11/2020 Batch determination with object dependencies. Picking batches with % RSL in EWM | SAP Blogs
Shelf life expiration date = Delivery date + (Remaining shelf life in % * total shelf life / 100)
Hence, EWM delivery document should be capable enough to pick batches ful lling the above equation.
https://blogs.sap.com/2020/03/18/batch-determination-with-object-dependencies.-picking-batches-with-rsl-in-ewm/ 2/11
8/11/2020 Batch determination with object dependencies. Picking batches with % RSL in EWM | SAP Blogs
LOBM_RLZ_PROZ is linked to an Object dependency to infer values from characteristics using below code.
Note: In S/4HANA object dependencies,use the dependency type ‘Procedure‘ instead of ‘Action’. The
dependency type ‘Action’ is not supported in S/4HANA.
https://blogs.sap.com/2020/03/18/batch-determination-with-object-dependencies.-picking-batches-with-rsl-in-ewm/ 3/11
8/11/2020 Batch determination with object dependencies. Picking batches with % RSL in EWM | SAP Blogs
For customer in India, EWM should pick only those whose RSL>=70% and should have dynamic SLED of
9th may
For Customer in Brazil, EWM should pick batches whose RSL>=40% having dynamic SLED of 4th may.
Delivery in ERP.
https://blogs.sap.com/2020/03/18/batch-determination-with-object-dependencies.-picking-batches-with-rsl-in-ewm/ 4/11
8/11/2020 Batch determination with object dependencies. Picking batches with % RSL in EWM | SAP Blogs
Check the warehouse request against the ERP delivery in EWM. EWM system has successfully carried the
dynamic SLED calculation using object dependency of variant con guration.
Shelf life expiration date = Delivery date + (Remaining shelf life in % * total shelf life / 100)
For RSL>=40%, Customer based in brazil, EWM picks only those batches whose SLED >=04.05.2020
For RSL>=70%, Customer based in India, EWM picked only 2 batches which satis ed the condition of
dynamic SLED equation.
https://blogs.sap.com/2020/03/18/batch-determination-with-object-dependencies.-picking-batches-with-rsl-in-ewm/ 5/11
8/11/2020 Batch determination with object dependencies. Picking batches with % RSL in EWM | SAP Blogs
Monitor stock:
One batch is not picked because it didnt satisfy the any SLED equation.
This dynamic SLED calculation is extremely powerful as it enhances EWM capability to validate SLED/BBD
in Outbound process.
SAP EWM even allows to pick expired batches from Storage bin, there is no check or con guration in
Standard which allows to forbid this action. Though, in Inbound process, SAP EWM has the capability to
check SLED/BBD, but outbound process has no such functionality.
https://blogs.sap.com/2020/03/18/batch-determination-with-object-dependencies.-picking-batches-with-rsl-in-ewm/ 6/11
8/11/2020 Batch determination with object dependencies. Picking batches with % RSL in EWM | SAP Blogs
Outbound process:
For outbound process, there is no validation process for BBD/SLED and EWM can even pick expired
batches. The con guration to validate SLED/BBD is missing for outbound document category PDO and
item type ODLV.
Note: If you take total SLED in months, then there will be rounding values as Functional module use be
below code . Months is constant as 30. So, for better calculation take SLED in Year.
https://blogs.sap.com/2020/03/18/batch-determination-with-object-dependencies.-picking-batches-with-rsl-in-ewm/ 7/11
8/11/2020 Batch determination with object dependencies. Picking batches with % RSL in EWM | SAP Blogs
Batch status management (LOBM_ZUSTD) can be used to change the expired batches from ” Unrestricted
to Restricted” and enforce con guration in EWM to disallow creation of warehouse task with restricted use
batch. However, this is again a manual operation to change batch status.
References:
SAP note: 33396 – Batch determination: Selection with remaining shelf life LOBM_RLZ
There are some more powerful functionality given in S/4 HANA 1909 on Batches in EWM. In my next, blog I
would write on Stock Consolidation by Batch consolidation.
https://help.sap.com/viewer/e296651f454c4284ade361292c633d69/1909.000/en-
US/001bcfe3917949f8810a54270f9ced00.html
Best regards
https://blogs.sap.com/2020/03/18/batch-determination-with-object-dependencies.-picking-batches-with-rsl-in-ewm/ 8/11
8/11/2020 Batch determination with object dependencies. Picking batches with % RSL in EWM | SAP Blogs
Shailesh Mishra
Follow RSS feed Like
Alert Moderator
Assigned tags
SAP Extended Warehouse Management | EWM - Basic Functions | EWM - Basis | EWM - Delivery
View more...
Related Questions
https://blogs.sap.com/2020/03/18/batch-determination-with-object-dependencies.-picking-batches-with-rsl-in-ewm/ 9/11
8/11/2020 Batch determination with object dependencies. Picking batches with % RSL in EWM | SAP Blogs
5 Comments
Dhaval Chauhan
Hi,
This RSL functionality is only with 1909 or in earlier version also?
Like(1)
Hi,
Like(1)
Mathivanan Vidhyasegaran
Like(0)
Mathivanan Vidhyasegaran
1. What you mean by “Create Condition record for 2 customers and assign the selection class” – Could you
pl. elaborate with T.code
2. Does the dependency procedure get CIFed to EWM along with batch information?
Thanks & Br
https://blogs.sap.com/2020/03/18/batch-determination-with-object-dependencies.-picking-batches-with-rsl-in-ewm/ 10/11
8/11/2020 Batch determination with object dependencies. Picking batches with % RSL in EWM | SAP Blogs
Mathi
Follow RSS feed Like
Like(0)
Dominik Tylczynski
Especially it’s building on standard SAP ERP functionality that regrettably is not wide known, seldom used
but often reinvented with custom ABAPs.
Kudos!
Dominik Tylczynski
Like(0)
Find us on
Newsletter Support
https://blogs.sap.com/2020/03/18/batch-determination-with-object-dependencies.-picking-batches-with-rsl-in-ewm/ 11/11