01-10-2006 4:03 AM
Hi,experts
As you know, in default case , the alv report will display two sort buttons(ascending ,descending) on its toolbar , So How to remove the sort buttons on toolbar in ALV report?
Thanks for your help .
01-10-2006 4:06 AM
Guixin,
In the SET_TABLE_FOR_FIRST_DISPLAY, fill the table IT_TOOLBAR_EXCLUDING, with values MC_FC_SORT, MC_FC_SORT_ASC, MC_FC_SORT_DSC.
Regards,
Ravi
01-10-2006 4:06 AM
Guixin,
In the SET_TABLE_FOR_FIRST_DISPLAY, fill the table IT_TOOLBAR_EXCLUDING, with values MC_FC_SORT, MC_FC_SORT_ASC, MC_FC_SORT_DSC.
Regards,
Ravi
01-10-2006 4:17 AM
01-10-2006 4:23 AM
Guixin,
I thought you were using OO Controls for the ALV report. That is the method which will show the data on the screen.
If you are using the function module REUSE_ALV_GRID_DISPLAY, there is a input parameter IT_EXCLUDING of type SLIS_T_EXTAB. Fill that table as given previously.
Regards,
Ravi
Message was edited by: Ravikumar Allampallam
01-10-2006 4:26 AM
Hi guixin,
1. Before calling REUSE_ALV_LIST_DISPLAY
2. Write this code :
*----
data : excl type SLIS_T_EXTAB.
data : exclwa type SLIS_EXTAB.
exclwa = '&OUP'.
append exclwa to excl.
exclwa = '&ODN'.
append exclwa to excl.
*----
3. Then while calling the FM,
pass this parameter also .
IT_EXCLUDING = excl
It will work fantastic.
regards,
amit m.