Application Development 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: 

layout Save Option in ALV Block Display

Former Member
0 Kudos

Hi Gurus,

I need to save Layouts in the report output. And the report is using REUSE_ALV_BLOCK_LIST_DISPLAY.

Here there is no option for saving the Layout. I have tried it in REUSE_ALV_BLOCK_LIST_APPEND where i have used this code gwa_layout-def_status = 'A'. and passed it to the Function module . Still then it doesn't work.

Please help.

Thanks in advance.

5 REPLIES 5

GauthamV
Active Contributor
0 Kudos

Hello,

Layout save option is not possible for ALV Block Display.

check this for your reference.

[save option in block alv|https://forums.sdn.sap.com/click.jspa?searchID=21181269&messageID=6650332]

SuhaSaha
Advisor
Advisor
0 Kudos

Hello Abhishesk,

You have to pass the layout param IS_LAYOUT to REUSE_ALV_BLOCK_LIST_APPEND.

It wil work then.

BR,

Suhas

Former Member
0 Kudos

Thanks for your reply. But i have passed gwa_layout-def_status = 'A'. in the Function Module.

Still it is not working.

GauthamV
Active Contributor
0 Kudos

You can only have the change layout option with that.

But you cannot save it.

0 Kudos

Hello Abhishesk,

Sorry i misunderstood the question :-(( For Block ALV you donot have the param for variant save I_SAVE, i think you cannot save the layout. In normal ALV you pass the save option to I_SAVE param which you do not have in Block List.

BR,

Suhas