Enterprise Resource Planning Blog Posts by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
swadhinata
Product and Topic Expert
Product and Topic Expert
0 Kudos
1,059

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.

swadhinata_0-1719399370958.png

STEP-2: Create a Batch Class

Go to CL01-> Create a batch class with below details and assign the characteristics LOBM-LWEDT.

swadhinata_1-1719399370964.png

 

swadhinata_2-1719399370967.png

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.

 

swadhinata_3-1719399370971.png

swadhinata_4-1719399370975.png

STEP-4: Create Access Sequence

Go to-> SPRO-> Logistics General-> Batch Management->Batch Determination and Batch Check-> Define SD access sequence.

swadhinata_5-1719399370980.png

Copy a standard access sequence into custom name space like below.

swadhinata_6-1719399370983.png

swadhinata_7-1719399370985.png

swadhinata_8-1719399370989.png

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.

swadhinata_9-1719399370991.png

STEP-6: Define Batch Search Procedure

Go to-> SPRO-> Logistics General-> Batch Management->Batch Determination and Batch Check-> Define SD Search Procedure

swadhinata_10-1719399370994.png

Assign Strategy Type

swadhinata_11-1719399370996.png

 

STEP-7: Allocate Batch search procedure.

Go to-> SPRO-> Logistics General-> Batch Management->Batch Determination and Batch Check-> Allocate SD search procedure/Activate Check

 

swadhinata_12-1719399371000.png

swadhinata_13-1719399371002.png

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

swadhinata_14-1719399371003.png

For inter-company stock transfers, item category “NLC” should be considered.

For intra-company stock transfers, item category “NLN” should be considered.

swadhinata_15-1719399371004.png

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.

swadhinata_16-1719399371006.png

swadhinata_17-1719399371009.png

STEP 10: Maintain Condition records.

Go to SAP Easy Access Menu->Logistics->Central Functions ->Batch Determination->Batch management->For SD-> Create.

swadhinata_18-1719399371012.png

 

Testing-

Go to outbound delivery -> item 10 -> Batch Split-> click on “Batch Determination.”

swadhinata_19-1719399371021.png

Characteristic string is empty now.

swadhinata_20-1719399371024.png

Click on “Strategy Info” and select the “sort rule” created earlier and click on “Copy”.

swadhinata_21-1719399371028.png

 Now batches are sorted according to last GR date based on FIFO.

swadhinata_22-1719399371034.png

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