Skip to Content
0

Batch check: LB 051 incorrect

Mar 28 at 06:41 PM

51

avatar image
Former Member

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

6 Answers

Jürgen L Mar 28 at 09:58 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Mar 29 at 12:17 PM
0

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


sem-titulo-6.png (16.3 kB)
sem-titulo-7.png (16.7 kB)
sem-titulo-8.png (65.3 kB)
sem-titulo-9.png (65.3 kB)
sem-titulo-10.png (18.1 kB)
sem-titulo-11.png (100.5 kB)
Share
10 |10000 characters needed characters left characters exceeded
Jürgen L Mar 29 at 01:13 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Mar 29 at 02:10 PM
0

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.


sem-titulo-12.png (18.5 kB)
Share
10 |10000 characters needed characters left characters exceeded
Jürgen L Mar 29 at 02:38 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Apr 04 at 06:33 PM
0

Hi

It was something wrog with my sandbox enviroment.

When it was transported to QAS, it worked fine.

Regards

Show 2 Share
10 |10000 characters needed characters left characters exceeded

It would be good for future readers of this discussion if you could explain this "something wrong" in a bit detail. Maybe it helps others if they also have the LB052 error message

0
Former Member

Hi, actually I dont know what was wrong.

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

0