‎2017 Oct 14 7:42 AM
Hi all,
please tell me how to set non-editable only for select option high value.
Is it possible?

Thanks in Advance.
‎2017 Oct 14 8:02 AM
you can try Like below
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'S_VBELN-HIGH'.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
‎2017 Oct 14 8:00 AM
I doubt it's possible, since a select option is far more than just a range from low to high. For example, if the low is *, then a high value makes no sense.
Since this is a date range, you don't want the full functionality of a select-option anyway. Create a low parameter and a high parameter (display only), and use SELECTION-SCREEN BEGIN OF LINE... so their on the same line.
See my blog here: https://blogs.sap.com/2014/02/07/dates-and-select-options/ for why select options with dates are, in my opinion, an error.
‎2017 Oct 14 8:30 AM
‎2017 Oct 14 8:02 AM
you can try Like below
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'S_VBELN-HIGH'.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
‎2017 Oct 14 8:16 AM
Hi, thanks.
its working. and one more, before set non-editable i need to set some value on that.
‎2017 Oct 14 8:26 AM
hi,
i found the answer.
INITIALIZATION.
MOVE 'your value' TO <selectoption>-HIGH.
APPEND <selectoption>.
‎2017 Oct 14 8:30 AM
‎2017 Oct 14 8:29 AM
Hi, i got solution.
thanks to Kali Charan and Matthew Billingham.
To set non-editable filed on select option-high.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = '<selectoption>-HIGH'.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
To set Default value for select option HIGH.
INITIALIZATION.
MOVE 'your value' TO <selectoption>-HIGH.
APPEND <selectoption>.
‎2017 Oct 14 9:24 AM
If you only protect the "high" part of the SELECT-OPTIONS screen fields, the user can still change it by pressing the button at the right of this field.
So, you should also use NO-EXTENSION to hide the button :
SELECT-OPTIONS s_date FOR <globaldatefield> NO-EXTENSION.
‎2017 Oct 14 10:47 AM