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

VIEWS

Former Member
0 Likes
884

Hi,

I want to know whether a VIEW exists in db also or does it exist only in DATA DIC?I mean whether VIEW contains data in db or it only fetches data present in transparent tables?

thanks,

Rakesh..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
854

Hi love,

1. whether a VIEW exists in db also or does it exist only in DATA DIC

Projection View, Database Views

exist in database as well as DATA DICTIONARY.

(maintenance view exist only in dictionary,

bcos they are just special screens

to facilitate data entry in tables)

2.

VIEW contains data in db or it only fetches data present in transparent tables?

View only FETCHES data

(It does not contain any data)

regards,

amit m.

7 REPLIES 7
Read only

Former Member
0 Likes
854

Hi,

The views are maintained in dictionary however

the view doesnt contain data but fetches it from the transparent tables depending upon the joining condition.

Instead of writing a repeatative complex SELECT query which does a join for you, its better to use a view.

Regards,

Tanveer.

Please mark helpful answers

Read only

Former Member
0 Likes
854

Yes.

VIEW contains no data. It only fetches data present in transparent tables.

See this.

Mark Helpful answer

Regards,

Amit Mishra

Message was edited by: Amit Mishra

Read only

Former Member
0 Likes
854

Hi,

Views does not contain data in it.

It fetches data from the database only depending on the condition speccified in the view.

See http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ecab446011d189700000e8322d00/content.htm

Regards,

Wenceslaus.

Read only

0 Likes
854

Tables are meant storing data.

Views are meant for viewing data in different ways, it could be partial tables, it could be a combination of multiple tables.

Data is never stored in views.

Views dont store the data, whereas tables store the data.

Views can be used to view data from one or more tables.

A view can be compared with a join.

To find out the tables in CIN, use SQL trace (ST05).

VIEW: a method of viewing database tables. Can combine data from multiple tables into one view, and/or can restrict the view to certain records or fields within a table. Views are sometimes not considered true table types.

TRANSPARENT TABLE: An SAP data dictionary table which is mapped 1:1 to the database. Designed to hold SAP data in a database

Read only

Former Member
0 Likes
854

Hello,

Views are part of data dictionary. They are a window to view the data in database. So they don't contain in data but fetches data in the way view is defined during runtime.

Read only

Former Member
0 Likes
855

Hi love,

1. whether a VIEW exists in db also or does it exist only in DATA DIC

Projection View, Database Views

exist in database as well as DATA DICTIONARY.

(maintenance view exist only in dictionary,

bcos they are just special screens

to facilitate data entry in tables)

2.

VIEW contains data in db or it only fetches data present in transparent tables?

View only FETCHES data

(It does not contain any data)

regards,

amit m.

Read only

0 Likes
854

Amit,

Then wats the use of having view only in DDIC not in db?

i mean why only maintainance view doesnt exist in db wheresas other views exist?