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

deactivate standard toolbars

Former Member
0 Likes
684

Hi;

i want to deactivate some or all of the standard toolbar functions (like file download,

sum etc) of ALV grid. How can i do this?

Thx in advance.

Ali

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
658

Hi,

Go to SE24 give the class name as CL_GUI_ALV_GRID..

In the attributes tab there are constants available for the Function code..

It starts with MC_FC

For Export to local file it is MC_FC_PC_FILE..

Thanks,

Naren

6 REPLIES 6
Read only

Former Member
0 Likes
658

Hi,

Use the parameter IT_EXCLUDING to remove the function codes that you don't want to display..

If you are using ABAP OO ALV use the parameter IT_TOOLBAR_EXCLUDING..

Thanks,

Naren

Read only

0 Likes
658

Hi,

Thx for the answer. 1 more question: how can i find the function names that i want to exclude?

Regards

Ali

Read only

Former Member
0 Likes
658

Hi,

Are you using OO ALV or FM ALV..

Thanks,

Naren

Read only

0 Likes
658

i am using OO ALV.

Read only

Former Member
0 Likes
658

Hi Ali,

Go to Se41 and check:

STANDARD Toolbar in ALV

Prog -SAPLSALV

Status- STANDARD

and the add in IT_EXCLUDE which you want to remove.

Reward points if that helps.

Manish

Read only

Former Member
0 Likes
659

Hi,

Go to SE24 give the class name as CL_GUI_ALV_GRID..

In the attributes tab there are constants available for the Function code..

It starts with MC_FC

For Export to local file it is MC_FC_PC_FILE..

Thanks,

Naren