VinceCoder
4/3/2020 - 8:33 AM

POPUP_TO_CONFIRM

Macro per pop_up_to confirm da mettere in include ad hoc per le macro

DEFINE popup_to_confirm.
  call function 'POPUP_TO_CONFIRM'
       exporting
           titlebar              = &1
*         DIAGNOSE_OBJECT       = ' '
            text_question         = &2
*            text_button_1         = 'Yes'
*         ICON_BUTTON_1         = ' '
*            text_button_2         = 'No'
*         ICON_BUTTON_2         = ' '
*         DEFAULT_BUTTON        = '1'
            display_cancel_button = &3
*         USERDEFINED_F1_HELP   = ' '
*         START_COLUMN          = 25
*         START_ROW             = 6
*         POPUP_TYPE            =
      importing
           answer                = &4
*    TABLES
*         PARAMETER             =
      exceptions ##fm_subrc_ok
           text_not_found        = 1
           others                = 2.
  if sy-subrc <> 0.
  endif.
END-OF-DEFINITION.