Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem in Goods Issue using BAPI_PRODORDCONF_CREATE_TT

Former Member
0 Likes
487

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.

2 REPLIES 2
Read only

valter_oliveira
Active Contributor
0 Likes
409

Hello.

Are you calling FM BAPI_TRANSACTION_COMMIT afterwards? If yes, check the content of structure RETURN.

Regards.

Valter Oliveira.

Read only

Former Member
0 Likes
409

Yes i am calling transaction commit after this..