‎2010 Oct 28 11:15 AM
Hi All,
I have created an ALV report which will display in GRID mode, when i tried to save the layout as varient through settings>layout>save, the save option is diabled
can anybody tell me the reason whay and what i have to do.
Thanks,
Krish.
‎2010 Oct 28 11:20 AM
Check following in your code.
When you are calling function module REUSE ALV GRID DISPLAY
are you passing SAVE = 'X' in export parameters...
I am not sure of the parameter name...
Hope this may help
‎2010 Oct 28 11:20 AM
Check following in your code.
When you are calling function module REUSE ALV GRID DISPLAY
are you passing SAVE = 'X' in export parameters...
I am not sure of the parameter name...
Hope this may help
‎2010 Oct 28 11:26 AM
in your functions there is a method: set_layout_save. use this with X.
in your layout there is another method: set_save_restriction use this with 3.
oh sorry forget about it this was for CL_SALV_TABLE.
Edited by: Florian Kemmer on Oct 28, 2010 12:27 PM
‎2010 Oct 28 11:24 AM
Hi,
You need to assign any one of the following values to I_SAVE export Parameter of the FM "REUSE_ALV_GRID_DISPLAY"
Value range
' ' = 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.
'X' = Standard save mode
Display variants can be saved as standard display variants.
Saving display variants as user-specific is not possible.
'U' = User-specific save mode
Display variants can only be saved as user-specific.
'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.
Thanks,
Sriram Ponna