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 get the function codes

Former Member
0 Kudos

Hi ,

For displaying ALV on a modal dialog screen, I am using "CL_GUI_ALV_GRID" and the method is SET_TABLE_FOR_FIRST_DISPLAY.

I want to exclude the complete tool bar that is appearing on the screen. For that I have an exporting parameter of the above mentioned method, i.e., "IT_TOOLBAR_EXCLUDING"

But I dont know the function codes of the tool bar elements, to fill the internal table with. Couls any one please help me how to find them out.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

In the ALV Layout mark NO_TOOLBAR = 'X'

data: e_layout TYPE LVC_S_LAYO.

MOVE 'X' TO e_layout-no_toolbar.

Pass e_layout to IS_LAYOUT of SET_TABLE_FOR_FIRST_DISPLAY

Edited by: Swastik Bharati on Apr 22, 2009 3:24 PM

4 REPLIES 4

former_member156446
Active Contributor
0 Kudos

all SAP function codes are stored in T185F

Former Member
0 Kudos

Hi,

pls refer to the link link:[https://wiki.sdn.sap.com/wiki/display/ABAP/HIDEToolbarbuttonsinALV]thanks

ravi

Former Member
0 Kudos

In the ALV Layout mark NO_TOOLBAR = 'X'

data: e_layout TYPE LVC_S_LAYO.

MOVE 'X' TO e_layout-no_toolbar.

Pass e_layout to IS_LAYOUT of SET_TABLE_FOR_FIRST_DISPLAY

Edited by: Swastik Bharati on Apr 22, 2009 3:24 PM

0 Kudos

Thank you Swastik,

This has solved my problem