06-14-2010 9:20 AM
Hi,
If i have an interanal table like below the code works fine.
Data: lt_konhdb type konhdb.
IMPORT tab = lt_konhdb
FROM DATABASE indx(a1)
TO indxwa
ID 'N_KONH' USING indx_form1.
I do not want to have a static type cast like above but want to have the type returned from the cluster table.
Someting like this.
field-symbols <fs_wa> type any.
IMPORT tab = <fs_wa>
FROM DATABASE indx(a1)
TO indxwa
ID 'N_KONH' USING indx_form1.
So that i can find the field symbol type using the RTTI Framework and create the internal table using create data syntax on the type returned by the field symbol.
Basically i want to create the internal table on the type which is stored in the cluster table as i do not know the type which is stored in the cluster table.so that i can use this internal table for furthur processing.
Is it possible? As when i use the field symbol it remains unassigned.
Thanks
08-14-2012 2:15 PM
Hi,
I wonder if you already found a solution for this. I'm facing the same problem and i would appraciate your help.
Any suggestion?
Thank You.