Page 1 of 1

User exit in VL09

PostPosted: Tue Oct 21, 2003 1:53 am
by vijay12041972
Hi,

Is there a user exit available for certain checks during VL09 (PGI reversal)?

We want a check to be incorporated that "Reversal Date" and "Actual GI Date" should be the same.

Thanks in advance.

Regards,

Vijay

PostPosted: Tue Oct 21, 2003 5:38 pm
by Guest2345
Vijay,

VL09 uses many of the same User Exits as VL02/VL02N. Take a look at USEREXIT_SAVE_DOCUMENT_PREPARE in program MV50AFZ1. This should work for what you're wanting to do.

Marty

Re: User exit in VL09

PostPosted: Wed Jan 13, 2016 10:21 am
by jkaster
Hello Vijay,

check program RVV50L09 with formroutine FORM ARE_YOU_SURE for your enhancement.

Use as implicit enhancement:
DATA: l_meldung type string.
CLEAR REACTION.
CONCATENATE 'Storno:'
XLIKPUKWA-STDAT+6(2) '.' XLIKPUKWA-STDAT+4(2) '.' XLIKPUKWA-STDAT(4)
'- WA:'
XLIKPUKWA-WADAT_IST+6(2) '.' XLIKPUKWA-WADAT_IST+4(2) '.' XLIKPUKWA-WADAT_IST(4)
' OK ?'
into l_meldung.
CALL FUNCTION 'POPUP_TO_DECIDE_INFO'
EXPORTING
DEFAULTOPTION = 'N'
TEXTLINE1 = l_meldung
TITEL = TEXT-012
START_COLUMN = 25
START_ROW = 6
IMPORTING
ANSWER = REACTION
EXCEPTIONS
OTHERS = 1.
check 1 = 2. " to skip further steps of this form

Regards,

jkaster