2009 Mar 05 4:18 AM
Hi,
I am creating two table control on a screen. I fixed the height based on my resolution. But when i completed my development i found that when it was tested on other system the table control overlapped as the screen resolution was different.
I can change the height again to that screen but it will leave a lot of empty screen in higher resolution.
Is there any way to decide the lines in table control based on screen resolution as it happens in standard sap t code.
How to do it and what code is required.
Thanks in advance.
Hi,
I am creating two table control on a screen. I fixed the height based on my resolution. But when i completed my development i found that when it was tested on other system the table control overlapped as the screen resolution was different.
I can change the height again to that screen but it will leave a lot of empty screen in higher resolution.
Is there any way to decide the lines in table control based on screen resolution as it happens in standard sap t code.
How to do it and what code is required.
Thanks in advance.
2009 Mar 05 4:22 AM
Hi Dude,
For Screen resolution use CTU_PARAMS(structure) along with call transction statement.
here you can maintain default (Field DEFSIZE Default screen size)
Thanks & Regards
Ramakrishna Pathi
2009 Mar 05 4:25 AM
Hi Dude,
Try with below code
use the CTU_PARAMS with the CALL TRANSACTION Statement.
In some cases the COMMIT work does not work implicitly so you need to use ctu_params.
ctu_params-mode = 'N'.
ctu_params-update = 'S'.
ctu_params-defsize = 'X'.
ctu_params-RACOMMIT = 'X'
call transaction 'MM02' usingbdcdata options from ctu_params.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |