2008 Dec 01 9:17 AM
Hi, Abapers!
I'm programming an ALV OO in a SAP R/3 4.6C version. Got no problems with it. My problem comes with, probably, the control container. I've seen, reading the standard doco, that there are several kinds of container (i.e. a docking container).
The problem comes when users execute the ALV, because the users use several distinct screen resolution. So, several of them have the screen full of scroll bars and some of them got just half of the screen filled with the listing.
So, easy question to make (I hope to answer too): Could I use any kind of container to adapt it to the screen resolution automatically? Can I configure it anyway to adapt via any kind of parameters to different screen resolutions?
Thanks for your helping.
Best Regards.
2009 Feb 02 9:10 AM
Hello!
I hope this solution works for you.
On screen painter, select the custom container element and double-click it to see its properties.
There are two properties related to resizing the custom container: vertical and horizontal. If you set this two properties with the minimun number of lines and columns that your control should show, and define the custom container to the maximun resolution height and width, SAP will adapt the custom container to user's window resolution.
For example:
- Custom container width: 250
- Custom container heigth: 195
- Resizing attribute vertical: 20
- Resizing attribute horizontal: 90
Maybe there's any other way without having to define the container as huge as windows limits (for example dinamically resolution definition), but for the moment, i hope you can use this solution!
Regards,
Diana.
Hi, Abapers!
I'm programming an ALV OO in a SAP R/3 4.6C version. Got no problems with it. My problem comes with, probably, the control container. I've seen, reading the standard doco, that there are several kinds of container (i.e. a docking container).
The problem comes when users execute the ALV, because the users use several distinct screen resolution. So, several of them have the screen full of scroll bars and some of them got just half of the screen filled with the listing.
So, easy question to make (I hope to answer too): Could I use any kind of container to adapt it to the screen resolution automatically? Can I configure it anyway to adapt via any kind of parameters to different screen resolutions?
Thanks for your helping.
Best Regards.
2009 Feb 02 9:10 AM
Hello!
I hope this solution works for you.
On screen painter, select the custom container element and double-click it to see its properties.
There are two properties related to resizing the custom container: vertical and horizontal. If you set this two properties with the minimun number of lines and columns that your control should show, and define the custom container to the maximun resolution height and width, SAP will adapt the custom container to user's window resolution.
For example:
- Custom container width: 250
- Custom container heigth: 195
- Resizing attribute vertical: 20
- Resizing attribute horizontal: 90
Maybe there's any other way without having to define the container as huge as windows limits (for example dinamically resolution definition), but for the moment, i hope you can use this solution!
Regards,
Diana.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |