Yes No POPUP_TO_CONFIRM
POPUP_TO_CONFIRM kullanımı
form f_clear_log.
data: lv_icon_name type icon_name.
data: lv_answer .
lv_icon_name = `icon_message_question`.
call function `POPUP_TO_CONFIRM`
exporting
text_question = `Log Tablosundaki kayıtlar silinsin mi?`
text_button_1 = `Evet!`
text_button_2 = `Hayır`
default_button = `2`
display_cancel_button = ` `
popup_type = lv_icon_name
importing
answer = lv_answer
* TABLES
* PARAMETER =
exceptions
text_not_found = 1
others = 2.
case lv_answer.
when 1.
delete from zpp_*****.
commit work and wait.
message `Zpp***** tablosundaki kayıtlar silindi` type `S`.
endcase.
endform. "F_CLEAR_LOG