Application Development and Automation 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: 
Read only

save varient disabled

Former Member
0 Likes
1,152

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
885

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

3 REPLIES 3
Read only

Former Member
0 Likes
886

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

Read only

0 Likes
885

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

Read only

Former Member
0 Likes
885

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