When an SA is manually created in VA31, before the SA is saved, all schedule lines in VBEP that belong to the SA
move VBEP-VBELN to ztable-vbeln
move VBEP-POSNR to ztable-POSNR
assign a serial number starting from 1 to ztable-ETENR
move VBEP-EDATU when VBEP-BMENG > 0 (CSD date) to ztable-EDATU
please can u tell the logic how to perform