Skip to Content
Former Member
Nov 11, 2007 at 07:05 PM

Adding New schedule line and update the order quantity


Hi friends,

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

CLEAR xvbep.

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'.

APPEND xvbep.

CLEAR xvbep.


Please help me in this regard and its very urgent.

Points will be awarded for sure