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: 

how to reduce selection screen size

Former Member
0 Kudos
5,159

hiiii

i like to reduce the size of the selection screen just like a box but its taking the full width of the screen.

can i reduce the width of selection screen????

thanks

hemanth

1 ACCEPTED SOLUTION

Former Member
438

I think this i ur requirement execute this code with NO INTERVAL and without tht option and see the result

selection-screen : begin of screen 9000,

BEGIN OF BLOCK B1 WITH FRAME TITLE TIT NO INTERVALS.

PARAMETER: P1(10).

SELECTION-SCREEN : END OF BLOCK B1,

END OF SCREEN 9000.

CALL SELECTION-SCREEN 9000.

u will get a box.

6 REPLIES 6

anversha_s
Active Contributor
0 Kudos
438

hi,

Scroll bars have got something to do with your screen resolution. Try to increase your screen resolution and see if you still get them.

If you think that this is not a suitabnle option, then please provide the selection-screen definition and also your current screen resolution. We will then have to think in the lines of optimally distributiong your selection-screen elements.

rgds

Anver

Former Member
0 Kudos
438

Hi Hemanth

I guess you are referring to altering the size of screen display while using blocks.

One approach would be to create a screen, design via SE51.

Am not sure of any alternative method to alter the width of selection-screen.

If you are not using Blocks, you can use below statement for acheiving the same:

<b>SELECTION-SCREEN POSITION <col>.</b>

Kind Regards

Eswar

Former Member
0 Kudos
438

u mean to say that u want selection screen in smaller view..but normally, in SAP selection screen is define dbyitself and it is shown as full editor...The thing is u can define a box and within this box u can define selection-screen fields.

Former Member
439

I think this i ur requirement execute this code with NO INTERVAL and without tht option and see the result

selection-screen : begin of screen 9000,

BEGIN OF BLOCK B1 WITH FRAME TITLE TIT NO INTERVALS.

PARAMETER: P1(10).

SELECTION-SCREEN : END OF BLOCK B1,

END OF SCREEN 9000.

CALL SELECTION-SCREEN 9000.

u will get a box.

former_member1240896
Participant
0 Kudos
438

Hi Hemnath,

you can use the folllowing statement in your program for resizing the selection screen:

window starting at 10 4 ending at 16 9.

Now sure about it!!

Regards,

Chandan

Former Member
0 Kudos
438

the wil foll statement restricts the size of selection screen ..

call selection-screen 0010 starting at 20 20 end ing at 80 80 .

this wil surely solve ur problem