Skip to Content
author's profile photo Former Member
Former Member

How to remove tool bar from a ALV table?

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.


if g_container is initial.

create object g_container

exporting container_name = 'GG_CONTAINER'.

create object grid

exporting i_parent = g_container.


call method grid->set_table_for_first_display

exporting i_structure_name = p_table

changing it_outtab = <ntab2>[].


It works but I don't need a tool bar above the ALV table. How can I remove it?

Thank you very much.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Oct 24, 2006 at 02:12 PM


    set import parameter IS_LAYOUT-NO_TOOLBAR = 'X' value.

    CALL METHOD < ref. var. to CL_GUI_ALV_GRID> ->set_table_for_first_display


    I_BUFFER_ACTIVE = <any type ( ANY )>

    I_STRUCTURE_NAME = <string of type DD02L-TABNAME >

    IS_VARIANT = <structure of type DISVARIANT >

    I_SAVE = <var. of type CHAR01 >

    I_DEFAULT = <var. of type CHAR01 >

    IS_LAYOUT = <structure of type LVC_S_LAYO >

    IS_PRINT = <structure of type LVC_S_PRNT >

    IT_SPECIAL_GROUPS = <internal table of type LVC_T_SGRP >

    IT_TOOLBAR_EXCLUDING = <internal table of type UI_FUNCTIONS >

    IT_HYPERLINK = <internal table of type LVC_T_HYPE >

    IT_ALV_GRAPHICS = <internal table of type DTC_T_TC >



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.