메뉴 건너뛰기

SAP 한국 커뮤니티


INCLUDE <ICON>.

 

DATA: USER_BUTTONS LIKE SMP_DYNTXT OCCURS 0 WITH HEADER LINE,
      PARAMETER    LIKE SPAR       OCCURS 0 WITH HEADER LINE,
      ANTWORT      LIKE RSNEWLENG-FCODE.


      CLEAR USER_BUTTONS.
      USER_BUTTONS-TEXT      = '버튼1'.
      USER_BUTTONS-ICON_TEXT = '버튼1'.
      USER_BUTTONS-ICON_ID   = ICON_CLOSE.
      APPEND USER_BUTTONS.

      USER_BUTTONS-TEXT      = '버튼2'.
      USER_BUTTONS-ICON_TEXT = '버튼2'.
      USER_BUTTONS-ICON_ID   = ICON_CLOSE.
      APPEND USER_BUTTONS.

      USER_BUTTONS-TEXT      = '버튼3'.
      USER_BUTTONS-ICON_TEXT = '버튼3'.
      USER_BUTTONS-ICON_ID   = ICON_CLOSE.
      APPEND USER_BUTTONS.

CALL FUNCTION 'POPUP_DISPLAY_TEXT_USER_BUTTON'
     EXPORTING
*         LANGUAGE              = SY-LANGU
          POPUP_TITLE           = '타이틀'
*         START_COLUMN          = 5
*         START_ROW             = 5
          TEXT_OBJECT           = 'SWB_HINT_COND_EDITOR'
          DISPLAY_OK_BUTTON     = ' '
          DISPLAY_CANCEL_BUTTON = ' '
     IMPORTING
          ANSWER                = ANTWORT
     TABLES
          USER_BUTTONS          = USER_BUTTONS
          PARAMETER             = PARAMETER
     EXCEPTIONS
          ERROR_IN_TEXT  = 1
          TEXT_NOT_FOUND = 2
          OTHERS         = 3.