10-18-2006 12:11 PM
Hi
How to resolve screen resolution problem in BDC Session Method. can't we use ctu_params?
Thanx & Regards
venkat
10-18-2006 12:14 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.
Reward with points for helpful answers.
Cheers
Alfred
10-18-2006 12:16 PM
Hi Venkat,
Yes, you can use ctu_params.
This is for Default screen size for CALL TRANSACTION. It signifies the screen size will be constant irrespective of the screen resolution(which can vary for different user). The importance of this lies in programs(module pool) that contain table controls. With default screen size we can control the no of rows in the table control which otherwise may vary depending on the screen resolution.
DEFSIZE is the Selection as to whether the screens of the called transaction are displayed in the standard screen size. Values "X" (standard size), " " (current size).
sample.
data : x_ctu_params type ctu_params.
To have default screen size, mode and update
x_ctu_params-defsize = 'X'.
x_ctu_params-dismode = 'X'.
x_ctu_params-updmode = 'X'.
call transaction tscode using bdcdata
options from x_ctu_params
Regards,
Ferry Lianto
Please reward points if helpful.
10-18-2006 3:00 PM
Hi Ferry
Thanx For ur response.
But I want to confirm whether ctu_params can be used for session method also or not?
venkat