Goods issue in production order using BAPI_PRODORDCONF_CREATE_TT
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
Material (BOM) = FKTESTOUT2
Movement indicator (which is u2018Fu2019 for goods movement) = u2018Fu2019.
Movement type = 261(for Goods Issue)
Storage location of BOM
Operation (Routing point) = 0001
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.
After this i am calling fm to commit the work as well.
Please let me know if I have missed something.