User Exit to Update Field on Delivery Header
I am trying to update field TDUHR (Planned time ) of the delivery Header while creation of delivery(VL01n)(See Below code.
I have put this logic inside Use Exit FORM USEREXIT_SAVE_DOCUMENT. But it is not working.Please help me in identifyong the corrct User Exit to modify the field.
Waiting for quick replies.
*Change to add Create Time in Trans. Planning Time-ARORAGA-15/09/2008
IF T180-TRTYP = 'H'. "Creation Mode Only.
IF XLIKP-TDUHR EQ 0. "Trans. Planning Time is not Maintained
MOVE SY-TIMLO TO XLIKP-TDUHR. " Update Plan Time with UserTime