cancel
Showing results for 
Search instead for 
Did you mean: 

batch determination issue

Former Member
0 Kudos

Hi Gurus,

I got a selection class with Characteristics:

LOBM_LVORM Deletion ind. for batches

LOBM_ZUSTD Status of batch

LOBM_VFDAT Expiration date, shelf life

LOBM_MENGE Batch determination sort qty

and a sort sequence:

LOBM_MENGE Batch determination sort qty

LOBM_VFDAT Expiration date, shelf life

FZUST Indicator: Batch in unrestrict

and batch status now is:

Deletion ind. for batches Not set

Status of batch Released

Expiration date, shelf life 06/05/2008

But when I do batch determination in process order, this particular batch is still being picked up despite of its expired status. This batch is the only batch at the plant, no other batch or stocks other than this (for this particular material).

Can you enlighten me experts?

Regards,

Kumar

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Murugesan,

The setting which you specified is for the material shelf life expiration date check at goods receipts for each plant and movement type. It will not have any effect on bacth determination at the time of issue.

Kumar ,

Just by defining the sort sequence batch determination will not control the batch selection for which self life had been expired. To achieve this you need to right small routines and select the same in quantity proposal files in MBC1 for you strategy.

To write this routine you follow the following path of SPRO->Logistic General->batch management->batch determination and batch check->strategy type->define inventory management strategy types->select your strategy go to details in quantity proposal tab there is button u2018maint.u2018 press that and define new routine in this.

In this routine you need to write the check that only those batches can be selected for which self life date is not expired. You will need ABAP help to right this routine.

Regards,

Ajay P. Nikte

Former Member
0 Kudos

Hi,

Yes there's a batch strategy defined for the material.

Hi Ajay,

I'm using 1 for Qty Proposal. Thanks, ill ask ABAP's help to select batches that are not expired only. Thanks!

Kevin

former_member42744
Active Contributor
0 Kudos

NO.. no coding should be neccessary for this!

You can use the standard batch search strategy process.

Please look at OSS note 33396. This note explains how to only select batches for deliveries that will not expire while in transit. It is not directly usable for production batch selection.

However, you can follow the same logic as described in the note and create similar dependencies. The only thing you need to do is that instead of using LOBM_LFDAT you substitue a variable that is set to the current date. You can use a variable in the dependency for LOBM_RLZ as well instead of specifying this in the batch strategy record since this should alwasy be 0.

Craig

former_member698542
Active Contributor
0 Kudos

Hi Kumar,

You have to activate the SLED Check at batch detemination in customization.

The path for the above is IMG>Logistics general>>Batch Management>>Shelf Life Expiration Date>>Set Expiration Date Check

You can activate for both Plant and Movement types.

Thanks and regards

Murugesan

Former Member
0 Kudos

Hi Murugesan,

SLED checked is activated already and still it is selecting expired batch. Any other suggestions?

THanks!

former_member42744
Active Contributor
0 Kudos

Did you create a batch search strategy record with values in it?

Can you explain how the system is excluding expired batches? What values did you enter in batch search strategy record?

Craig

former_member698542
Active Contributor
0 Kudos

Hi Kumar,

Have you activated the Batch Status management

thanks and regards

Murugesan