I need to generate a dynamic dropdown list and display this dynamic list on a dynpro. This list is not linked to a dictionary structure (table). Can this be done?
This can be done. In the flow control, add a PROCESS ON VALUE-REQUEST command, with a FIELD MY_FIELD MODULE MY_MODULE command after it, where MY_FIELD is the field for which you require value help. Then code MY_MODULE to display a popup of selections. Transfer the selected value to MY_FIELD. Note, you won't have access to the other fields on your screen except by using the function modules DYNP_VALUES_READ and, possibly, DYNP_VALUES_UPDATE.
This was first published in July 2001