Adding New schedule line and update the order quantity
I'm trying to add new schedule lines when ever the user creates a new scheudle item. i'm doing thru the user exit MV45AFZZ from form userexit_save_document_prepare. I'm able to see the quantities but the delivery date and the period is not getting inserted.
My code is like
LOOP AT li_schd.
xvbep-vbeln = l_vbeln.
xvbep-posnr = li_schd-itm_number.
xvbep-etenr = li_schd-sched_line.
xvbep-edatu = li_schd-req_date.
xvbep-wmeng = li_schd-req_qty.
xvbep-updkz = 'I'.
Please help me in this regard and its very urgent.
Points will be awarded for sure