Hello Ameya,
Is this regular process of dismental the orders. CO07 is manual process however it's a good option to map such scenario. Create rework order assign header material in positive and component as negative quantity. You can use the reference operation set if required.
Best Regards,
R.Brahmankar