This website is not affiliated with, sponsored by, or approved by SAP AG.

help on Dynamic......

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

help on Dynamic......

Postby BENZ » Tue Apr 22, 2003 1:43 am

hi abap pundits,

how to query a table unknown..i mean a dynamic table ..
my req is :
user enters a table name in selection screen and a query - select * .....
has to be run on this given table..
moreover how is a dynamic variables are coded.....

BENZ,
BENZ
 

Postby SLKorolev » Tue Apr 22, 2003 2:19 am

The syntax is:
Code: Select all
SELECT ... INTO ... FROM (table_name) WHERE ...

table_name must be a character type variable with the name of a single tabel or a database view. See details in the documentation on FROM clause.
Best regards, Sergey Korolev
SLKorolev
 
Posts: 607
Joined: Wed Dec 18, 2002 1:05 am
Location: Russia


Return to ABAP

Who is online

Users browsing this forum: No registered users and 8 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.