08-05-2020 7:48 AM
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
08-05-2020 10:02 AM
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
08-05-2020 5:51 PM
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.