Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Help On Select Query

Former Member
0 Kudos

Hello

Please help me out.

I have a SELECT statement wherein a data type is

specified as the from statement.

Data f1 type char4.

SELECT * from ( f1 )

Where is this used? What is the need?

1 ACCEPTED SOLUTION

ThomasZloch
Active Contributor
0 Kudos

Dynamic SQL, allows you to determine the database table name only at runtime.

Thomas

6 REPLIES 6

ThomasZloch
Active Contributor
0 Kudos

Dynamic SQL, allows you to determine the database table name only at runtime.

Thomas

P561888
Active Contributor
0 Kudos

Hi ,

Here it is called Dynamica calling ...they can be called during the runtime only.This type of select query are called different table based on table

Former Member
0 Kudos

Hi Yogesh,

Here we are specifying the table name dynamically. That means that we can give any table name we want at the run time and select the data from that table.

Regards,

Chandra Sekhar

Former Member
0 Kudos

use the concept of DYNAMIC INTERNAL TABLE

Former Member
0 Kudos

Hi,

The F1 Value i.e Table name will be allocated at the run time u can not see any where this definition. F1 difinition u can see it in global definition of your main program.

Regards,

Nandha

Former Member
0 Kudos

As also told by others you are passing the database table name at runtime.

refer to the link below:

http://www.sap-img.com/abap/how-can-we-give-dynamic-table-name-in-select-statement.htm

With luck,

Pritam.