Skip to Content
0
Former Member
Apr 08, 2008 at 12:23 PM

Select with a dynamic value table

18 Views

Hello,

I have to tables t1 and t2. In the first table I have a field f1 which has the name of t2 as value.

How has to be the Select Statement

I tried

DATA: l_table TYPE CHAR5 .

Select v1 into l_table from t1

Select v2 into xx from (l_table).

But I get there allways an error and I could not find an starting point in seach for this problem.

Thank for any help

Regards

Henning

Edited by: Alvaro Tejada Galindo on Apr 10, 2008 5:15 PM