Application Development 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: 

SAPgui window size (+)

Former Member
0 Kudos

Hello,

Is it possible to change SAPgui window size through ABAP program?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

6 REPLIES 6

Former Member
0 Kudos

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.

0 Kudos

hi,

That is not possible ... since gui is client-server based one. So through ABAP Code it is not possible.

Regards,

Santosh

Former Member
0 Kudos

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.

0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

Unfortunately, no.

I would like to resize existing SAPgui window. And that's the problem.