
The business requirement here is to have a strategy in place that can allow the issuance of stock based on
“First-in-First-Out” basis while performing PGI for an outbound delivery against a stock transfer order. This requirement can be achieved using the automatic batch determination process using "last goods receipt date” as a characteristic.
STEP-1: Copy Standard characteristics.
Go to -> T-code BMSM is used to copy characteristics from 000 (Golden) client if the batch determination is getting implemented first time in the client.
STEP-2: Create a Batch Class
Go to CL01-> Create a batch class with below details and assign the characteristics LOBM-LWEDT.
STEP-3: Create Condition Table
Go to-> SPRO-> Logistics General-> Batch Management->Batch Determination and Batch Check-> Define SD condition tables. If your requirement is getting managed with an existing table, then use SAP delivered tables.
STEP-4: Create Access Sequence
Go to-> SPRO-> Logistics General-> Batch Management->Batch Determination and Batch Check-> Define SD access sequence.
Copy a standard access sequence into custom name space like below.
STEP 5- Create a Strategy Type
Go to-> SPRO-> Logistics General-> Batch Management->Batch Determination and Batch Check-> Define SD Strategy Types
Assign batch class – ZBATCH_STO created to the strategy.
STEP-6: Define Batch Search Procedure
Go to-> SPRO-> Logistics General-> Batch Management->Batch Determination and Batch Check-> Define SD Search Procedure
Assign Strategy Type
STEP-7: Allocate Batch search procedure.
Go to-> SPRO-> Logistics General-> Batch Management->Batch Determination and Batch Check-> Allocate SD search procedure/Activate Check
STEP-8: Activate Automatic Batch Determination In SD
Go to-> SPRO-> Logistics General-> Batch Management->Batch Determination and Batch Check-> Activate Automatic Batch Determination In SD
For inter-company stock transfers, item category “NLC” should be considered.
For intra-company stock transfers, item category “NLN” should be considered.
STEP-9: Define Sort Sequence
Go to-> SPRO-> Logistics General-> Batch Management->Batch Determination and Batch Check-> Define Sort Rules
Create a Sort Sequence as below and assign it to the strategy type created earlier.
STEP 10: Maintain Condition records.
Go to SAP Easy Access Menu->Logistics->Central Functions ->Batch Determination->Batch management->For SD-> Create.
Testing-
Go to outbound delivery -> item 10 -> Batch Split-> click on “Batch Determination.”
Characteristic string is empty now.
Click on “Strategy Info” and select the “sort rule” created earlier and click on “Copy”.
Now batches are sorted according to last GR date based on FIFO.
Note: 0VLK - Here assign Sales Order Type "DL" in field "Default ord.ty." for Delivery Type "NL" or “NLCC”.
Conclusion -
From the above steps, one having MM knowledge can implement "Automatic Batch Determination" process while for an outbound delivery against an intra/intercompany STO generated.
Reference - Batch Determination | SAP Help Portal
Hope this Blog will be helpful.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
21 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 | |
4 |