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: 

alv grid

Former Member
0 Kudos

HI

Requirments is to remove the crystal report functionality options within the view icon of a ALV download function options

Thanks,

Vind

2 REPLIES 2

Former Member
0 Kudos

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.

0 Kudos

Hi Snehi ,

Can you please let me know how to use this code for object alv grid method .

Thanks,

Vind.