Skip to Content

Batch check: LB 051 incorrect

Hello,

I have activated a batch check for 311 movement type.

Despite the batch is suitable, it raises the message:

Invalid batch according to selection criteria in batch determination (LB 051)

The follow customizing was done:

Logistics - General > Batch Management > Batch Determination and Batch Check >...

...>Batch Search Procedure Definition > Define Inventory Management Search Procedure

...>Strategy Types > Define Inventory Management Strategy Types

The condition YB00 was created in MBC1:

The selection criteria:

What is missing?

Regards

sem-titulo.png (7.8 kB)
sem-titulo-2.png (11.8 kB)
sem-titulo-3.png (26.7 kB)
sem-titulo-4.png (18.9 kB)
sem-titulo-5.png (22.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Mar 28 at 09:58 PM

    This is just representing one side of the medal, what about the other side which might causes the trouble?

    the other side is the movement with the batch that you entered for the movement, and its classification in MSC3N

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 29 at 12:17 PM

    Hi,

    Two batchs were tested, one unrestricted and other restricted:

    In both cases, it raises the message:

    I have debbuged the code, the SAP checks table KONDH. If the fied Int.object no. is not initial, raises the message.

    Regards

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 29 at 01:13 PM

    What technical name and reference has your characteristic Status of batch?

    is it LOBM_ZUSTD ?

    You still have not posted a screenshot from the classification tab of your batches.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 29 at 02:10 PM

    Yes it is.

    I realized that in mbc1 if the selection criteria is LOBM_ZUSTD = Released, it doesn't work.

    But if LOBM_ZUSTD = Not Released, it works fine.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 29 at 02:38 PM

    What batch do you get automatically determined if you enter a * in the batch number field?

    if this is the restricted batch then it is clear that the unrestricted batch violates the search criteria when you maintain the batch manually in the movement.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 04 at 06:33 PM

    Hi

    It was something wrog with my sandbox enviroment.

    When it was transported to QAS, it worked fine.

    Regards

    Add comment
    10|10000 characters needed characters exceeded

    • Hi, actually I dont know what was wrong.

      I just transported the requets to QAS and carry out the tests. And it works!