Application Development and Automation 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: 
Read only

How to get the function codes

Former Member
0 Likes
709

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
Read only

Former Member
0 Likes
677

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
Read only

former_member156446
Active Contributor
0 Likes
677

all SAP function codes are stored in T185F

Read only

Former Member
0 Likes
677

Hi,

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

ravi

Read only

Former Member
0 Likes
678

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

Read only

0 Likes
677

Thank you Swastik,

This has solved my problem