2008 Mar 14 6:51 PM
Hello!
I have a doubt about ALV. If I change the fields that are displayed in the screen of the ALV and I do not save the variant when I perform a new search the old layout is displayed again. How can I solve this problem?
Can anyone help me??
Best regards,
Caíque Escaler
Hi,
You can have variant either user specific or global. Always allow user to create the user-specific variant. Refer program SALVDEMO. And you can create as many variant as you want so no need to worry about temporary variants.
Regards,
Atish
2008 Mar 14 7:39 PM
Hello Caíque
It is not sufficient to just save the layout you have to define it as DEFAULT layout.
Choose menu Layout -> Manage. In the list with the variant mark your default layout and save it.
Regards
Uwe
2008 Mar 14 7:54 PM
Hello Uwe,
Thanks for your help but i do not want to save the layout it's a temporary layout. Is it possible?
Best regards,
Caíque Escaler
2008 Mar 14 9:48 PM
Hi,
Can you explain a bit more as what's happening and what do you want?
Regards,
Atish
2008 Mar 14 11:40 PM
Hi Atish,
I have an ALV Grid and I perform a search.
I click on the button "Change Layout".
I add some fields and I just confirm. I don't save a new layout variant. When I perform a new search the fields that I added disappear and I want that this do not happens. Is it possible?
Sorry about my English
Best regards,
Caíque Escaler
2008 Mar 14 11:43 PM
Hi,
Unlesss you won't save your layout, it is not possible.
Everytime a grid called, it is called using the default layout defined in your program so to change the layout you need to first save it.
Regards,
Atish
2008 Mar 15 12:49 AM
Hello Atish,
Thanks again for your reply.
Could your help me a little bit more? Is there a way to save a temporary variant and after I remove this variant?
Best Regards.
I'll reward points to you for help until now.
Caíque Escaler
2008 Mar 15 5:16 AM
Hi,
You can have variant either user specific or global. Always allow user to create the user-specific variant. Refer program SALVDEMO. And you can create as many variant as you want so no need to worry about temporary variants.
Regards,
Atish
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |