06-06-2006 12:33 PM
Hello,
Is it possible to change SAPgui window size through ABAP program?
06-06-2006 12:36 PM
Hi cyrill,
1. I don't think its possible.
2. The reason is that since r/3
is client-server based,
and the gui is client based,
3. so, all the settings of window size
will be manually
and not thru abap code.
regards,
amit m.
06-06-2006 12:36 PM
Hi cyrill,
1. I don't think its possible.
2. The reason is that since r/3
is client-server based,
and the gui is client based,
3. so, all the settings of window size
will be manually
and not thru abap code.
regards,
amit m.
06-06-2006 12:37 PM
hi,
That is not possible ... since gui is client-server based one. So through ABAP Code it is not possible.
Regards,
Santosh
06-06-2006 12:40 PM
But we can start applications on the frontend, can't we? If so, we may try to call some Windows APIs, to change window size. These API calls might have been implemented in some SAP functions.
06-06-2006 12:43 PM
I'm not sure of this but worth a try:
YOu can use the class=>methodCL_GUI_FRONTEND_SERVICES=>ENVIRONMENT_SET_VARIABLE for setting the environment variables.
Regards,
Ravi
06-06-2006 12:50 PM
Hi Cyrill,
somtime we use the AT LINE-SELECTION with on own Window:
WINDOW STARTING AT 50 10
ENDING AT 90 15.
OR in ALV with:
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = PROGNAME
IT_FIELDCAT = FIELDCAT
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IT_EVENTS = EVENT
IT_EVENT_EXIT = EVENT_EXIT
<b> I_SCREEN_START_COLUMN = 20
I_SCREEN_START_LINE = 05
I_SCREEN_END_COLUMN = 110</b> I_SCREEN_END_LINE = LINE_ALV
TABLES
T_OUTTAB = IEQUZ
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
Is this what you need?
Regards, Dieter
06-06-2006 12:52 PM
Unfortunately, no.
I would like to resize existing SAPgui window. And that's the problem.