Skip to Content
Former Member
Aug 11, 2005 at 08:13 PM

How to dynamic create Select SQL statements.


Hi frnds,

I want to make a SELECT statement in which all values I will get dynamically. Like i have two fields on selection screen, one for table name and one for field name. Now I need to make my ITAB according to the table selected and field name selected. So finally my ITAB will be having the field which I chosen from selection screen.

Now how can I make a dynamic ITAB and how to create a dynamic SELECT statement?

It wud be great if you can help me.