CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = 'Confirm'
text_question = 'Are you sure to delete Project from database?'
TEXT_BUTTON_1 = g_c_Yes
TEXT_BUTTON_2 = g_c_NO
IMPORTING
ANSWER = g_f_answer.
if g_f_answer eq '1'.
EXPORTING
TITLEBAR = 'Confirm'
text_question = 'Are you sure to delete Project from database?'
TEXT_BUTTON_1 = g_c_Yes
TEXT_BUTTON_2 = g_c_NO
IMPORTING
ANSWER = g_f_answer.
if g_f_answer eq '1'.
Do something
Elseif g_f_answer eq '2'.
Do some other logic
Endif.
No comments:
Post a Comment