<?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: performance difference in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-difference/m-p/2533517#M574719</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guest,&lt;/P&gt;&lt;P&gt;     If a Database View already exist, use it instead of the inner joi statements.&lt;/P&gt;&lt;P&gt;If it doesn't, do not create the Database View. It makes no sesne to create a database view just because you need it in a program or 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, if you have the same inner join being repeated for 8 times, for different where condition, I would rather sugget to select the data in only one inner-join select(With a where condition that would get al the records). Then you can read the internal table using READ or LOOP statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2007 09:08:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-23T09:08:59Z</dc:date>
    <item>
      <title>performance difference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-difference/m-p/2533513#M574715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. is there any performance difference b/w  macro and perform(abap routine)..which is better?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. also b/w  view and inner join....?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 08:53:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-difference/m-p/2533513#M574715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T08:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: performance difference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-difference/m-p/2533514#M574716</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;MACRO Is just grouing of the CODE and its not syntax  checked. Also you cannot pass paramters to a macro, though you can pass using the place holders &amp;amp; there is a limit on the number of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where as PERFORM Is fully syntax checked and you can pass as many parameters as you want, you can pass by value or pass by reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM Is more useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MACROS should be used only when you want similar code repetetivly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM should be used for modularization of the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VIEW is also a JOIN, but only VIEW of type Database view used INNER JOIN, Maintenance view , help view are OUTER JOINS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VIEW is more helpful as there will be an underlying view in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 08:56:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-difference/m-p/2533514#M574716</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-07-23T08:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: performance difference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-difference/m-p/2533515#M574717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to what Sesh has told...&lt;/P&gt;&lt;P&gt;We can not debug a Macro , where as we can debug a Subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:03:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-difference/m-p/2533515#M574717</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-07-23T09:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: performance difference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-difference/m-p/2533516#M574718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sesh,&lt;/P&gt;&lt;P&gt;thanks for responce&lt;/P&gt;&lt;P&gt;can i get better performance..by replacing a inner join by a view in abap program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;coz the same inner join is used for 8 times in the program, with different where clauses&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:05:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-difference/m-p/2533516#M574718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T09:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: performance difference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-difference/m-p/2533517#M574719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guest,&lt;/P&gt;&lt;P&gt;     If a Database View already exist, use it instead of the inner joi statements.&lt;/P&gt;&lt;P&gt;If it doesn't, do not create the Database View. It makes no sesne to create a database view just because you need it in a program or 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, if you have the same inner join being repeated for 8 times, for different where condition, I would rather sugget to select the data in only one inner-join select(With a where condition that would get al the records). Then you can read the internal table using READ or LOOP statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:08:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-difference/m-p/2533517#M574719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T09:08:59Z</dc:date>
    </item>
  </channel>
</rss>

