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 BAPI_PRODORDCONF_CREATE_HDR

Former Member
0 Likes
936

Hi All,

I am currently using this BAPI for Production Odrer Confirmations. I am able to get the functionality of confirmation at header level. Means the main product getting confirmed having movement type 101. But suppose 5 sub level items having movement type 261, then only one of them gets confirmed and generate a material document. I want to confirm all the items, But not having pointer regarding this functionality.

Any pointers to it will be helpful...

Regards,

Brijesh Patel

1 REPLY 1
Read only

Former Member
0 Likes
452

check this.

FU BAPI_PRODORDCONF_CREATE_HDR   LINK_CONF_GOODSMOV
____________________________________________________
Text
Link Table for Confirmations/Goods Movement

Description
Each individual goods movement item is assigned to a confirmation via the parameter table LinkConfGoodsmov. Items that are not assigned to a confirmation cannot be included in the process when the confirmation is saved.

Assignment occurs via the IndexConfirm and IndexGoodsmov indices. For this process the IndexConfirm index has to refer to the entry in the parameter table AtHdrLevels and the IndexGoodsmov index has to refer to the entry in the parameter table Goodsmovements.

As a rule, therefore, the total number of entries in the LinkConfGoodsmov table corresponds to the total number of entries in the Goodsmovements table.

Exception: You want to prevent goods movements from being automatically determined for a confirmation, because, as an exception, none have arisen. This can be achieved by making an entry in the LinkConfGoodsmov table, without having to make an entry in the Goodsmovements table. In this case, the index in the IndexConfirm field has to refer to the confirmation in question, whereas the initial value 0 has to be entered in the IndexGoodsmov field.



Function Module
BAPI_PRODORDCONF_CREATE_HDR