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: 

enable the check box in change layout in a report

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

Former Member
0 Kudos

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.