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 databaseview in program

Former Member
0 Likes
542

Hello @ all,

I create i databaseview with some joins in the ddic. I want to read databaseview in my program and write this data in a internal table. How can I do this?

Thanks.

Regards

Chris

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
522

Hi,

It's normal way how you read the data from the database table.

SELECT * FROM <VIEW> INTO Table <iTAB> WHERE <CONDT>.

4 REPLIES 4
Read only

Former Member
0 Likes
523

Hi,

It's normal way how you read the data from the database table.

SELECT * FROM <VIEW> INTO Table <iTAB> WHERE <CONDT>.

Read only

Former Member
0 Likes
522

same as u read a transparent table..

SELECT field1 fields2 from DBVIEW

into table it_view

where field IN s_option.

Read only

GauthamV
Active Contributor
0 Likes
522

SEARCH in SCN you have so many posts on same

Read only

Former Member
0 Likes
522

Hi,

In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.

Regards,

Phani.