‎2008 Aug 18 12:49 PM
Hi All,
This is regarding goods issue in a production order.We are trying to do this using BAPI_PRODORDCONF_CREATE_TT.
We have a finished good say FK_PROD_ORD_CONV(with BOM -FKTESTOUT2).we need to do a Goods Issue for this which implies that at reporting point 0001,we need to issue x quantities of BOM FKTESTOUT2 from a particular plant and storage location, and of a particular batch. Therefore, we need to pass the following:
Production order number
Plant
Material (BOM) = FKTESTOUT2
Movement indicator (which is u2018Fu2019 for goods movement) = u2018Fu2019.
Movement type = 261(for Goods Issue)
Storage location of BOM
Batch
Operation (Routing point) = 0001
Entry quantity
Entry Unit of measure = PC.
In addition, we need to maintain entries in Link_conf_goodsmov-INDEX_CONFIRM and link_conf_goodsmov-INDEX_GOODSMOV. The value for both would be u20181u2019.
In the Test program, although I am passing all these values, Goods Issue is not happening. I am not getting any error.The message just says that the production order has been confirmed but when i check for goods Issue,no corresponding data is there.
Please let me know if I have missed something.
‎2008 Aug 18 12:54 PM
Hello.
Are you calling FM BAPI_TRANSACTION_COMMIT afterwards? If yes, check the content of structure RETURN.
Regards.
Valter Oliveira.
‎2008 Aug 18 12:57 PM