SAP ALV 툴바 버튼유형 정리

SAP OOP 기반으로 ALV 툴바를 사용할때 활용 가능한 버튼유형 입니다.

  1. ABAP 소스코드

    CALL METHOD go_toolbar->add_button

    EXPORTING fcode       = ‘EXIT’                             “Function Code for button

    icon                       = icon_system_end         “ICON name, You can use type pool ICON

    is_disabled          = ‘ ‘                                     “Disabled = X

    butn_type             = gc_button_normal         “Type of button, see below

    text                        = ‘Exit’                                “Text on button

    quickinfo              = ‘Exit program’                 “Quick info

    is_checked          = ‘ ‘.                                     “Button selected

  2. 버튼유형(butn_type)
  • 0 : cntb_btype_button Button (normal)
  • 1 : cntb_btype_dropdown Pushbutton with menu
  • 2 : cntb_btype_menu Menu
  • 3 : cntb_btype_sep Seperator
  • 4 : cntb_btype_group Pushbutton group
  • 5 : cntb_btype_check Checkbox
  • 6 : Menu entry

 

출처 : http://www.henrikfrank.dk/abaptips/abapobjects/toolbar_control.htm

 

 

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments