Hello,
You can use the functionality of batch derivation
DVS1-Maintain sender component material type HALB would be the sender
DVR1 Maintain receiver , Header material Material type FERT would be receiver.
Please refer the useful documents
Batch Derivation - Batch Management (LO-BM) - SAP Library
Batch Derivation Overview with example
Best Regards,
R.Brahmankar