Skip to Content
0
Former Member
Jan 14, 2008 at 04:24 AM

how to hold dynamic field which is different datatype in an internal table?

19 Views

Hi all,

i have a internal table i declared it sth like this:

types: Begin of itab1,

fieldname(40) type C,

end of itab1.

this table is to stored those dynamic fieldname choosen by user. but we found out one problem

if a user select those field which is type dats, dec, curr other than type C, it gave us error saying error in module rsql of the database interface.

anyone know how can i cater to this dynamic field type problem instead of just declaring the fieldname in my internal table as type C?