cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic Batch Determination in SAP Process order

Former Member
0 Kudos

1. I have create Characteristics with assign table MCH1 and field HSDAT. I want to batch determination with FIFO based batch production date. Then I have create a class and assign that characteristics.   2. Create a sort rule with ascending order. 3. Create selection criteria in MBC1. 4. Tick on OMCG with 261 movement type.   But when I am going to confirmation in COR6 then during batch determination the first batch that is showing in MMBE (Alphabetically) that is picking.   WHY???

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186193
Active Contributor
0 Kudos

Hi,

You have to create short rule in CU70.

As per your requirement of FIFO or LIFO rule you have to assign related Characteristic (LOBM_HSDT , LOBM_VFDT etc.) 

For FIFO purpose you have to assign characteristic with Ascending Rule and for LIFO assign in Descending.

If you want to select the batch in FIFO criteria that is first in first out i.e. the batches that are received first will be selected, then 

- You have to create a characteristic for last Goods receipt date with table name MCH1 & field LWEDT 

- Assign this to class  

- Create sort sequence with ascending order CU70 

- Then create batch search strategy in MBC1 transaction if you want batch determination in production order 

- Give the sort rule there 

- Give the no. of batch splits as much as you want or just keep 999, give the batch selection criteria if u want or just give the indicator for no selection criteria 

- Then try doing the batch determination & check if you are getting what you want .

Regards,

Alok Tiwari

Former Member
0 Kudos

My requirement is FIFO based. So I have maintained in sort rule as a ascending order. But batch determination in LIFO based. Why? 

rupesh_brahmankar3
Active Contributor
0 Kudos

Dear,

Use characteristic LOBM_HSDAT to sort the batches. assign same to you class and then assign class to material master. Or better create your own characteristic with field as LWEDT  Good Receipt Date for batch.

Define sort rule CU70 and assign characteristic LOBM_HSDAT or Ur characteristic LWEDT

Now you may be having old batches then classified these batches in MSC5N for characteristic value.

Also MBC1 batch search procedure create in back dated here assign your sort rule and class data.

After that just check the same through COR6.

Regards,

R.Brahmankar