2008 Jan 14 8:52 AM
Hi,
I had developed a report program containing several fields in the output and requires the Functionality for Select layout and Save layout in a report output.
Please suggest.
Thanks,
Shariq.
2008 Jan 14 9:05 AM
Hi,
Create a transaction for the report and assign a transaction variant to it.
The transaction for creating transaction variant is SHD0.
Regards,
Renjith Michael.
you can use following function modules to save and use layout:
REUSE_ALV_VARIANT_SAVE
REUSE_ALV_VARIANT_DEFAULT_GET
REUSE_ALV_VARIANT_F4
2008 Jan 14 9:05 AM
Hi,
Create a transaction for the report and assign a transaction variant to it.
The transaction for creating transaction variant is SHD0.
Regards,
Renjith Michael.
2008 Jan 14 9:17 AM
Hi,
I am not able to create any variants in the output list,
I mean..say i have 20 fields in the output list, I have a change layout button in the task bar, So the user needs to select required layout and save it.
2008 Jan 14 9:25 AM
you can use following function modules to save and use layout:
REUSE_ALV_VARIANT_SAVE
REUSE_ALV_VARIANT_DEFAULT_GET
REUSE_ALV_VARIANT_F4
2008 Jan 14 2:56 PM
While calling the FM for List Display ( "REUSE_ALV_LIST_DISPLAY" or "REUSE_ALV_GRID_DISPLAY" ) set the Parameter I_SAVE for Setting the Layout and Selecting a different Layouts.
The possible values for I_SAVE are "A", "U", "X" or others. Depending on the requiement you can set different values for the Parameter I_SAVE.
' ' = 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.
Reward points if helpful.
2008 Jan 15 12:29 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |