2014 Jun 20 10:41 AM
Hi Folks,
I want to display all the values for a select-option in the selection screen (value are coming from a database table) but restrict user from entering the values.
For that i have made a MODIF ID and have hidden it using the code below:
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'HID'.
screen-input = 0.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Problem:
But the problem now is the select Option i am not able to see all value as the button "" is inactive.
The code is
But i am not able to view values expect "2".
Please let me know how to view all values of S_bukrs.
Thanks a lot in Advance!!
2014 Jun 20 11:16 AM
Please use the following code:
LOOP AT SCREEN.
IF screen-name = 'S_BUKRS-LOW' or screen-name = 'S_BUKRS-HIGH'.
screen-input = 0.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
2014 Jun 20 11:08 AM
Hi,
My suggestion is to use a PARAMETER and then use a search help to display the values. Another option is having drop down values.
Cheers,
Mahesh
2014 Jun 20 11:16 AM
Please use the following code:
LOOP AT SCREEN.
IF screen-name = 'S_BUKRS-LOW' or screen-name = 'S_BUKRS-HIGH'.
screen-input = 0.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
2014 Jun 20 11:20 AM