Skip to Content
0

Using CSAI_BOM_MAINTAIN to create BOM,it is giving error in case negative value IN Quantity.

Feb 27 at 05:53 AM

43

avatar image

Using CSAI_BOM_MAINTAIN to create BOM,it is giving error in case negative values in STPO-MENGE(Line Item Quantity).However if we pass negative value in standard transaction(CS01/CS02) if is showing error but creating BOM.

10 |10000 characters needed characters left characters exceeded

and now we shall guess what the error message is?

0

It is showing error as Component Quantity is Negative as informative message but the BOM is not created.However in CS01/CS02 we get the same error message but BOM gets created.

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jürgen L
Feb 28 at 06:49 PM
0

in CS01 you can probably click enter to accept the message and to continue, in a background program you can't do the same.

Did you already try to change the message settings to warning or hide, this setting is in IMG > Production > Basic Data > BOM > General data > change message...

Have you somewhere in your CSAI_BOM_MAINTAIN a KZKUP field? If the quantity is negative then it means you get it out of production which is usually a by-product and KZKUP should have an entry.

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

Thanks a lot for your input.Just to add on this,I have debugged the function module if we pass KZKUP it is an indicator for co-product not for by-product.Issue resolved(BOM created with negative quantity) when we passed correct component UOM,previously we were passing a wrong UOM different from what is maintained in Material Master.However investigation continues on why this FM is throwing incorrect error.

0