04-12-2007 11:11 AM
Hi,
In my layout, while i m saving a particular variant, the option ' USER-SPECIFIC'
doesnot gets activated. Only the 'DEFAULT SETTING' could be made.
please help me in activating the 'user specific' option.
points will be rewarded to helpful
thanks
04-12-2007 11:15 AM
Hi..,
FU REUSE_ALV_GRID_DISPLAY -
I_SAVE
_______________________________________________
Variants can be saved
Description
Controls the save mode
Prerequisite:
Parameter IS_VARIANT is filled accordingly.
See also the documentation on IMPORTING parameter IS_VARIANT.
Value range
o ' ' = Display variants cannot be saved
Defined display variants (such as delivered display variants) can be
selected for presentation regardless of this indicator. However,
changes cannot be saved.
o 'X' = Standard save mode
Display variants can be saved as standard display variants.
Saving display variants as user-specific is not possible.
o 'U' = User-specific save mode
Display variants can only be saved as user-specific.
o 'A' = Standard and user-specific save mode
Display variants can be saved both as user-specific and as standard
variants. Users make their choice on the dialog box for saving the
display variant.
regards,
sai ramesh
04-12-2007 11:12 AM
In the FM used to display the ALV there is an exporting parameter I_SAVE.
make I_SAVE = 'U'.
04-12-2007 11:28 AM
04-12-2007 11:15 AM
while creating the ALV GRID object
change it to <b> I_USE_VARIANT_CLASS = 'X'</b>
CREATE OBJECT ref_grid_items
EXPORTING
I_SHELLSTYLE = 0
I_LIFETIME =
i_parent = ref_container_items
I_APPL_EVENTS = space
I_PARENTDBG =
I_APPLOGPARENT =
I_GRAPHICSPARENT =
<b> I_USE_VARIANT_CLASS = 'X'</b>
I_NAME =
I_NO_AUTO_DETAILS =
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
others = 5
.
regards,
santosh
04-12-2007 11:30 AM
04-12-2007 11:35 AM
04-12-2007 11:15 AM
Hi..,
FU REUSE_ALV_GRID_DISPLAY -
I_SAVE
_______________________________________________
Variants can be saved
Description
Controls the save mode
Prerequisite:
Parameter IS_VARIANT is filled accordingly.
See also the documentation on IMPORTING parameter IS_VARIANT.
Value range
o ' ' = Display variants cannot be saved
Defined display variants (such as delivered display variants) can be
selected for presentation regardless of this indicator. However,
changes cannot be saved.
o 'X' = Standard save mode
Display variants can be saved as standard display variants.
Saving display variants as user-specific is not possible.
o 'U' = User-specific save mode
Display variants can only be saved as user-specific.
o 'A' = Standard and user-specific save mode
Display variants can be saved both as user-specific and as standard
variants. Users make their choice on the dialog box for saving the
display variant.
regards,
sai ramesh
04-12-2007 11:38 AM
Sai,
I wrote I_SAVE in ALV_GRID_DISPLAY.
Its working. Thanks a lot.
I m awarding points to all helpful answers n closing this tag.
04-12-2007 11:16 AM