06-04-2008 2:22 PM
HI
Requirments is to remove the crystal report functionality options within the view icon of a ALV download function options
Thanks,
Vind
06-04-2008 2:59 PM
hi
do this :
declare an internal table as below -
Data: t_exclude type SLIS_T_EXTAB with header line.
t_exclude-fcode = '&VCRYSTAL'.
append t_exclude.
clear t_exclude.
Now the function code of the crystal report functionality will be appended to this internal table. pass this parameter to the 'IT_EXCLUDING' parameter of the FM 'REUSE_ALV_GRID_DISPLAY.
below is a sample code.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = w_repid
is_layout = fs_layout
it_fieldcat = i_fieldcat
it_excluding = t_exclude[]
i_save = 'A'
it_events = t_events
TABLES
t_outtab = t_iab
EXCEPTIONS
program_error = 1
OTHERS = 2.
Cheers,
Snehi.
06-07-2008 6:56 PM
Hi Snehi ,
Can you please let me know how to use this code for object alv grid method .
Thanks,
Vind.