<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: different views in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379144#M811368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;why we need view is:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)A view is a virtual table which gets data from different tables and displays on a single screen actually in real time every time we require data from different tables in such case we create a view and we call that view in the program.&lt;/P&gt;&lt;P&gt;2) Z tables are required when there is no table of a particular field according to my client requirement then we go for ztabls&lt;/P&gt;&lt;P&gt;3) Both are same in new versions se16n which is used for data browser&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database Views &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A database view is defined in the ABAP Dictionary as a logical view on one or more tables. A database view is automatically created in the underlying database when it is activated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also read the following information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;General Information about Building a Database View. &lt;/P&gt;&lt;P&gt;Brief instructions for creating a database view. &lt;/P&gt;&lt;P&gt;General information about the structure and use of views. &lt;/P&gt;&lt;P&gt;General information on how views are built with join, projection and selection.&lt;/P&gt;&lt;P&gt;You can call the complete documentation about the ABAP Dictionary in every maintenance screen of a Dictionary object with Help ® Application help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Creating a Database View&lt;/U&gt; Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter an explanatory short text in the field Short text. &lt;/P&gt;&lt;P&gt;You can for example find the view at a later time using this short text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define the tables to be included in the view in the Tables field of the Tables/Join conditions tab page. &lt;/P&gt;&lt;P&gt;Keep in mind that you can only include transparent tables in a database view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link the tables with join conditions. &lt;/P&gt;&lt;P&gt;If there are suitable foreign keys between the tables, you should copy the join conditions from these foreign keys (see  Foreign Key Relationships and Join Conditions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place the cursor on a table name and choose Relationships. All foreign keys to other tables defined for this table are displayed. Select the foreign keys and choose Copy. The join condition is now derived from the definitions in the foreign key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you only want to see the foreign key relationship existing between two tables, you must first select these two tables (click on the first column of the input area Tables) and then choose Relationships.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the View fields tab page, select the fields that you want to copy to the view. &lt;/P&gt;&lt;P&gt;Choose Table fields. All the tables contained in the view are displayed in a dialog box. Select a table. All the fields contained in this table are displayed. You can copy fields by selecting them in the first column and choosing Copy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also include an entire table in the view (see Includes in Database Views).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Selection conditions tab page, you can (optionally) formulate restrictions for the data records to be displayed with the view (see Maintaining Selection Conditions for Views). &lt;/P&gt;&lt;P&gt;The selection conditions define the data records that can be selected with the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Goto ® Technical settings, you can (optionally) maintain the technical settings of the database view. &lt;/P&gt;&lt;P&gt;You can define whether and how the database view should be buffered here. Proceed as for the technical settings of a table (see  Maintaining Technical Settings). Note that only the settings for buffering can be maintained for database views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Maintenance status tab page, select the maintenance status of the database view. &lt;/P&gt;&lt;P&gt;If the view contains more than one table, the maintenance status read only cannot be altered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save your entries. You are asked to assign the view a development class. &lt;/P&gt;&lt;P&gt;You can change this development class later with Goto ® Object directory entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose .&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a database view is activated, the corresponding view is also automatically created in the database if the base tables of the view were already created there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At activation, a log is written; it can be displayed with Utilities ® Activation log. If errors or warnings occurring when the view was activated, they are displayed directly in the activation log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the base tables are not yet created in the database, this is recorded in the activation log. The view is nevertheless activated in the ABAP Dictionary. In this case you can create the relevant view on the database later with the database utility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other Options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create documentation: You can create information about using the view with Goto ® Documentation. This documentation is also output for example when you print the view. &lt;/P&gt;&lt;P&gt;Change data element of a view field: Select the Mod (Modify) column in the View fields tab page. The Data element field is now ready for input. You can enter a data element that refers to the same domain as the data element of the assigned table field here. Cancel the Mod flag if you want to use the data element of the assigned table field again. &lt;/P&gt;&lt;P&gt;Display view data: With Utilities ® Contents you can determine which data can be selected with the view. &lt;/P&gt;&lt;P&gt;Display create statement: With Extras ® CREATE statement you can display how the view was created in the database. The statement that was executed when the version of the view currently being edited was created in the database is displayed. &lt;/P&gt;&lt;P&gt;Check the definition of the view in the database: With Utilities ® Database object ® Check you can determine whether the definition of the view in the database is consistent with the active version of the view. With Utilities ® Database object ® Display you can display the definition of the view in the database. &lt;/P&gt;&lt;P&gt;Check the runtime object of the view: With Utilities ® Runtime object ® Check you can determine whether the definition of the view in the ABAP Dictionary maintenance screen is identical to the specifications in the runtime object of the view. With Utilities ® Runtime object ® Display you can display the runtime object of the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;_Projection Views&lt;/STRONG&gt;_ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Projection views are used to hide fields of a table. This can be used for example to minimize interfaces by only reading the fields of the table that are really needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also read the following information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;General information about projection views &lt;/P&gt;&lt;P&gt;Brief instructions for creating a projection view. &lt;/P&gt;&lt;P&gt;General information about the structure and use of views. &lt;/P&gt;&lt;P&gt;General information on how views are built with join, projection and selection.&lt;/P&gt;&lt;P&gt;You can call the complete documentation about the ABAP Dictionary in every maintenance screen of a Dictionary object with Help ® Application help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;&lt;U&gt;Creating Projection Views&lt;/U&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter an explanatory short text in the field Short text. &lt;/P&gt;&lt;P&gt;You can for example find the view at a later time using this short text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter a table name in the field Base table. &lt;/P&gt;&lt;P&gt;A projection view always contains exactly one table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the fields of the base table that you want to include in the view. &lt;/P&gt;&lt;P&gt;Choose Table fields. The fields of the table are now displayed in a dialog box. You can copy fields by selecting them in the first column and choosing Copy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save your entries. &lt;/P&gt;&lt;P&gt;You are asked to assign the view a development class. You can change this development class later with Goto ® Object directory entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose .&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The help view is activated. At activation, a log is written; it can be displayed with Utilities ® Activation log. If errors or warnings occurring when the view was activated, they are displayed directly in the activation log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other Options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create documentation: You can create information about using the view with Goto ® Documentation. This documentation is output for example when you print the view. &lt;/P&gt;&lt;P&gt;Change data element of a view field: Select column Mod (modification) for the particular view field. The Data element field is now ready for input. You can enter a data element that refers to the same domain as the data element of the assigned table field here. Cancel the Mod flag if you want to use the data element of the assigned table field again. &lt;/P&gt;&lt;P&gt;Change maintenance status: The maintenance status determines how you can access the view data from ABAP programs (read only, read and change). Choose Extras ® Maintenance status. A dialog box appears in which you can select the maintenance status of the view. &lt;/P&gt;&lt;P&gt;Check functions: With Utilities ® Runtime object ® Check you can determine whether the definition of the view in the ABAP Dictionary maintenance screen is identical to the specifications in the runtime object of the view. With Utilities ® Runtime object ® Display you can display the runtime object of the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;_maintanance view&lt;/STRONG&gt;_&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the maintanance view view is different from other views ..because by using it we can change the data in the table ..... you mayit be see and used it ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whereas in the search help we should not change the data in the table .... it is used for user helping purpose ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that the maintance view is not used in search help ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note :&lt;/P&gt;&lt;P&gt;There are some restrictions for selecting the secondary tables of a maintenance view or help view. The secondary tables have to be in an N:1 dependency to the primary table or directly preceding secondary table. This ensures that there is at most one dependent record in each of the secondary tables for a data record in the primary table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through the below link for diagramatically explaination of the maintance view not used in search help ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ec9e446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ec9e446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;_Help View&lt;/STRONG&gt;_&lt;/P&gt;&lt;P&gt;You have to create a HELP VIEW for a TABLE&lt;/P&gt;&lt;P&gt;Then for that table the help view is displayed&lt;/P&gt;&lt;P&gt;Help View ( SE54) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help views are used to output additional information when the online help system is called. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Sreelatha Gullapalli&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2008 05:17:08 GMT</pubDate>
    <dc:creator>sreelatha_gullapalli</dc:creator>
    <dc:date>2008-02-15T05:17:08Z</dc:date>
    <item>
      <title>different views</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379137#M811361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have 4 types of views.&lt;/P&gt;&lt;P&gt;1. database view&lt;/P&gt;&lt;P&gt;2.projection view&lt;/P&gt;&lt;P&gt;3.maintanance view&lt;/P&gt;&lt;P&gt;4.help view&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to know the difference among them. can anyone plz help me to know abt individual view, and the difference among them. give me the data abt each view, n the difference among them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance for ur responce.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 04:57:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379137#M811361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T04:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: different views</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379138#M811362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The followings are different types of views: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Database View   (SE11) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Help View    ( SE54) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help views are used to output additional information when the online help system is called.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Projection View &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A projection view can draw upon only one table. Selection conditions cannot be specified for projection views. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Maintenance View   ( SE54 ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:02:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379138#M811362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T05:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: different views</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379139#M811363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Database View (SE11) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Help View ( SE54) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help views are used to output additional information when the online help system is called. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Projection View &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A projection view can draw upon only one table. Selection conditions cannot be specified for projection views. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Maintenance View ( SE54 ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;View are improves perfromance in the following aspects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If you want to use more than two table in 'JOIN' condition better to use Views . It will improves performance of a program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If you want to use mutiple FOR ALL ENTRIES clause, better to club all SELECT statement in a view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look at below link. It will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed06446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed06446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;for more detailed info look on:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/what-is-the-different-types-and-usage-of-views.htm" target="test_blank"&gt;http://www.sap-img.com/abap/what-is-the-different-types-and-usage-of-views.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+dictionary&amp;amp;" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+dictionary&amp;amp;&lt;/A&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:03:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379139#M811363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T05:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: different views</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379140#M811364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ec5d446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ec5d446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379140#M811364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T05:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: different views</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379141#M811365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Different Types of Views&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Database View&lt;/P&gt;&lt;P&gt;Creating a Database View Locate the document in its SAP Library structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Enter an explanatory short text in the field Short text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can for example find the view at a later time using this short text.&lt;/P&gt;&lt;P&gt;2. Define the tables to be included in the view in the Tables field of the Tables/Join conditions tab page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep in mind that you can only include transparent tables in a database view.&lt;/P&gt;&lt;P&gt;3. Link the tables with&lt;/P&gt;&lt;P&gt;join conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are suitable foreign keys between the tables, you should copy the join conditions from these foreign keys (see Structure link Foreign Key Relationships and Join Conditions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place the cursor on a table name and choose Relationships. All foreign keys to other tables defined for this table are displayed. Select the foreign keys and choose This graphic is explained in the accompanying textCopy. The join condition is now derived from the definitions in the foreign key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you only want to see the foreign key relationship existing between two tables, you must first select these two tables (click on the first column of the input area Tables) and then choose Relationships.&lt;/P&gt;&lt;P&gt;4. On the View fields tab page, select the fields that you want to copy to the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose Table fields. All the tables contained in the view are displayed in a dialog box. Select a table. All the fields contained in this table are displayed. You can copy fields by selecting them in the first column and choosing This graphic is explained in the accompanying textCopy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also include an entire table in the view (see Includes in Database Views).&lt;/P&gt;&lt;P&gt;5. On the Selection conditions tab page, you can (optionally) formulate restrictions for the data records to be displayed with the view (see&lt;/P&gt;&lt;P&gt;Maintaining Selection Conditions for Views).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selection conditions define the data records that can be selected with the view.&lt;/P&gt;&lt;P&gt;6. With Goto ® Technical settings, you can (optionally) maintain the technical settings of the database view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define whether and how the database view should be buffered here. Proceed as for the technical settings of a table (see Structure link Maintaining Technical Settings). Note that only the settings for buffering can be maintained for database views.&lt;/P&gt;&lt;P&gt;7. On the Maintenance status tab page, select the&lt;/P&gt;&lt;P&gt;maintenance status of the database view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the view contains more than one table, the maintenance status read only cannot be altered.&lt;/P&gt;&lt;P&gt;8. Save your entries. You are asked to assign the view a development class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change this development class later with Goto ® Object directory entry.&lt;/P&gt;&lt;P&gt;9. Choose This graphic is explained in the accompanying text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a database view is activated, the corresponding view is also automatically created in the database if the base tables of the view were already created there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At activation, a log is written; it can be displayed with Utilities ® Activation log. If errors or warnings occurring when the view was activated, they are displayed directly in the activation log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the base tables are not yet created in the database, this is recorded in the activation log. The view is nevertheless activated in the ABAP Dictionary. In this case you can create the relevant view on the database later with the database utility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other Options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create documentation: You can create information about using the view with Goto&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;® Documentation. This documentation is also output for example when you print the view. Change data element of a view field: Select the Mod (Modify) column in the View fields tab page. The Data element field is now ready for input. You can enter a data element that refers to the same domain as the data element of the assigned table field here. Cancel the Mod flag if you want to use the data element of the assigned table field again.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Display view data: With Utilities&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;® Contents you can determine which data can be selected with the view. Display create statement: With Extras&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;® CREATE statement you can display how the view was created in the database. The statement that was executed when the version of the view currently being edited was created in the database is displayed. Check the definition of the view in the database: With Utilities&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;® Database object ® Check you can determine whether the definition of the view in the database is consistent with the active version of the view. With Utilities ® Database object ® Display you can display the definition of the view in the database. Check the runtime object of the view: With Utilities&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;® Runtime object ® Check you can determine whether the definition of the view in the ABAP Dictionary maintenance screen is identical to the specifications in the runtime object of the view. With Utilities ® Runtime object ® Display you can display the runtime object of the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Projection View&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating Projection Views Locate the document in its SAP Library structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Enter an explanatory short text in the field Short text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can for example find the view at a later time using this short text.&lt;/P&gt;&lt;P&gt;2. Enter a table name in the field Base table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A projection view always contains exactly one table.&lt;/P&gt;&lt;P&gt;3. Select the fields of the base table that you want to include in the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose Table fields. The fields of the table are now displayed in a dialog box. You can copy fields by selecting them in the first column and choosing This graphic is explained in the accompanying textCopy.&lt;/P&gt;&lt;P&gt;4. Save your entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are asked to assign the view a development class. You can change this development class later with Goto ® Object directory entry.&lt;/P&gt;&lt;P&gt;5. Choose This graphic is explained in the accompanying text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The help view is activated. At activation, a log is written; it can be displayed with Utilities ® Activation log. If errors or warnings occurring when the view was activated, they are displayed directly in the activation log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other Options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create documentation: You can create information about using the view with Goto&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;® Documentation. This documentation is output for example when you print the view. Change data element of a view field: Select column Mod (modification) for the particular view field. The Data element field is now ready for input. You can enter a data element that refers to the same domain as the data element of the assigned table field here. Cancel the Mod flag if you want to use the data element of the assigned table field again.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Change maintenance status: The&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;maintenance status determines how you can access the view data from ABAP programs (read only, read and change). Choose Extras ® Maintenance status. A dialog box appears in which you can select the maintenance status of the view. Check functions: With Utilities&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;® Runtime object ® Check you can determine whether the definition of the view in the ABAP Dictionary maintenance screen is identical to the specifications in the runtime object of the view. With Utilities ® Runtime object ® Display you can display the runtime object of the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Maintainence View&lt;/P&gt;&lt;P&gt;Maintenance View Locate the document in its SAP Library structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Related data in several tables can be maintained together in a maintenance view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A maintenance view has the samee key as its primary table. To ensure that the system can write the records inserted in a maintenance view correctly into the tables in the view, put all key fields of the primary table in a maintenance view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each entry in the primary table can have at most one dependent data record in the secondry table. The only exceptions are the text tables of tables in the view which have the additional key field Language. The system puts the logon language in the language field during the table maintenance. You cannot put the language field in the view explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can maintain text table entries in other languages with the translation function in transaction SM30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must regenerate the maintenance dialog if you change the definition of a table/view with a generated maintenance dialog, e.g. add or remove fields, or change the maintenance attribute or a selection condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maintenance Attributes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can assign a maintenance attribute P to individual fields in the maintenance view definition in the Dictionary (SE11). It can be R (read only), H (hidden), or S (subset).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;R (readonly)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A field flagged R is not ready for input by the user on the screen. When a new data record is created, it must be filled automatically in the background. To fill a field automatically in the background, create a routine for an event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;H (hidden)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A field flagged H is not displayed on the screen. This field must also be filled in the background by a routine at an event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system writes R and H fields to the database like all other fields when a new data record is saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;S (subset)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A field flagged S restricts the work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system only shows data records for which this subset field has the specified value. This restriction of the work area remains effective when you create new data records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;View Variant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define any number of view variants for an existing view. The view variants do not have their own generated maintenance dialogs, they use the base view. The view variants can differ from their base view by different selection conditions and a different field selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Help View &lt;/P&gt;&lt;P&gt;Creating Help Views Locate the document in its SAP Library structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Enter an explanatory short text in the field Short text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can for example find the view at a later time using this short text.&lt;/P&gt;&lt;P&gt;2. Enter the primary table of the view under Tables in the Tables/Join conditions tab page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only tables that are linked with the primary table (indirectly) with a foreign key can be included in the view.&lt;/P&gt;&lt;P&gt;3. Save your entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are asked to assign the help view a development class. You can change this development class later with Extras ® Object directory entry.&lt;/P&gt;&lt;P&gt;4. If required, include more tables in the view. In a help view you can only include tables that are linked to one another with foreign keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Position the cursor on the primary table and choose Relationships. All existing foreign key relationships of the primary table are displayed. Select the foreign keys and choose This graphic is explained in the accompanying textCopy. The secondary table involved in such a foreign key is included in the view. The join conditions derived from the foreign keys (see Structure link Foreign Key Relationship and Join Condition) are displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also include tables that are linked with a foreign key to one of the secondary tables already included. To do this, place the cursor on the secondary table and choose Relationships. Then proceed as described above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For maintenance and help views, there are certain restrictions on the foreign keys with which the tables can be included in the view (see Restrictions for Maintenance and Help Views). The foreign keys violating these conditions are displayed at the end of the list under the header Relationships with unsuitable cardinality.&lt;/P&gt;&lt;P&gt;5. On the View fields tab page, select the fields that you want to copy to the view. The key fields of the primary table were automatically copied to the view as proposals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose Table fields. All the tables contained in the view are listed in a dialog box. Select a table. The fields of the table are now displayed in a dialog box. Select the required fields in the first column and choose This graphic is explained in the accompanying textCopy.&lt;/P&gt;&lt;P&gt;6. On the Selection conditions tab page, you can (optionally) formulate restrictions for the data records to be displayed with the view (see&lt;/P&gt;&lt;P&gt;Maintaining Selection Conditions for Views).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selection conditions define the data records that can be selected with the view.&lt;/P&gt;&lt;P&gt;7. Choose This graphic is explained in the accompanying text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The view is now activated. At activation, a log is written; it can be displayed with Utilities ® Activation log. If errors or warnings occurring when the view was activated, they are displayed directly in the activation log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other Options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create documentation: You can create information about using the view with Goto&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;® Documentation. This documentation is output for example when you print the view. Change data element of a view field: Select column Mod (modification) for the view field. The Data element field is now ready for input. Enter the new data element there. You can enter a data element that refers to the same domain as the data element of the assigned table field here. Cancel the Mod flag if you want to use the data element of the assigned table field again.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Check functions: With Extras&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;® Runtime object ® Check you can determine whether the definition of the view in the ABAP Dictionary maintenance screen is identical to the definitions in the runtime object of the view. With Extras ® Runtime object ® Display you can display the runtime object of the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:04:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379141#M811365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T05:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: different views</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379142#M811366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database View: You can create this view on transparent table. It supports all the three operations like Selection, Projection &amp;amp; Join&lt;/P&gt;&lt;P&gt;Projection View: This type allows you to suppress some fields from the transparent table. This view is defined only with relational operator projection.&lt;/P&gt;&lt;P&gt;Help View: These views are exclusively used by the SAP help system. All relational operators are supported. These views are generated when the user presses F4 function key on the field on selection screen. You can see these views only with SAP help and not with open SQL statements.&lt;/P&gt;&lt;P&gt;Maintenance View: This type of view enables the maintenance of a group of related tables using SM30 Transaction, which is for extended table maintenance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:05:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379142#M811366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T05:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: different views</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379143#M811367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer to this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3583558"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Krushna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379143#M811367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T05:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: different views</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379144#M811368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;why we need view is:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)A view is a virtual table which gets data from different tables and displays on a single screen actually in real time every time we require data from different tables in such case we create a view and we call that view in the program.&lt;/P&gt;&lt;P&gt;2) Z tables are required when there is no table of a particular field according to my client requirement then we go for ztabls&lt;/P&gt;&lt;P&gt;3) Both are same in new versions se16n which is used for data browser&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database Views &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A database view is defined in the ABAP Dictionary as a logical view on one or more tables. A database view is automatically created in the underlying database when it is activated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also read the following information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;General Information about Building a Database View. &lt;/P&gt;&lt;P&gt;Brief instructions for creating a database view. &lt;/P&gt;&lt;P&gt;General information about the structure and use of views. &lt;/P&gt;&lt;P&gt;General information on how views are built with join, projection and selection.&lt;/P&gt;&lt;P&gt;You can call the complete documentation about the ABAP Dictionary in every maintenance screen of a Dictionary object with Help ® Application help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Creating a Database View&lt;/U&gt; Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter an explanatory short text in the field Short text. &lt;/P&gt;&lt;P&gt;You can for example find the view at a later time using this short text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define the tables to be included in the view in the Tables field of the Tables/Join conditions tab page. &lt;/P&gt;&lt;P&gt;Keep in mind that you can only include transparent tables in a database view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link the tables with join conditions. &lt;/P&gt;&lt;P&gt;If there are suitable foreign keys between the tables, you should copy the join conditions from these foreign keys (see  Foreign Key Relationships and Join Conditions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place the cursor on a table name and choose Relationships. All foreign keys to other tables defined for this table are displayed. Select the foreign keys and choose Copy. The join condition is now derived from the definitions in the foreign key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you only want to see the foreign key relationship existing between two tables, you must first select these two tables (click on the first column of the input area Tables) and then choose Relationships.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the View fields tab page, select the fields that you want to copy to the view. &lt;/P&gt;&lt;P&gt;Choose Table fields. All the tables contained in the view are displayed in a dialog box. Select a table. All the fields contained in this table are displayed. You can copy fields by selecting them in the first column and choosing Copy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also include an entire table in the view (see Includes in Database Views).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Selection conditions tab page, you can (optionally) formulate restrictions for the data records to be displayed with the view (see Maintaining Selection Conditions for Views). &lt;/P&gt;&lt;P&gt;The selection conditions define the data records that can be selected with the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Goto ® Technical settings, you can (optionally) maintain the technical settings of the database view. &lt;/P&gt;&lt;P&gt;You can define whether and how the database view should be buffered here. Proceed as for the technical settings of a table (see  Maintaining Technical Settings). Note that only the settings for buffering can be maintained for database views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Maintenance status tab page, select the maintenance status of the database view. &lt;/P&gt;&lt;P&gt;If the view contains more than one table, the maintenance status read only cannot be altered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save your entries. You are asked to assign the view a development class. &lt;/P&gt;&lt;P&gt;You can change this development class later with Goto ® Object directory entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose .&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a database view is activated, the corresponding view is also automatically created in the database if the base tables of the view were already created there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At activation, a log is written; it can be displayed with Utilities ® Activation log. If errors or warnings occurring when the view was activated, they are displayed directly in the activation log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the base tables are not yet created in the database, this is recorded in the activation log. The view is nevertheless activated in the ABAP Dictionary. In this case you can create the relevant view on the database later with the database utility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other Options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create documentation: You can create information about using the view with Goto ® Documentation. This documentation is also output for example when you print the view. &lt;/P&gt;&lt;P&gt;Change data element of a view field: Select the Mod (Modify) column in the View fields tab page. The Data element field is now ready for input. You can enter a data element that refers to the same domain as the data element of the assigned table field here. Cancel the Mod flag if you want to use the data element of the assigned table field again. &lt;/P&gt;&lt;P&gt;Display view data: With Utilities ® Contents you can determine which data can be selected with the view. &lt;/P&gt;&lt;P&gt;Display create statement: With Extras ® CREATE statement you can display how the view was created in the database. The statement that was executed when the version of the view currently being edited was created in the database is displayed. &lt;/P&gt;&lt;P&gt;Check the definition of the view in the database: With Utilities ® Database object ® Check you can determine whether the definition of the view in the database is consistent with the active version of the view. With Utilities ® Database object ® Display you can display the definition of the view in the database. &lt;/P&gt;&lt;P&gt;Check the runtime object of the view: With Utilities ® Runtime object ® Check you can determine whether the definition of the view in the ABAP Dictionary maintenance screen is identical to the specifications in the runtime object of the view. With Utilities ® Runtime object ® Display you can display the runtime object of the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;_Projection Views&lt;/STRONG&gt;_ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Projection views are used to hide fields of a table. This can be used for example to minimize interfaces by only reading the fields of the table that are really needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also read the following information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;General information about projection views &lt;/P&gt;&lt;P&gt;Brief instructions for creating a projection view. &lt;/P&gt;&lt;P&gt;General information about the structure and use of views. &lt;/P&gt;&lt;P&gt;General information on how views are built with join, projection and selection.&lt;/P&gt;&lt;P&gt;You can call the complete documentation about the ABAP Dictionary in every maintenance screen of a Dictionary object with Help ® Application help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;&lt;U&gt;Creating Projection Views&lt;/U&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter an explanatory short text in the field Short text. &lt;/P&gt;&lt;P&gt;You can for example find the view at a later time using this short text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter a table name in the field Base table. &lt;/P&gt;&lt;P&gt;A projection view always contains exactly one table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the fields of the base table that you want to include in the view. &lt;/P&gt;&lt;P&gt;Choose Table fields. The fields of the table are now displayed in a dialog box. You can copy fields by selecting them in the first column and choosing Copy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save your entries. &lt;/P&gt;&lt;P&gt;You are asked to assign the view a development class. You can change this development class later with Goto ® Object directory entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose .&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The help view is activated. At activation, a log is written; it can be displayed with Utilities ® Activation log. If errors or warnings occurring when the view was activated, they are displayed directly in the activation log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other Options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create documentation: You can create information about using the view with Goto ® Documentation. This documentation is output for example when you print the view. &lt;/P&gt;&lt;P&gt;Change data element of a view field: Select column Mod (modification) for the particular view field. The Data element field is now ready for input. You can enter a data element that refers to the same domain as the data element of the assigned table field here. Cancel the Mod flag if you want to use the data element of the assigned table field again. &lt;/P&gt;&lt;P&gt;Change maintenance status: The maintenance status determines how you can access the view data from ABAP programs (read only, read and change). Choose Extras ® Maintenance status. A dialog box appears in which you can select the maintenance status of the view. &lt;/P&gt;&lt;P&gt;Check functions: With Utilities ® Runtime object ® Check you can determine whether the definition of the view in the ABAP Dictionary maintenance screen is identical to the specifications in the runtime object of the view. With Utilities ® Runtime object ® Display you can display the runtime object of the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;_maintanance view&lt;/STRONG&gt;_&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the maintanance view view is different from other views ..because by using it we can change the data in the table ..... you mayit be see and used it ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whereas in the search help we should not change the data in the table .... it is used for user helping purpose ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that the maintance view is not used in search help ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note :&lt;/P&gt;&lt;P&gt;There are some restrictions for selecting the secondary tables of a maintenance view or help view. The secondary tables have to be in an N:1 dependency to the primary table or directly preceding secondary table. This ensures that there is at most one dependent record in each of the secondary tables for a data record in the primary table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through the below link for diagramatically explaination of the maintance view not used in search help ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ec9e446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ec9e446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;_Help View&lt;/STRONG&gt;_&lt;/P&gt;&lt;P&gt;You have to create a HELP VIEW for a TABLE&lt;/P&gt;&lt;P&gt;Then for that table the help view is displayed&lt;/P&gt;&lt;P&gt;Help View ( SE54) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help views are used to output additional information when the online help system is called. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Sreelatha Gullapalli&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:17:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379144#M811368</guid>
      <dc:creator>sreelatha_gullapalli</dc:creator>
      <dc:date>2008-02-15T05:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: different views</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379145#M811369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dude,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DB View:&lt;/P&gt;&lt;P&gt;The database view is the only type of view in SAP that is physically created at the database level.  In other words, the underlying database system also directly recognises the view, apart from SAP.  Therefore, database views must be created over transparent tables.&lt;/P&gt;&lt;P&gt;With the database view, all three of the relational operations (projection, selection, and join) can be used.&lt;/P&gt;&lt;P&gt;Database views can be buffered just like transparent tables.  In the technical settings you can decide whether to have buffering off, or on with type single record, generic, or full.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can be built over many tables&lt;/P&gt;&lt;P&gt;Data can be updated if the view is 	built over a single table &lt;/P&gt;&lt;P&gt;Data updates can use open SQL or 	Native SQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Updates are more efficient than using&lt;/P&gt;&lt;P&gt;a Projection View&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fields in the view can be named 	differently from the fields in the underlying table(s)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can be buffered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The projection view is a logical view.  In this context, the word &amp;#147;logical&amp;#148; means that the view exists within the ABAP Dictionary but is not recognised by the underlying database system.&lt;/P&gt;&lt;P&gt;Projection views must be defined over a single transparent table.&lt;/P&gt;&lt;P&gt;The only relational operation that is valid for a projection view is projection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Must be built over a single table	&lt;/P&gt;&lt;P&gt;Data can be updated	 &lt;/P&gt;&lt;P&gt;Data updates must use open SQL	&lt;/P&gt;&lt;P&gt;Updates are less efficient than using a Database View&lt;/P&gt;&lt;P&gt;Fields in the view must be named the same as the fields in the&lt;/P&gt;&lt;P&gt;underlying table &lt;/P&gt;&lt;P&gt;Can&amp;#146;t be buffered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help Views:  Help views can be used as selection methods for Search Helps.  (see chapter 1.10.x).  It might be necessary to create a Help View if you are trying to accomplish an outer join (see section 2.12.11), since database views only create inner joins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maintenance Views:  These views permit maintenance of base table data.  Transactions SM30 and SE54 are provided for working with maintenance views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshmanan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:31:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379145#M811369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T05:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: different views</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379146#M811370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank u very much for ur answres&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 07:07:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/different-views/m-p/3379146#M811370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T07:07:54Z</dc:date>
    </item>
  </channel>
</rss>

