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

Default Layout in ALV

Former Member
0 Likes
727

I want that the Default layout will appear whatever the sequence of fields in the cod has been written coz many times user make their own layout and make it default, but i want when the report is execute the default layout will be the asm sequence as in the code after that the user can select his layout

can it be possible.

2 REPLIES 2
Read only

Former Member
0 Likes
435

check this :

FU REUSE_ALV_GRID_DISPLAY        I_SAVE
____________________________________________________
Text
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
' ' = 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.

Default
SPACE

Function Module
REUSE_ALV_GRID_DISPLAY

Regards

Prabhu

Read only

anversha_s
Active Contributor
0 Likes
435

hi,

in the FM - >REUSE_ALV_GRID_DISPLAY

variable IS_VARIENT = ' '.

ur problm will be solved.

if helped don 4gt to reward points

rgrds,

anver