on 02-27-2018 5:53 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
91 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.