2009 Sep 02 6:22 PM
Hello,
newbie ABAPer question..
I was wondering if it's possible to dynamically create a UI based on the values on a drop list/drop down box?
For example, screen would initialize too
dropdown list filled with 1 - 50
field1 field2
user selects 10 from the drop down list, then the screen would look like this:
drop down list dropdown list filled with 1 - 50
field1 field2
field3 field4
field5 field6
field7 field8
field9 field10
field11 field12
field13 field14
field15 field16
field17 field18
field19 field20
thanks for looking!
2009 Sep 02 7:27 PM
If you don't have too many parameters, you may also declare all of them, and hide or show the ones you desire using LOOP AT SCREEN statement according to the entry selected in the dropdown listbox. This is simple and efficient. How many parameters do you have?
Hello,
newbie ABAPer question..
I was wondering if it's possible to dynamically create a UI based on the values on a drop list/drop down box?
For example, screen would initialize too
dropdown list filled with 1 - 50
field1 field2
user selects 10 from the drop down list, then the screen would look like this:
drop down list dropdown list filled with 1 - 50
field1 field2
field3 field4
field5 field6
field7 field8
field9 field10
field11 field12
field13 field14
field15 field16
field17 field18
field19 field20
thanks for looking!
2009 Sep 02 6:27 PM
2009 Sep 02 6:30 PM
this seems to only show how to create a dropdown list...I need to know how to create parameters based on the values in the drop down list
2009 Sep 02 6:38 PM
Then you need to use fm
FREE_SELECTIONS_DIALOG
for dynamically generating the selection parameters screen.
Please make a search on this forum for sample code how to use this
a®
2009 Sep 02 7:27 PM
If you don't have too many parameters, you may also declare all of them, and hide or show the ones you desire using LOOP AT SCREEN statement according to the entry selected in the dropdown listbox. This is simple and efficient. How many parameters do you have?
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |