Skip to Content
avatar image
Former Member

Batch not selected during Batch Determination in Outbound delivery - Revist

Dear Gurus,

I am posting this query again as I wanted to clarify my scenario and need to know why it is not working.

I have followed all the steps [ https://archive.sap.com/discussions/thread/1161827 ] mentioned but still i am facing the error of auto determination of batch even after satisfying the selection criteria and also masters have been maintained.( screenshot attached )

Note: The log at the batch screen says 'E- Does Not Correspond to Selection Criteria'

Details: I have initially used only one criteria LOBM_VFDAT.

The automatic batch determination was working fine. Now, we came across a scenario where in user was able to sell expired batches and also take return of expired batches.

Additional Info: At the time of GRN, we put in SLED date.

Material master has been maintained with remaining shelf life.

Batches have been maintained with remaining shelf life after addition of new characteristics ( LOBM_RLZ and LOBM_FVDAT)

I have created new batches and tested, but was not able to determine batches.Then, I have removed the characteristics and kept as original with single characteristic LOBM_VFDAT ( I was able to determine batch)

I need your help and suggestion on how to restrict expired batches from being determine and also why auto batch determination isn't working even after selection criteria gets determined.

automatic-batch-determination-error.png

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Feb 27, 2017 at 08:48 AM
    -1

    Hi Akash,

    You said "The automatic batch determination was working fine. Now, we came across a scenario where in user was able to sell expired batches and also take return of expired batches."

    Please check whether the message VL 203 is maintained in your system. This message says "Batch & expires on &".

    Generally, in standard system, this message is configured as Warning, but it can also be removed.

    So, try to maintain it as error which will not allow the expired batches to be delivered.
    To achieve that, goto T code OVM1 and maintain message VL 203 as 'E'.

    With this, you don't even have to maintain other characteristics. It only checks the Expiration date/shelf life of the material.
    This error is thrown when the expiration date is in the past (or) when the delivery date is after the expiration date.

    Regards,
    Renuka

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 27, 2017 at 09:24 AM

    Thank You Renuka for prompt response.

    I have tried that by keeping only LOBM_VFDAT as selection criteria. I am able to determine sorted batch as per the expiry date, but it is picking expired batches without throwing any error. Also, the selection criteria shows blank.
    I am clueless on where or what setting is being missed( it might be something small, I have recheked with other consultants to have a 2nd eyes on it as well, read all the Q&A available on internet w.r.t this)
    I guess it is something to do with the Selection Class itself!

    batch-determination.png

    Regards,
    Akash

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 27, 2017 at 09:31 AM

    How is actually your selection criteria? LOBM_VFDAT alone does not really tell anything.

    What shelf life expiration date is in the batch?

    What exact selection criteria was entered?

    And why don't you actually change the status of expired batches to blocked or restricted use to prevent unwanted goods issues with outbound deliveries?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Jürgen L

      Though it is maintained, it doesn't show in the selection criteria screen( this is also an issue)

      Even the standard messages are not working in my case. It doesn't throw any error during PGI of expired goods.
      Also, I have checked the QA07 screen. it doesn't display any values for the entries i put in.

      Regards,

      Akash

  • Feb 28, 2017 at 07:41 AM

    I presume, you made configuration change as suggested but trying with the existing document in which case, it wont work. You need to create a new sale order and check how it works.

    Add comment
    10|10000 characters needed characters exceeded