<?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: join in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/2199641#M469825</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;There are 4 types views are avilable in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database View - To club more than one table&lt;/P&gt;&lt;P&gt;Projection View - To hide fields in one table&lt;/P&gt;&lt;P&gt;Maintanance View - To maintain database records in table&lt;/P&gt;&lt;P&gt;Help View - To provide help for a fields (Same functionality as Search help. This is outdated)&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;&lt;/P&gt;&lt;P&gt;note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Views does not contain data in it. It fetches data from the database only depending on the condition ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Views are part of data dictionary. They are a window to view the data in database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.views can be used to give security to data. users can be allowed to view only basic data only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Reshma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Apr 2007 09:34:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-27T09:34:04Z</dc:date>
    <item>
      <title>join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/2199640#M469824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the difference between view and join&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 09:33:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/2199640#M469824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T09:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/2199641#M469825</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;There are 4 types views are avilable in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database View - To club more than one table&lt;/P&gt;&lt;P&gt;Projection View - To hide fields in one table&lt;/P&gt;&lt;P&gt;Maintanance View - To maintain database records in table&lt;/P&gt;&lt;P&gt;Help View - To provide help for a fields (Same functionality as Search help. This is outdated)&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;&lt;/P&gt;&lt;P&gt;note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Views does not contain data in it. It fetches data from the database only depending on the condition ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Views are part of data dictionary. They are a window to view the data in database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.views can be used to give security to data. users can be allowed to view only basic data only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Reshma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 09:34:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/2199641#M469825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T09:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/2199642#M469826</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;From "Design, Implementation, and Analysis of Performance-Optimized Programs" on service.sap.com/performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"With group requests from different tables, use JOINs or VIEWs. The JOIN is coded directly in ABAP. You can easily adapt it to the requirements of a specific application. The VIEW, however, is specified in the DDIC, which enforces definition uniformity throughout the program. VIEWs, like any table definition, may be used in multiple areas of the program, thus reducing the number of different statements in the statement cache. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't use JOINs or VIEWs over tables that are buffered with their technical settings. It is possible, in principle, to buffer a VIEW, but only in rare cases when you can buffer all concerned tables as well. Buffering a VIEW means not only less performance improvement, but also a significant rise in memory allocation and overhead during buffer synchronization. If you mix buffered and unbuffered tables in one access rather than reading both table types, you always lose performance because the database interface will not use the existing buffers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the SAP environment, there is a small but significant difference between JOIN and VIEW: In client dependent tables, every table in the JOIN MANDT = SY-MANDT is generated as part of the WHERE clause. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For VIEW, however, this WHERE clause is generated only for the table that provides MANDT in the VIEW projection list. Even though MANDT from each of the tables can join together the VIEW tables, significant processing differences in these tables can occur within VIEW if MANDT also appears in the indexes of the other tables that are included. These differences result from the fact that database optimizers only interpret the WHERE clause of VIEW to determine the first access. Therefore, you should take MANDT from the field list of the VIEW from the table providing the most selective first access. If the secondary tables include MANDT in their indexes and a selective primary table cannot be determined, then you should not use a VIEW. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 09:35:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/2199642#M469826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T09:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/2199643#M469827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;    both have the same role the diff is that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;views are the part of  data dictonary&amp;lt;/b&amp;gt;&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;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 09:36:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/2199643#M469827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T09:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/2199644#M469828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;view is nothing but a reflection of database table. every operation on a table effects its view. but join is a different scenrio where a table is joined with itself or with other table.any operation on join table doesn't effect the base table where the base table is effected in case of views.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 09:38:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/2199644#M469828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T09:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/2199645#M469829</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;  There are 4 types of views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Data base view , Projection view , Maintenance view and Help View.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   In Database view , we use Inner join .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Help views use Outer join .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Joins are used in coding also to join Data base Tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Views give better Performance compared to inner &amp;amp; Outer joins in coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  USR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 09:41:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/2199645#M469829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T09:41:39Z</dc:date>
    </item>
  </channel>
</rss>

