on 09-15-2008 10:19 AM
Hello ABAPers
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
ENDIF.
ENDIF.
Gaurav
Hi Gaurav
Check this Badi
LE_SHP_DELIVERY_PROC and the method SAVE_DOCUMENT_PREPARE
SAVE_AND_PUBLISH_DOCUME
LE_SHP_DELIVERY_P and the method
SAVE_AND_PUBLISH_BEFORE
Regards
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Guys.Problem Resolved. I used Prepare User Exit.Also i need to modify the internal table XLIKPS...
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try USEREXIT_MOVE_FIELD_TO_LIKP
Regards
MD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to use the EXIT routine userexit_save_document_prepare.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.