Application Development and Automation 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: 
Read only

read data from a databaseview

Former Member
0 Likes
523

Hi everybody,

how can i read the data from a databaseview. I try it with a select but it doesn't work.


SELECT * FROM mydatabaseView INTO lt_databaseview.

regards,

Sid

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
493

Hi,

Select on database view will work....

try this example and check with yours

caufv is a database view.

eg:-

data: itab_cauvfv type satandard table of types_caufv.

SELECT * FROM caufv

INTO TABLE itab_caufv.

3 REPLIES 3
Read only

Former Member
0 Likes
493

HI,

You can use the select statement on Database view.

Read only

Former Member
0 Likes
494

Hi,

Select on database view will work....

try this example and check with yours

caufv is a database view.

eg:-

data: itab_cauvfv type satandard table of types_caufv.

SELECT * FROM caufv

INTO TABLE itab_caufv.

Read only

Former Member
0 Likes
493

Please search the forum. This question has been asked and answered before. You can only SELECT directly from certain types of views.

Rob