<?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: VIEW created from two tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-created-from-two-tables/m-p/1972851#M399003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saravanan,&lt;/P&gt;&lt;P&gt;The global views defined in SE11 are fastest and right approach to fetch the records from more than one table. And to reduce the fetch time you can narrow down your query by including more fields.&lt;/P&gt;&lt;P&gt;Even joins are faster then accessing tables individually but views are reusable plus a bit more faster than joins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. rewards points if replies are helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 Feb 2007 23:39:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-11T23:39:13Z</dc:date>
    <item>
      <title>VIEW created from two tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-created-from-two-tables/m-p/1972845#M398997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i have created a view between two tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. i want to know whether will i get the upto date data if i fetch data from the view.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Does  view fetch data from table every time when it is used or it stores it in buffer or something like that.? If it fetches every time ,then what is the advantage over accessing  tables directly using joins?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 16:22:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-created-from-two-tables/m-p/1972845#M398997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T16:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: VIEW created from two tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-created-from-two-tables/m-p/1972846#M398998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is exactly like a join.&lt;/P&gt;&lt;P&gt;A view is a dynamic structure/table filled only at runtime !&lt;/P&gt;&lt;P&gt;This is a projection on 2 or more tables...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want a progammaticaly opinion, it's better using a Join, because you won't be able to create a View each time you need to join tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erwan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Erwan LE BRUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 16:34:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-created-from-two-tables/m-p/1972846#M398998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T16:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: VIEW created from two tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-created-from-two-tables/m-p/1972847#M398999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi erwan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i used join(mseg and Mkpf)  but it takes much time as i have only non key fields(werks) in where clause when i run for whole plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at this situation what would you suggest?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 16:45:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-created-from-two-tables/m-p/1972847#M398999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T16:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: VIEW created from two tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-created-from-two-tables/m-p/1972848#M399000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When you create the view, a buffer will be created for that view, so first time when you access the view then the data will be there in the buffer, so when you retrive the data second time then it will be fetch the data from buffer. so it is bettwe to use the Join instead of the views&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 16:47:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-created-from-two-tables/m-p/1972848#M399000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T16:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: VIEW created from two tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-created-from-two-tables/m-p/1972849#M399001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;  Views are database objects . &lt;/P&gt;&lt;P&gt; There are four types of views .&lt;/P&gt;&lt;P&gt; 1) Data Base . &lt;/P&gt;&lt;P&gt; 2) Projection &lt;/P&gt;&lt;P&gt; 3) Help .&lt;/P&gt;&lt;P&gt; 4) Maintenance &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Views have advantage over joins is View can be used many number of times as it is data base object . according to our business logic we will create view which can be used when that business logic is required .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can get upto Date data in views using bypassing buffer addition in select statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 18:45:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-created-from-two-tables/m-p/1972849#M399001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T18:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: VIEW created from two tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-created-from-two-tables/m-p/1972850#M399002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saravanan,&lt;/P&gt;&lt;P&gt;Views are definitely advantageous. And you can use views over joins.&lt;/P&gt;&lt;P&gt;But remember that just like joins, views using 3 or more tables can be slightly slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The view doesnt store any data on its own. A view is only a logical join.&lt;/P&gt;&lt;P&gt;And it does make use of the DB buffers already defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be, you need to check if you have defined your view correctly. Check your view join conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this answers ur question. Reward points if it does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Prashanth.&lt;/P&gt;&lt;P&gt;SAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 19:00:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-created-from-two-tables/m-p/1972850#M399002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T19:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: VIEW created from two tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-created-from-two-tables/m-p/1972851#M399003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saravanan,&lt;/P&gt;&lt;P&gt;The global views defined in SE11 are fastest and right approach to fetch the records from more than one table. And to reduce the fetch time you can narrow down your query by including more fields.&lt;/P&gt;&lt;P&gt;Even joins are faster then accessing tables individually but views are reusable plus a bit more faster than joins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. rewards points if replies are helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Feb 2007 23:39:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-created-from-two-tables/m-p/1972851#M399003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-11T23:39:13Z</dc:date>
    </item>
  </channel>
</rss>

