Application Development and Automation 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: 
Read only

Max. no. for multiple selection

Former Member
0 Likes
2,045

Hi all,

Is there any maximum limit for the no. of input parameters on selection screen?

6 REPLIES 6
Read only

FredericGirod
Active Contributor
0 Likes
1,353

Hi,

The only limit I know is the number of items in the select-options/ranges 3000 (depends of the system configuration).

Rgd

Frédéric

Read only

0 Likes
1,353

Thanks.

Where can we configure the ranges ?

Read only

0 Likes
1,353

You can define ranges in your program as follows:

RANGES: r_matnr FOR mara-matnr.

These behave very similar to the select-options, except that they cannot be used for user-input on selection screens. The following is what the structure of r_matnr would look like:

sign TYPE c LENGTH 1,

option TYPE c LENGTH 2,

low LIKE mara-matnr,

high LIKE mara-matnr.

You can assign values to these fields exactly how you would assign values to the select-options.

Hope this helps.

Sudha

Read only

0 Likes
1,353

Maybe that's a RZ10 parameters, ask your administrator.

Rgd

Frédéric

Read only

Former Member
0 Likes
1,353

Hello Macy,

You seem to have two questions.

1. Maximum number of elements on a selection screen: I don't think there's a specific limit.

2. Maximum number of entries in a select-options or ranges table: In the last three years, I haven't come across any documentation that mentions about this. However, in my experience, having too many entries might cause some problems. I can research more on this and get you more details, if you need them.

Regards,

Kinshuk Saxena.

Read only

0 Likes
1,353

Technically there may or may not be a restriction, but more appropriate question would be why you want to hit that limit? Let us say I add 100 elements to the selection screen. Do you think the user will be comfortable working with such a complex selection screen?

Coming to the number of entries, there are limitations on how big your SELECT statement can be which is more a limitation of the underlying database than SAP restriction. So if I add say 100000 single values on to a select option instead of a range, then there may be a dump. Again, it will be a design issue, whether it should be filled that way or is there a way to fill ranges instead of single values.

It is more a ergonimical design issue than the real limits, unless you are experimenting to test the limits.