Skip to Content

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 28 at 06:49 PM

    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.

    Add comment
    10|10000 characters needed 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.