Skip to Content
Former Member
Mar 22, 2007 at 11:36 PM

how to add a new schedule line?


Hi folks,

Please help to tell me is there any user exit can be used for adding a new schedule line? I want to keep the old first date data, add new shedule line with new updated schedule line date. Pls. help to advise how to do it in VA01/VA02 ?

If i simply use the following update statement in MV45AFZZ, then the first date will be updated by the new Schedule line date, which is not what i want. (Since new order always the First line "0001" will get updated)

xvbep-edatu = t_temp-edatu .

modify xvbep TRANSPORTING edatu "UPDKZ

where posnr = t_temp-posnr

and ETENR = '0002'.

if SY-SUBRC <> 0.

modify xvbep TRANSPORTING edatu "UPDKZ

where posnr = t_temp-posnr.




Message was edited by:

Jenny Zhuang