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.
Dig Deeper on SAP ABAP
Related Q&A from Matthew Billingham
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header. Continue Reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order. Continue Reading
An SAP user needs information on how to change the password on several SAP user accounts from a central location. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.