06-09-2006 5:13 AM
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
06-09-2006 5:15 AM
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
06-09-2006 5:15 AM
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
06-09-2006 5:22 AM
06-09-2006 5:22 AM
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
06-09-2006 5:24 AM
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
06-09-2006 5:38 AM
Hi Ravikumar,
Sorry for the inconvenience caused. You have solved my problem. Points awarded
Thanks