Introduction : inspiration for this blog derived from thread http://scn.sap.com/thread/3414474 . I assume all basic settings for batch management and batch determination for components are in place. Without waiting, enjoy the short ride with me.
- Create batch class T-CODE CL01
Adding Characteristics LOBM_VFDAT
2.MAINTAIN IN MATERIAL MASTER--CLASSIFICATION VIEW
3.SORT SEQUENCE T-CODE : CU70
4.CREATE STRATEGY CLASS To be used in Batch Determination process.
5. T-CODE : CU65
Make sure to mark LOBM_RLZ and LOBM_LFDAT as input parameters as shown above.
Follow Menu path->Goto ->Basic data here select status 1 as Released.
6.DEFINE DEPENDANCY T-CODE : CU01 Enter LOBM_UBD as shown below.
And paste below code
(LOBM_LFDAT = $SELF.LOBM_LFDAT,
LOBM_RLZ = $SELF.LOBM_RLZ,
LOBM_VFDAT = $SELF.LOBM_VFDAT)
IF LOBM_LFDAT SPECIFIED
7.DEFINING BATCH SEARCH STRATEGY T-CODE : COB1
7.a SELECTION CRITERIA :Choose required strategy, I have chosen CO02.Assign class ZCLASS_002 here. Make an entry for expiration date check. I mentioned > 50 days here .
7.b SORT RULE
7.c DETAILS SHOULD BE LIKE THIS
8.For demo created three batches as below
CREATE ORDER AND DO BATCH DETERMINATION IN COMPONENET OVERVIEW Correct one:
Its very short now.i will update it with more details next week.I will try to cover more issues related to Batch determination in this blog only based on comments.Waiting for all positive and negative feedback’s 🙂 .