Skip to Content
0
May 08, 2018 at 09:24 AM

Add components to a Production Order using CO_XT_COMPONENT_ADD Function module

1703 Views

I have a requirement where I need to create a production order and then delete the existing components which is fetched from BOM and later add a component manually.

I could able to create Production order and delete the existing component. But I was unable to add components of my choice manually from the program. I was using CO_XT_COMPONENT_ADD function module to add the component into the production order. But by doing so I am getting a RAISE_EXCEPTION dump as the internal table AFGV_BT is not filled. So I suppose we need to use some other FMs to populate that internal table.

So could anyone please help me out in achieving this requirement of adding a component in a Production order.