I’m trying to have the functionality of a normal SELECT-OPTIONS for a field inside one of my regular screens.
I went over all the attributes of that I/O field in the Designer, but i couldn’t find anything.
I saw that some functionality of multiple choice is being offered to me, but it’s not complete, meaning that inside the prompts i no longer have the ability to use F4 to select my ranges visually.
Is what i’m trying to accomplish even possible?
You can use a combination of function modules
FREE_SELECTIONS_INITandFREE_SELECTIONS_DIALOG. (You can trigger this off a button that you put on the dynpro). The function modules are a bit complicated, but they have online documentation.To extend your dynpro to simulate the select-option from a report selection screen, you can show the low and high values from the first row of the selected data.
Here is an example to get you started (The documentation for function module
FREE_SELECTIONS_DIALOGin fact contains some sample code):