on 2024 Jun 05 12:37 PM
Hi all,
I have following select option statement
SELECT-OPTIONS: SO_LIFNR FOR BSIK-LIFNR.
the user allowed to enter values only between 1000 and 2000. How this can be done, please suggest.
Request clarification before answering.
I would add a hidden criteria in the where clause of the following select so
AND LIFNR IN SO_LIFNR
AND LIFNR BETWEEN '0000001000' AND '0000002000'
Else you could check the Select-Option input to check LOW and HIGH values, very basic for values and range list (I/EQ, I/BT) but how will you handle except and wildcards (e.g. '*11*') NB: You can prevent those case with FM SELECT_OPTIONS_RESTRICT.
AT SELECTION-SCREEN ON SO_LIFNR.
LOOP AT SO_LIFNR.
" do some check, raise error if you must
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Instead using the standard data element you can use an own data element with an own domain containing only these values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.