12-19-2013 6:04 AM
Hi Experts,
Can we remove the marked bar? I am not sure if it is application bar? If yes, can you please guide.
Thanking in advance
Mani
12-19-2013 6:12 AM
Just set toolbar attribute in the ALV layout.
g_layout-no_toolbar = 'X'.
CALL METHOD g_grid->set_table_for_first_display
EXPORTING
i_buffer_active = 'X'
is_variant = g_variant
i_save = 'X'
i_default = 'X'
is_layout = g_layout
CHANGING
it_outtab = <it_disptab>
it_fieldcatalog = g_t_fieldcat.
12-19-2013 6:09 AM
Hi Mani,
If you are going through your own PF Status then we can exclude that bar.
set pf-status 'ABCD' exclude ...
try this one.
Regards,
Krishna
12-19-2013 6:12 AM
Just set toolbar attribute in the ALV layout.
g_layout-no_toolbar = 'X'.
CALL METHOD g_grid->set_table_for_first_display
EXPORTING
i_buffer_active = 'X'
is_variant = g_variant
i_save = 'X'
i_default = 'X'
is_layout = g_layout
CHANGING
it_outtab = <it_disptab>
it_fieldcatalog = g_t_fieldcat.
12-19-2013 6:47 AM
12-19-2013 6:20 AM
Hey,
that is not application toolbar of that dialog screen. Actually it is in custom control of that dialog screen.
Instead of using a table control in the dialog screen they have used a editable/non-editable report with all those buttons coming from Grid display function.
Now you can go to that report itself and set your own gui status with all buttons removed.
(Susmitha has said the same thing, do it as she has coded)
Revert back if you think otherwise,
Regards,
JP
12-19-2013 6:37 AM
12-19-2013 6:45 AM
Hi,
The report is based on OOPs methodology. By the way thanks for the link. I will keep the answer for the report without OOPs as well.