Hi experts,
I need to add components to production order. Before doing that I delete an existing component using:
CALL FUNCTION 'CO_XT_COMPONENTS_DELETE'
CALL FUNCTION 'CO_IT_SET_FLG_ITAB_NEW'.
CALL FUNCTION 'CO_XT_ORDER_PREPARE_COMMIT'.
COMMIT WORK AND WAIT.
Then, if I have deleted position 0020, I need to add a new component in that 0020 position with function CO_XT_COMPONENT_ADD I get error X4017 (Component &1: Operation not found in order &2). Is there any posibility to add component in the same position I have previously deleted ?
Thanks in advance.
María