Helo Friendz,
I am working on BADI BADI_SD_UPDATE_PLVAL for VA01.
Will this BADI trigger when the user clicks on save button.
My requirement is to check some condition and display popup box when the user clicks on save button on VA01.
the badi is active but it is not getting triggered.
case sy-ucomm.
when 'SAVE'.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = 'Test Enhancement before SAVE'
* DIAGNOSE_OBJECT = ' '
text_question = 'Do you want to continue ? '
TEXT_BUTTON_1 = 'Save'(003)
* ICON_BUTTON_1 = ' '
TEXT_BUTTON_2 = 'Back'(004)
* ICON_BUTTON_2 = ' '
* DEFAULT_BUTTON = '1'
DISPLAY_CANCEL_BUTTON = 'X'
* USERDEFINED_F1_HELP = ' '
START_COLUMN = 25
START_ROW = 6
POPUP_TYPE = 'W'
* IV_QUICKINFO_BUTTON_1 = ' '
* IV_QUICKINFO_BUTTON_2 = ' '
* IMPORTING
* ANSWER =
* TABLES
* PARAMETER =
* EXCEPTIONS
* TEXT_NOT_FOUND = 1
* OTHERS = 2
.
endcase.
Regards,
Ranjith N