Application Development 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: 

fm for add component co03

former_member691402
Participant
0 Kudos

I need an fm (if you also have a code example) to delete and create all the components of the orders of the co03 transaction.

i am trying this fm CO_XT_COMPONENT_ADD but i can't use it

2 REPLIES 2

0 Kudos

Hi Nick,

Please check below link, it might help you.

https://answers.sap.com/questions/9817351/bapi-to-change-production-order-components.html

--

Regards,

J

Abinathsiva
Active Contributor
0 Kudos

Hi,

first read the existing Production order through BAPI_PRODORD_GET_DETAIL.

and using CO_XT_COMPONENT_CHANGE FM can change the production order if component is new then us FM CO_XT_COMPONENT_ADD.