Skip to Content
author's profile photo Former Member
Former Member

alv grid

HI

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

Thanks,

Vind

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 04, 2008 at 01: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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.