‎2006 Sep 13 7:39 AM
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
‎2006 Sep 13 7:55 AM
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