Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove the application bar?

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member184569
Active Contributor
0 Kudos

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.

6 REPLIES 6

krishna_k19
Contributor
0 Kudos

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

former_member184569
Active Contributor
0 Kudos

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.

0 Kudos

Hi,

Thank you for the prompt response.

jayaprakashhj
Participant
0 Kudos

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

Former Member
0 Kudos

This message was moderated.

0 Kudos

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.