I have a screen 100 in which there are few text fields, push buttons, and a ALV container. This ALV output is just to display an internal table. I use below codes:
module PBO_100 output.
SET PF-STATUS 'MAIN_100'.
if g_container is initial.
create object g_container
exporting container_name = 'GG_CONTAINER'.
create object grid
exporting i_parent = g_container.
endif.
call method grid->set_table_for_first_display
exporting i_structure_name = p_table
changing it_outtab = <ntab2>[].
endmodule.
It works but I don't need a tool bar (such as details, sort, find, ...) above the ALV table. How can I remove it?
Thank you very much.
Tom