Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

get a reference to a table which is only known as string

Hi all,

is there a way to get the real variable from a String?

The coding is like this:

Data: itab1 type table of XXX,

itab2 type table of XXX,

itab3 type table of XXX,

.

.

Somewhere in the program i read a configuration table and get for example the string 'itab2'.

Is there a way to get from the string 'itab2' to the real itab2?

Because I'm in a User-Exit in a generated program, I don't know which tables are defined. If the name is in the configuration table, the real table is existing.

Best regards

Dominik

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question