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 restrict the width in selection screen,

Former Member
0 Kudos

HI all,

Can anyone help me in solving this issue. i am not able to remove the horizontal scroll bar in my selection screen. i gave line-size as 200 if i reduce it the entire program is getting colapsed. is there anyother way of restricting the width of the selection screen.

Advance Thankz,

Regards

Guhapriyan

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Guhapriyan,

If your (horizontal) scrollbar is displaying, then two things need to be considered:

1. The width of the screen (and in some manner the screen resolution).

2. The total length of number of controls (e.g. inputfields), texts and spaces between them.

In case of too many controls you'll need to understand, that dispite SAP shows texts on your screen in a proportional format, actually internally it uses a fixed format. Therefore a text of 132 characters long showing on a 80 'column' width screen will show almost all the text AND a horizontal scrollbar.

To solve it you need to keep track of lengths and positions.

Important: The standard width of a selection screen is 80 characters. You must modify your 1000 screen via transaction SE80 (and prevent regeneration).

Regards,

Rob.

3 REPLIES 3

Former Member
0 Kudos

Hello Guhapriyan,

Scroll bars have got something to do with your screen resultion. 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.

Regards,

Anand Mandalika.

Former Member
0 Kudos

Hi Guhapriyan,

If your (horizontal) scrollbar is displaying, then two things need to be considered:

1. The width of the screen (and in some manner the screen resolution).

2. The total length of number of controls (e.g. inputfields), texts and spaces between them.

In case of too many controls you'll need to understand, that dispite SAP shows texts on your screen in a proportional format, actually internally it uses a fixed format. Therefore a text of 132 characters long showing on a 80 'column' width screen will show almost all the text AND a horizontal scrollbar.

To solve it you need to keep track of lengths and positions.

Important: The standard width of a selection screen is 80 characters. You must modify your 1000 screen via transaction SE80 (and prevent regeneration).

Regards,

Rob.

0 Kudos

Hi Rob, a few comments in regard to:

"Important: The standard width of a selection screen is 80 characters. You must modify your 1000 screen via transaction SE80 (and prevent regeneration)."

I believe this is almost impossible to achieve.

When you save and activate the program, the selection screen is regenerated.

When you transport to another system, the program is activated and the selection screen is regenerated.

When something in the dictionary changes that your program uses, for example, a structure or table definition changes, then your program is re-activated and a new selection screen is generated.

Would you agree or do you have some other technique in mind to prevent regeneration?

Thanks.