<?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 Performance tuning using ST05 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-using-st05/m-p/3571344#M859583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Please suggest alternative queries for the following SQL Statement which takes much time .&lt;/P&gt;&lt;P&gt;SELECT   bukrs&lt;/P&gt;&lt;P&gt;         belnr                       &lt;/P&gt;&lt;P&gt;         gjahr                       &lt;/P&gt;&lt;P&gt;         blart                       &lt;/P&gt;&lt;P&gt;         bldat                       &lt;/P&gt;&lt;P&gt;         budat                       &lt;/P&gt;&lt;P&gt;         wwert                       &lt;/P&gt;&lt;P&gt;         usnam                       &lt;/P&gt;&lt;P&gt;         ppnam                       &lt;/P&gt;&lt;P&gt;       FROM bkpf&lt;/P&gt;&lt;P&gt;       INTO TABLE p_i_bkpf&lt;/P&gt;&lt;P&gt;       WHERE   bukrs = p_bukrs and&lt;/P&gt;&lt;P&gt;	       blart in s_blart   and&lt;/P&gt;&lt;P&gt;                       budat in s_budat  and&lt;/P&gt;&lt;P&gt;                       waers = p_waers and&lt;/P&gt;&lt;P&gt;                       ppnam ne space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) What is the difference between reopen and fech?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) What it is PROCESS ID in Activate Trace with filter option?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) What is Enter SQL Statement option?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Mar 2008 08:09:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-21T08:09:41Z</dc:date>
    <item>
      <title>Performance tuning using ST05</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-using-st05/m-p/3571344#M859583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Please suggest alternative queries for the following SQL Statement which takes much time .&lt;/P&gt;&lt;P&gt;SELECT   bukrs&lt;/P&gt;&lt;P&gt;         belnr                       &lt;/P&gt;&lt;P&gt;         gjahr                       &lt;/P&gt;&lt;P&gt;         blart                       &lt;/P&gt;&lt;P&gt;         bldat                       &lt;/P&gt;&lt;P&gt;         budat                       &lt;/P&gt;&lt;P&gt;         wwert                       &lt;/P&gt;&lt;P&gt;         usnam                       &lt;/P&gt;&lt;P&gt;         ppnam                       &lt;/P&gt;&lt;P&gt;       FROM bkpf&lt;/P&gt;&lt;P&gt;       INTO TABLE p_i_bkpf&lt;/P&gt;&lt;P&gt;       WHERE   bukrs = p_bukrs and&lt;/P&gt;&lt;P&gt;	       blart in s_blart   and&lt;/P&gt;&lt;P&gt;                       budat in s_budat  and&lt;/P&gt;&lt;P&gt;                       waers = p_waers and&lt;/P&gt;&lt;P&gt;                       ppnam ne space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) What is the difference between reopen and fech?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) What it is PROCESS ID in Activate Trace with filter option?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) What is Enter SQL Statement option?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2008 08:09:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-using-st05/m-p/3571344#M859583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-21T08:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Performance tuning using ST05</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-using-st05/m-p/3571345#M859584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Include all the key fields BUKRS, BELNR, GJAHR to improve the performace in the where condition of your select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2008 08:11:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-using-st05/m-p/3571345#M859584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-21T08:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Performance tuning using ST05</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-using-st05/m-p/3571346#M859585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; For your query try to use some primary keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each SQL statement is broken down into database operations by the SAP System The SQL Trace allows you to measure the runtime of each of these operations: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DECLARE &lt;/P&gt;&lt;P&gt; Defines a new cursor within an SAP work process and assigns the SQL statement to it. The short form of the statement is displayed in the list of trace records under statement. The cursor has a unique cursor ID. The Cursor ID is used in communication between the SAP System and the database system.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PREPARE&lt;/P&gt;&lt;P&gt; Converts the SQL statement and determines the execution plan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;OPEN&lt;/P&gt;&lt;P&gt; Opens a cursor for a prepared (converted) SELECT statement. OPEN passes the parameters for the database access. OPEN is used only for SELECT statements.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FETCH&lt;/P&gt;&lt;P&gt; Passes one or more records selected in the SELECT statement to the database interface of the SAP System The data records are identified by the cursor ID. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;REOPEN &lt;/P&gt;&lt;P&gt; Reopens a cursor that the system prepared for a SELECT statement and transfers the new parameter to the database. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;EXEC &lt;/P&gt;&lt;P&gt; Passes the parameters for the database statement, and executes the statements that change data in the database (such as UPDATE, DELETE, or INSERT). &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;REEXEC &lt;/P&gt;&lt;P&gt; Reopens a statement the system already prepared for a previous EXEC statement.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;refer the link for your ques.&lt;/P&gt;&lt;P&gt;[http://help.sap.com/saphelp_nw04s/helpdata/en/0e/6a2442db42e22ce10000000a1550b0/frameset.htm]&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;Sourabh verma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2008 11:17:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-using-st05/m-p/3571346#M859585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-21T11:17:56Z</dc:date>
    </item>
  </channel>
</rss>

