Hi,
I need to display few toolbar icons as well as few user icons.
How do i do? If i do this way then i exclude the complete toolbar..
gs_layout-grid_title = 'Display Alert Conditions'(100).
gs_layout-sel_mode = 'A'.
gs_layout-cwidth_opt = 'X'.
gs_layout-no_toolbar = 'X'.
CALL METHOD grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'ZFLP_STCUALCONDPRI'
is_layout = gs_layout
i_save = 'A'
it_toolbar_excluding = it_toolbar
CHANGING
it_outtab = gt_zflp_ttcualcond
it_fieldcatalog = gt_fieldcat.
-
If i do this way then i hide few but cannot have my own pushbuttons(or user icons..)
wa_toolbar = grid1->MC_FC_LOC_INSERT_ROW.
APPEND wa_toolbar TO it_toolbar.
wa_toolbar = grid1->MC_FC_LOC_DELETE_ROW. "Toolbar Button PASTE OVER ROW
APPEND wa_toolbar TO it_toolbar.
wa_toolbar = grid1->mc_fc_loc_paste_new_row. "Toolbar Button PASTE NEW ROW
APPEND wa_toolbar TO it_toolbar.
-
Regards