2006 Aug 18 1:52 PM
for every system screen resolution is different.
so if i use line-size and line-count in my program as a fix
value in one system.
and check my program in another system it will give different output.
for every system screen resolution is different.
so if i use line-size and line-count in my program as a fix
value in one system.
and check my program in another system it will give different output.
2006 Aug 18 1:55 PM
2006 Aug 18 1:57 PM
WELCOME TO SDN
i don't think you can handle screen resolution with ABAP programming ...
Regards,
Santosh
Message was edited by: Santosh Kumar P
2006 Aug 18 2:23 PM
HI ,
try using SY-SROWS ,as it gives no of lines .
using this you can handle the resolution .
2006 Aug 18 2:28 PM
Hi,
perhaps you whant to adjust the sise of your objects at you screen according to the resolution?
for exempl the sise of the docking conteiner.
Than you need to use something like that
WINDOW_HEIGTH = ( SY-SROWS - 9 ) * 12.
CREATE OBJECT G_DOCKING_CONTAINER
EXPORTING
REPID = REPID
DYNNR = '100'
SIDE = CL_GUI_DOCKING_CONTAINER=>DOCK_AT_BOTTOM
EXTENSION = WINDOW_HEIGTH.
the 9 is a number of rows from the top of screen to stay free for selectionscreen of dynpro. 12 is the number of pixels per row.
regards
Vladimir
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |