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
Try to use Modify... transporting... statement instead of append.
If it does not work, i think problem could be in Conversion, so before using append statement use FMs CONVERSION_EXIT_*_INPUT on those 2 fields and then write append/modify statement.
Reward points for helpful answers
Thanks for the reply..
I tried with modify ... transporting but didnt worked out and i dont think it was the problem with the conversion as i can see the date in the edatu field of vbep table.
but on the screen its not coming. should we have to update any other structure or internal table along with the xvbep inter table.