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

enable the check box in change layout in a report

Hi all,

I have a requirement ie after i run a repot we get a change layout icon in that icon there r tab's in it like coloums, sort order....,display.

In the dispaly tab i have a check box named printout with date,title and page number .so i would like to enable the check box .

can anybody tell me how can i do it using ALV's

Thanks,

Sri

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 01, 2006 at 07:21 AM

    check FM Reuse_alv_grid_display.

    i_SAVE = 'A/U/'.

    FU REUSE_ALV_LIST_DISPLAY        I_SAVE
    ____________________________________________________
    Text
    Variants can be saved
    
    Description
    Controls the storage mode
    
    Prerequisite:
    The IS_VARIANT parameter has the appropriate value.
    See also the documentation of the IMPORTING parameter IS_VARIANT.
    Value range
    ' ' = display variants cannot be saved
    Defined display variants (e.g. delivered display variants) can be selected for presentation independently of this flag.
    Changes can not be saved.
    'X' = standard save
    Display variants can be saved as standard display variants.
    User-specific saving is not possible.
    'U' = only user-specific saving
    The user can only save display variants user-specifically
    'A' = standard and user-specific saving
    The user can save a display variant user-specifically and
    as standard display variant. The user chooses in the display variant
    save popup.
    
    Default
    SPACE
    
    Function Module
    REUSE_ALV_LIST_DISPLAY

    Regards

    Prabhu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 01, 2006 at 07:27 AM

    Hai Sriratna

    You mean to have different layout for a single report( also user specific). If so, you can create variants globally or user specific in the layout. For that parameters I_SAVE and IS_VARIANT should be passed with 'X/A/U/ ' and DISVARIANT object respectively. In Disvariant pass the program name and the default layout to be appear in your report.

    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.