<?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: difference b/w view and innerjoin in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-view-and-innerjoin/m-p/2551589#M581082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A DB view is a dictionary object, accessible by any ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each table join has to be coded from the beginning in each ABAP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A table join allows dynamic selections such as dates, a DB view does not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Views came in ver 3 of R/3 (1996/7), joins were later (ver 4) so you will often find views being used for historical reasons only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Performance wise a DB view always seems to be a little slower than coding the join yourself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2007 15:19:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-12T15:19:11Z</dc:date>
    <item>
      <title>difference b/w view and innerjoin</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-view-and-innerjoin/m-p/2551587#M581080</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 are used to display data from tables based on particular field , what is the differece?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 15:12:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-view-and-innerjoin/m-p/2551587#M581080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T15:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: difference b/w view and innerjoin</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-view-and-innerjoin/m-p/2551588#M581081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The view is persistent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 15:17:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-view-and-innerjoin/m-p/2551588#M581081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T15:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: difference b/w view and innerjoin</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-view-and-innerjoin/m-p/2551589#M581082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A DB view is a dictionary object, accessible by any ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each table join has to be coded from the beginning in each ABAP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A table join allows dynamic selections such as dates, a DB view does not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Views came in ver 3 of R/3 (1996/7), joins were later (ver 4) so you will often find views being used for historical reasons only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Performance wise a DB view always seems to be a little slower than coding the join yourself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 15:19:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-view-and-innerjoin/m-p/2551589#M581082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T15:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: difference b/w view and innerjoin</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-view-and-innerjoin/m-p/2551590#M581083</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;Views are the part of data dictonary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 4 types of views: Database 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 statement and use Outer join for Help Views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join is used in coding also to join database tables.&lt;/P&gt;&lt;P&gt;&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 15:19:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-view-and-innerjoin/m-p/2551590#M581083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T15:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: difference b/w view and innerjoin</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-view-and-innerjoin/m-p/2551591#M581084</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;DB View can be resued in several program. If you want to use it only in one of your program, join is easier....and you can use inner/outer join in you program, based on your needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Views might be cached by application servers, joins are always accessed by database directly.&lt;/P&gt;&lt;P&gt;But most times joins (/views) are anyway complex and need a lot of entries -&amp;gt; caching is not useful.&lt;/P&gt;&lt;P&gt;Different approach (especially, when some indices are not used which you would prefer): select first table(s) into an internal table, read the rest 'for all entries' (which again is not cached).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; "The data of a view is derived from one or more tables, but not stored physically". It is accessed at runtime from these underlying tables.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swati Garg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 15:19:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-view-and-innerjoin/m-p/2551591#M581084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T15:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: difference b/w view and innerjoin</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-view-and-innerjoin/m-p/2551592#M581085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi naveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. When we write sql query in abap,&lt;/P&gt;&lt;P&gt;   we use join (to join two tables).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. But in view, &lt;/P&gt;&lt;P&gt;    view is stored in data dictionary and in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   So no special abap code is required to join the tables.&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;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;aimt m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 15:22:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-view-and-innerjoin/m-p/2551592#M581085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T15:22:01Z</dc:date>
    </item>
  </channel>
</rss>

