DATA:lv_answer.
 
  CALL FUNCTION 'POPUP_CONTINUE_YES_NO'
    EXPORTING
      textline1 = 'Are you sure to leave program ?'
      titel     = 'POPUP_CONTINUE_YES_NO'
    IMPORTING
      answer    = lv_answer.
  IF lv_answer = 'J'.
    LEAVE PROGRAM.
  ENDIF.
 
 
Serkan AKKAVAK
Bilgisayar Mühendisi
serkurumsal@yandex.com