cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function Module for adding components to Production Order

former_member430211
Discoverer
0 Likes
688

Is there a function module that can add components to an existing production order ?I believe CO_BC_INSERT_CMP_OF_ORDERS can do the trick but seems this alone would not suffice .Your feedback is very much appreciated

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Likes

Hi

Can you please give me sample code to add code to add components ..

Former Member
0 Likes

Sudhir,

U r right. we need to call the function module CO_BC_INSERT_CMP_OF_ORDERS with flg_banf_create = X and apt entries in the component details table resbb_ins. Doing this is enough. I guess u have a problem passing correct data in the internal table. For the data you do not know, you will have to pass default data.

Hope this helps.

former_member430211
Discoverer
0 Likes

Hi Pavan ,

This really helps . Do you have an idea if I have to pass RSNUM along with RSPOS .I believe SAP internally generates RSPOS .

Thanks,

Former Member
0 Likes

hi,

it will be great if you could send me the code for adding

component to production order. do you know also if there

is any function to delete component?

thanks sagit