2007 Aug 02 7:15 AM
hi all,
can anybody please suggest me.
In the selection screen i have a block that has 1 parameter and 1 select-options with no Intervals. now based on the value entered in the parameter the select options should populate by itself.
i have the values that have to be populated in a internal table , but could pass the value to the select-options. the user can click on enter after entering the values in the parametr field or may press F8 at any case the fields should auto populate
any suggestions.
thanks in Advance
Srini
hi all,
can anybody please suggest me.
In the selection screen i have a block that has 1 parameter and 1 select-options with no Intervals. now based on the value entered in the parameter the select options should populate by itself.
i have the values that have to be populated in a internal table , but could pass the value to the select-options. the user can click on enter after entering the values in the parametr field or may press F8 at any case the fields should auto populate
any suggestions.
thanks in Advance
Srini
2007 Aug 02 7:26 AM
Hi,
U can do like that.
This is a sample program.
TABLES: trdir.
PARAMETERS: name TYPE trdir-name.
SELECT-OPTIONS: subc FOR trdir-subc NO INTERVALS.
AT SELECTION-SCREEN.
DATA: subc1 TYPE trdir-subc.
SELECT SINGLE subc FROM trdir INTO subc1 WHERE name = name.
subc-sign = 'I'.
subc-option = 'EQ'.
subc-low = subc1.
APPEND subc.
After entering a program name in parameter and press enter the value will be updated in the select-option.
Thanks & Regards
Santhosh
2007 Aug 02 8:01 AM
Thanks for the response Santosh,
will this lgic work if i have multiple values in the Select-options.
actually based on the parameters we may have multiple values.
thanks
Srinivas
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |