Hi all,
I have, based on a user's entry in a SELECTION-SCREEN, constructed a (hard-coded) list of the names of SAP_tables. Then, before that list is actually used for the further process, I want to give the user the opportunity of adding to that list the names of any SAP tables that he thinks are important yet missing. That in itself is easy to do - I can simply generate another SELECTION-SCREEN and ask him for a list of any additional table(s) he wants and append those to the list I have using CONCATENATE.
The more difficult part is this: When I ask the user to enter any additional tables, I have of course to display the list such as it currently exists so the user can have a look at it and decide whether any table is missing or not. I have to do this in the same step as asking the user for input on additional tables.
AfaIk, I can use the COMMENT command to refer either to a text-symbol or give an arbitrary name, causing the system to generate a variable which I can then fill with a value in the AT SELECTION-SCREEN OUTPUT event-block.
The issue is, the list I want to display is really long - with that variable set to a length of 83, I have to use three variables to hold the entire list - and what is more, the list may not always be the same, so I cannot actually hard-code it at all: There might be one of several different lists (depending on the user's choice in the first SELECTION-SCREEN) which differ in length.
Is there any way I can have an existing variable displayed in a SELECTION-SCREEN?
Thanks a lot!
Best regards,
Sapperdapper