Hi,
How do I make an ALV without those buttons, the objective is to make it look like an table control (but I cant use a table control because I already have one in that screen.
I thought it would be done using the parameter it_toolbar_excluding.
so I did this:
ls_exclude = cl_gui_alv_grid=>mc_fc_loc_append_row . APPEND ls_exclude TO pt_exclude. ls_exclude = cl_gui_alv_grid=>mc_fc_loc_insert_row . APPEND ls_exclude TO pt_exclude. ls_exclude = cl_gui_alv_grid=>mc_fc_loc_delete_row . APPEND ls_exclude TO pt_exclude. ls_exclude = cl_gui_alv_grid=>mc_fc_loc_copy . APPEND ls_exclude TO pt_exclude. ls_exclude = cl_gui_alv_grid=>mc_fc_loc_copy_row . APPEND ls_exclude TO pt_exclude.
CALL METHOD grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'S_USER'
it_toolbar_excluding = pt_exclude
CHANGING
it_outtab = users
it_fieldcatalog = t_field_catalog.
but it seems not to afect my ALV...