Skip to Content
0
Former Member
May 29, 2007 at 04:43 AM

Dynamic columns in ABAP queries

1058 Views

Hi

I want to select column names dynamically from a DDIC table. For example, the normal way is “select <column_name1>, <column_name2> from <tablename>”. But what I need is something like “select variable1, variable2 from <tablename>” where variable1 and variable2 are names of the column like variable1 = ‘<column_name1>’ and variable2 = ‘<column_name2>’. Is this possible?

Santo.