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: 

Problem in FM - REUSE_ALV_GRID_DISPLAY ?

Former Member
0 Kudos

Hi All,

I am using REUSE_ALV_GRID_DISPLAY to display a ALV grid. I need to DISABLE the following buttons on the Grid Toolbar;

1. Sort Ascending

2. Sort Descending

3. Filter

4. Total

Please give me a complete example.

Thanks,

Kishan

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Fill in the rows for thos buttons in the parameter IT_EXCLUDING and pass that to the function.

IT_EXCL_BUTT type SLIS_T_EXTAB.

wa_excl_buttons type SLIS_EXTAB

wa_excl_buttons-fcode = &OUP

append wa_excl_buttons to it_excl_butt.

wa_excl_buttons-fcode = &ODN

append wa_excl_buttons to it_excl_butt.

wa_excl_buttons-fcode = &ILT

append wa_excl_buttons to it_excl_butt.

wa_excl_buttons-fcode = &UMC

append wa_excl_buttons to it_excl_butt.

That's all.

Regards,

Ravi

Message was edited by: Ravikumar Allampallam

5 REPLIES 5

Former Member
0 Kudos

Hi,

Fill in the rows for thos buttons in the parameter IT_EXCLUDING and pass that to the function.

IT_EXCL_BUTT type SLIS_T_EXTAB.

wa_excl_buttons type SLIS_EXTAB

wa_excl_buttons-fcode = &OUP

append wa_excl_buttons to it_excl_butt.

wa_excl_buttons-fcode = &ODN

append wa_excl_buttons to it_excl_butt.

wa_excl_buttons-fcode = &ILT

append wa_excl_buttons to it_excl_butt.

wa_excl_buttons-fcode = &UMC

append wa_excl_buttons to it_excl_butt.

That's all.

Regards,

Ravi

Message was edited by: Ravikumar Allampallam

0 Kudos

refer thread...

0 Kudos

Hi Ravilumar,

I am finding difficult to fill the IT_EXCLUDING, because it does not have a structure. It poits to a program. How do you fill it to disable the above buttons.

Thanks,

Kishan

0 Kudos

Kishan,

It does not point to a program, but points to a TYPE-POOL which is nothing but a collection of DATA TYPES.

I have given a sample code for you in the previous post.

Regards,

Ravi

0 Kudos

Hi Ravikumar,

Sorry for the inconvenience caused. You have solved my problem. Points awarded

Thanks