Skip to Content
0
Former Member
Nov 07, 2007 at 06:16 AM

Select Query

14 Views

Hi Freinds,

I have a small doubt.

What I am doing is....I have a custom table,which will contain entries this way.

<u>CONDITION</u> <u>TABLE NAME</u>

A MARA

B VBAK

C EKKO

So,based on the condition I need to fire a Select Query on the respective table.

I am doing the selection in a subroutine.

Now,I am Selecting from v_tabname...v_tabname contains table name.

But,this is an error, coz Select query always allows to select from DB table.

Is there any way to dynamically get the table name in Select Query.

Any Object Programming ?

Eg., SELECT FROM <u>TABNAME</u>

Regards,

Imran.