글
ALV Toolbar Button 을 제일 앞에 만들기
SAP Program/ALV
2017. 4. 6. 09:27
DATA: ls_toolbar TYPE stb_button.
CLEAR ls_toolbar.
ls_toolbar-function = 'REFR'.
ls_toolbar-icon = icon_refresh.
ls_toolbar-quickinfo = 'Refresh' ##NO_TEXT.
ls_toolbar-text = 'Refresh' ##NO_TEXT.
* APPEND ls_toolbar TO p_object->mt_toolbar.
insert ls_toolbar inTO p_object->mt_toolbar index 1.
Index로 위치를 지정해주면 된다.
'SAP Program > ALV' 카테고리의 다른 글
ALV 에서 프린트 할때 첫 페이지 없애기 (0) | 2017.04.12 |
---|---|
Background 에서 ALV Grid 로 작업 (0) | 2017.04.12 |
ALV Cell Style, Cell Color 개별 지정 (0) | 2017.03.30 |
ALV Change or method call 이후에 넣어야 하는 code (0) | 2017.03.20 |
ALV Grid Row별 색깔 지정하기 - zebra 기능 색깔 지정하기 (0) | 2017.03.16 |