Views and its types

 Types of views


1) database view

*  A view created on two or more tables by clubbing the fields using inner join is called             database view

*  We can only read the data.

*  We cannot do any maintenance operation.

*  A database view can include an entire table.


business reqs->develop a db view on mara ,makt tables to display                                                                     matnr,mtart,mbrsh,meins,spars,maktx.


Steps

       *  Go se11.

        *   Select view and give name as : zdbview1

        *  Click create button.

        * Select the db view.


Projection view

*  A view is created on single table is called pview. 

*  Filter out fields.

* We can read and maintain the data.

*  Projection view improve the performance [because minimize the fields].


business reqs-> develop a projection view on mara tables to display                                                                    matnr,mtart,mbrsh,meins.

Steps

        *  Go se11.

        *  Select view and give name as : zprojectionview1

        *  Click create button.

        * Select the projection view.


Help view 

    *  A view created on two or more tables for search helps is called  help view.

    *  Help view uses outer join concept.

    *   Read data but cannot maintain the data.


Steps

        *  Go se11.

        *  Select view and give name as : zhelpview1

        *  Click create button.

        *  Select the help view.

                

Maintenace view 

        * A view create don two or more tables using inner join concept.

        *  We can read the data and maintain the data.

        * Maintenance view can be create don custom tables.


Steps

        *  Go se11.

        *  Select view and give name as : zmainview1

        *  Click create button.

        *  Select the maintenance view.


Comments

Popular posts from this blog

bapi introduction

amdp

ABAP for all