مسیج باکس در ABAP

از پاپیروس
پرش به ناوبریپرش به جستجو
    data: ans type c.
    call function 'FITP_POPUP_TO_CONFIRM'
      exporting
*       TITLEBAR      = ' '
*       DIAGNOSE_OBJECT             = ' '
        text_question = 'Are you sure?'
        text_button_1 = 'Yes'(001)
*       ICON_BUTTON_1 = ' '
        text_button_2 = 'No'(002)
      importing
        answer        = ans.
    if ans eq 'J'.
*      do something
    else.
*      do something
    endif.