cancel
Showing results for 
Search instead for 
Did you mean: 

saving AVL view settings for all users

Former Member
0 Kudos

Hi,

I am working on web dynpro abap application which shows alv results of more reports (you will select report and it will show the alv table result).

I have to use some standard reports for this, so I copied it to Z report and modify it so this is possible. Problem I have is that is standard report the output have maybe 10 columns, but the table I got from the report has maybe 26. I want to limit shown columns on the ALV with settings of view for alv, but the assignment is only possible for the user.

Is there any way how to create one view settings and make it initial for all users?

I know there is a way of modifying the standard view via abap code, but I want to keep the possibility to show all fields if required.

Thanks for your help very much.

Martin

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

another problem, I was expecting the newly created variant / layout / settings for view would be tied to the displayed table (which sounds kind of wired as I wrote it down).

But since I am displaying different tables in the same UI element and binding the tables and their structures dynamically the created variant applies to all of the tables (or thats how it seems) so the table which have all fields different then the layout shows nothing.

Do you have any ideas how to get around it?

My idea would be to store the layout (but i have no idea how it looks at db level) and identification of the report to some customer table and fill attribute of alv table dynamically according to used report. But thats just my idea, I have no idea if it si possible to do it like this.

Is there some other way how to accomplish this functionality?

I have also tried to do it on fieldcatalog level of the alv table, but it seems to show first, let's say, 8 fields if there is 8 fields in the fieldcatalog.

Any help or ideas please??

Thanks

Martin

Edited by: Martin Gabris on May 6, 2011 4:11 PM

Former Member
0 Kudos

Hi,

GO to settings tab, hide some columns and save the layout. Now you can use this layout to be applied for all users as per your requirement.

Regards,

Lekha.

Former Member
0 Kudos

Hi,

thanks to all of you.

The solution that worked for me was mentioned in the link "kissnas" pointed out.

to Lekha, if you save the layout via setting on web dynpro it will ask you for Assignment, in mormal mode you only have (or at least I only had there ) User, so the saved variant would only be available for user who created it. But if you save it while running in Administrator Mode the Assignment is set to All, and you have the opportunity transport the saved layout in transport to other system.

Thank you very much for your help I appreciate it.

Best Regards

Martin

Former Member
0 Kudos

Hi Martin,

Please check this...

Cheers,

Kris.