<?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 in ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077557#M974965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in most cases performance issue is caused by select query.... most common mistake being.. imagin there is a report with the following fields on the selection screen&lt;/P&gt;&lt;P&gt;bukrs,belnr,gjahr,werks,matnr...and u have to make a select on BSEG table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select * from bseg into tb_bseg&lt;/P&gt;&lt;P&gt;    where  bukrs in s_bukrs and&lt;/P&gt;&lt;P&gt;                                       belnr in s_belnr and&lt;/P&gt;&lt;P&gt;                                       gjahr in s_gjahr and&lt;/P&gt;&lt;P&gt;                                        werks in s_werks and&lt;/P&gt;&lt;P&gt;                                       matnr in s_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u do it this way ur program will get killed... always use key fields on the where clause of select query. and delete the reset using delete statament as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select * from bseg where  bukrs in s_bukrs and&lt;/P&gt;&lt;P&gt;                                       belnr in s_belnr and&lt;/P&gt;&lt;P&gt;                                       gjahr in s_gjahr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  delete tb_bseg where not werks in s_werks or&lt;/P&gt;&lt;P&gt;                       not matnr in s_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above method will have a tremendous impact on the performance of the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jul 2008 18:51:53 GMT</pubDate>
    <dc:creator>former_member1007904</dc:creator>
    <dc:date>2008-07-07T18:51:53Z</dc:date>
    <item>
      <title>performance in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077549#M974957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz explain what is T code to check performance tunig&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u plz explain me what important points 2 improve performance &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jul 2008 04:22:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077549#M974957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-05T04:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: performance in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077550#M974958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    Use TCode : SE30, give ur program name and execute it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jul 2008 04:25:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077550#M974958</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2008-07-05T04:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: performance in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077551#M974959</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 se30 for Runtime analysis.&lt;/P&gt;&lt;P&gt;ST05 for SQL trace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks,&lt;/P&gt;&lt;P&gt;Keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jul 2008 04:26:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077551#M974959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-05T04:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: performance in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077552#M974960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    After executing click on analyse, it gives u &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP&lt;/P&gt;&lt;P&gt;DATABASE&lt;/P&gt;&lt;P&gt;SYSTEM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the time taken to execute in ABAP, it gives the time taken by our code to execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for further details click on Tips &amp;amp; Tricks on SE30 Tcode&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;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jul 2008 04:31:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077552#M974960</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2008-07-05T04:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: performance in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077553#M974961</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 r mant things which you have to take care for performance issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, plz avoid using SELECT * query as it put extra pressure on the Database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the load and runtime analysis from SE30 which will give u a clear idea of Load on Database and improves the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;\[removed by moderator\]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sumit Agarwal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Jan Stallkamp on Jul 30, 2008 4:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jul 2008 04:37:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077553#M974961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-05T04:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: performance in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077554#M974962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Check the following link. You can get all the ways to improve performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrainsonline.com/ARTICLES/TECHNICAL/optimization/optimization.html" target="test_blank"&gt;http://www.sapbrainsonline.com/ARTICLES/TECHNICAL/optimization/optimization.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jul 2008 04:56:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077554#M974962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-05T04:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: performance in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077555#M974963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel you are talking about overall performance tuning of a transaction/program. In the sense, you have to take care of both ABAP as well as database side. You can use ST05 for taking sql trace for a transaction/program. From there you can find out in which statement most of the time is being spent. There could be various reasons for high database time for a transaction ( database bug, optimizer statistics, missing indexes, storage quality of the index (if optimizer chooses proper index in the explain plan), database parameters, user inputs are not optimal). Only do ST05 trace if you are finding database time is high for a program/transaction. Based on the previous history (ST03N), you can decide which trace you want to take. If the CPU time is high, then it could be problem with the ABAP code, For taking the ABAP trace you can use SE30 transaction. Also there are tips &amp;amp; tricks button where you can see the examples of ABAP program as well as you can compare the time measurement. This is a good guide. One more option is you can create variant and dig into one program in detail. However as of now. both of these tools are i would say some what obsolete. You can use new ST12 trace tool, which is having enhanced features as well as you will get both ABAP and sql trace in this. &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;Yours Sincerely&lt;/P&gt;&lt;P&gt;Dileep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 15:35:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077555#M974963</guid>
      <dc:creator>former_member251078</dc:creator>
      <dc:date>2008-07-07T15:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: performance in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077556#M974964</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;Go throught this link &amp;amp; pfd of werner schwarz u get all&lt;/P&gt;&lt;P&gt;details of performace tuning..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.esnips.com/doc/d4aea974-b8ff-49f5-8fa1-977c90c5cdbf/Performance-Problems-in-ABAP-Programs-How-to-Find-Them" target="test_blank"&gt;http://www.esnips.com/doc/d4aea974-b8ff-49f5-8fa1-977c90c5cdbf/Performance-Problems-in-ABAP-Programs-How-to-Find-Them&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/c6/617d2ae68c11d2b2ab080009b43351/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/c6/617d2ae68c11d2b2ab080009b43351/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;\[removed by moderator\]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Jan Stallkamp on Jul 30, 2008 4:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 16:50:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077556#M974964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T16:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: performance in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077557#M974965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in most cases performance issue is caused by select query.... most common mistake being.. imagin there is a report with the following fields on the selection screen&lt;/P&gt;&lt;P&gt;bukrs,belnr,gjahr,werks,matnr...and u have to make a select on BSEG table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select * from bseg into tb_bseg&lt;/P&gt;&lt;P&gt;    where  bukrs in s_bukrs and&lt;/P&gt;&lt;P&gt;                                       belnr in s_belnr and&lt;/P&gt;&lt;P&gt;                                       gjahr in s_gjahr and&lt;/P&gt;&lt;P&gt;                                        werks in s_werks and&lt;/P&gt;&lt;P&gt;                                       matnr in s_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u do it this way ur program will get killed... always use key fields on the where clause of select query. and delete the reset using delete statament as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select * from bseg where  bukrs in s_bukrs and&lt;/P&gt;&lt;P&gt;                                       belnr in s_belnr and&lt;/P&gt;&lt;P&gt;                                       gjahr in s_gjahr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  delete tb_bseg where not werks in s_werks or&lt;/P&gt;&lt;P&gt;                       not matnr in s_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above method will have a tremendous impact on the performance of the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 18:51:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-abap/m-p/4077557#M974965</guid>
      <dc:creator>former_member1007904</dc:creator>
      <dc:date>2008-07-07T18:51:53Z</dc:date>
    </item>
  </channel>
</rss>

