Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Not what you were looking for? View more on this topic or Ask a question