‎2006 Mar 16 10:15 AM
Hi all,
Is there any maximum limit for the no. of input parameters on selection screen?
‎2006 Mar 16 10:18 AM
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
‎2006 Mar 17 1:45 AM
‎2006 Mar 17 5:50 AM
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
‎2006 Mar 17 1:47 PM
Maybe that's a RZ10 parameters, ask your administrator.
Rgd
Frédéric
‎2006 Mar 17 5:58 AM
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.
‎2006 Mar 17 1:45 PM
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.