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: 

how we can use projection & maintance views in development projects.

Former Member
0 Kudos

hi, gurus.

please send me some guide line about how we can use projection & maintance views in development projects.

thank u .

subhasis

1 ACCEPTED SOLUTION

0 Kudos

Hi,

Project views are generally created over a single database table and they are used to select or say project some fileds of the table. So when you create a projection view you will select the fields that are you need for your application and ignore all other fields.

Maintanance views are generally used as basis for some customization through IMG or you can use maintanance view to provide data entry screens where you collect data and push the same on to database tables. You can use table maintanance generator to create these programs for the maintance views. Maintanance views are created over database tables which are generally related through foriegn key relationship.

Regards,

Sesh

3 REPLIES 3

0 Kudos

Hi,

Project views are generally created over a single database table and they are used to select or say project some fileds of the table. So when you create a projection view you will select the fields that are you need for your application and ignore all other fields.

Maintanance views are generally used as basis for some customization through IMG or you can use maintanance view to provide data entry screens where you collect data and push the same on to database tables. You can use table maintanance generator to create these programs for the maintance views. Maintanance views are created over database tables which are generally related through foriegn key relationship.

Regards,

Sesh

Former Member
0 Kudos

What is the Different Types and Usage of Views

This is often asked in an interview about the types of views:

The followings are different types of views:

- Database View (SE11)

Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set.

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.

- Help View ( SE54)

Help views are used to output additional information when the online help system is called.

When the F4 button is pressed for a screen field, a check is first made on whether a matchcode is defined for this field. If this is not the case, the help view is displayed in which the check table of the field is the primary table. Thus, for each table no more than one help view can be created, that is, a table can only be primary table in at most one help view.

- Projection View

Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed.

A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.

- Maintenance View ( SE54 )

Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.

http://www.sap-img.com/abap/what-is-the-different-types-and-usage-of-views.htm

Former Member
0 Kudos