Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Table control height adjustment on screen resolution.

Former Member
0 Likes
543

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.

2 REPLIES 2
Read only

Former Member
0 Likes
436

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

Read only

Former Member
0 Likes
436

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.