09-17-2008 12:09 PM
09-18-2008 9:37 AM
Hi,
Are u using classical alv or alv oops. In case u r using classical alv then there is an importing parameter in 'REUSE_ALV_GRID_DISPLAY' IT_EXCLUDING. U can pass the function code of select all button which is "&ALL" to this parameter. This will deactivate the button.
09-17-2008 12:10 PM
09-17-2008 12:12 PM
09-17-2008 12:12 PM
First of all you have to copy the standard PF-STATUS into your own Z-PF-STATUS and then you can do what all the changes you want
09-17-2008 12:16 PM
Hi Abhishek,
Go to SE41 and create a New PF-STATUS ZSPACE for your program. You can do it by clicking on COPy button in SE41. Once it is copied remove the Select ALL button from ZSPACE and then use that PF-STATUS in your program like SET PF-STATUS 'ZSPACE'.
Thanks & Regards,
Nagaraj Kalbavi
09-17-2008 12:25 PM
Pass the value
CL_GUI_ALV_GRID=>MC_FC_SELECT_ALL
to parameter
IT_TOOLBAR_EXCLUDING
of the method
SET_TABLE_FOR_FIRST_DISPLAY .
09-18-2008 9:37 AM
Hi,
Are u using classical alv or alv oops. In case u r using classical alv then there is an importing parameter in 'REUSE_ALV_GRID_DISPLAY' IT_EXCLUDING. U can pass the function code of select all button which is "&ALL" to this parameter. This will deactivate the button.
09-18-2008 10:32 AM
HELLO NIKHIL,
when i pass the fuction code in fm , shortdumb (type-conflict)occurs
09-18-2008 10:39 AM
data: it_exlcude type slis_t_exclude. "Define like this..
...
..
append '&ALL' to it_exclude. "append like this,,,
Now pass the it_exclude to the alv parameter.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
exporting
...
..
it_excluding = it_exlcuding
09-18-2008 11:08 AM
hello vijay
data: it_exlcude type slis_t_exclude.
in type slis_t_exclude is not defined in slis pool.......
09-18-2008 11:09 AM
09-19-2008 7:40 AM
Hi Abhishek,
Try out the below code
DATA: t_exclude TYPE slis_t_extab,
wa_exclude TYPE slis_extab.
wa_exclude-fcode = '&ALL' .
append wa_exclude to t_exclude.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = it_fieldcat
IT_EXCLUDING = t_exclude
it_events = it_events[]
i_callback_program = sy-repid
is_layout = gs_layout
i_save = g_save
is_variant = gx_variant
TABLES
t_outtab = t_final.