<?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: ST05 - Explain SQL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980086#M71745</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 this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/17/358df9c9fee2469105731e10756921/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/17/358df9c9fee2469105731e10756921/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_webas610/helpdata/en/d1/801f89454211d189710000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_webas610/helpdata/en/d1/801f89454211d189710000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use SE30 to analyze performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;To know the usuage of Explain one SQL statement,just follow the link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_bw30b/helpdata/en/d1/801fd7454211d189710000e8322d00/content.htm&amp;lt;/b&amp;gt;" target="test_blank"&gt;http://help.sap.com/saphelp_bw30b/helpdata/en/d1/801fd7454211d189710000e8322d00/content.htm&amp;lt;/b&amp;gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jayanthi Jayaraman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jul 2005 11:33:51 GMT</pubDate>
    <dc:creator>jayanthi_jayaraman</dc:creator>
    <dc:date>2005-07-25T11:33:51Z</dc:date>
    <item>
      <title>ST05 - Explain SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980079#M71738</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;I'm using version 4.6C and I want to fine tune my SQL using the Explain SQL function, however I am having difficulty understanding what syntax to use in the tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effectively I want to understand more about the performance of the following statement:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select cpident tabkey&lt;/P&gt;&lt;P&gt;from bdcps&lt;/P&gt;&lt;P&gt;join on bdcp&lt;/P&gt;&lt;P&gt;where bdcps&lt;SUB&gt;cpident = bdcp&lt;/SUB&gt;cpident&lt;/P&gt;&lt;P&gt;where bdcps~mestype = 'XXXXXXXX'&lt;/P&gt;&lt;P&gt;and   bdcps~process = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However ST05 doesn't seem to understand what I am typing and keeps giving me an error, saying 'Change update/delete to select if possible', what format of the above statement would ST05 recognise?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 10:19:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980079#M71738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-25T10:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: ST05 - Explain SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980080#M71739</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;Your select statement should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here itab should be declared as internal table holding the two fields mentioned in select.&lt;/P&gt;&lt;P&gt;select cpident tabkey&lt;/P&gt;&lt;P&gt;from bdcps&lt;/P&gt;&lt;P&gt;join bdcp into table itab&lt;/P&gt;&lt;P&gt;on bdcps&lt;SUB&gt;cpident = bdcp&lt;/SUB&gt;cpident&lt;/P&gt;&lt;P&gt;where bdcps~mestype = 'XXXXXXXX'&lt;/P&gt;&lt;P&gt;and bdcps~process = ' '.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 10:27:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980080#M71739</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-25T10:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: ST05 - Explain SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980081#M71740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jayanthi,&lt;/P&gt;&lt;P&gt;However, I really want to know how I would enter this statement in the the ST05 Explain SQL statement transaction (as this would help me in the future for other queries), I just can't get ST05 to understand my query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 10:31:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980081#M71740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-25T10:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: ST05 - Explain SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980082#M71741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select a&lt;SUB&gt;cpident a&lt;/SUB&gt;tabkey&lt;/P&gt;&lt;P&gt;into table i_tab&lt;/P&gt;&lt;P&gt;from bdcps as a&lt;/P&gt;&lt;P&gt;inner join bdcp as b&lt;/P&gt;&lt;P&gt;ON a&lt;SUB&gt;cpident = b&lt;/SUB&gt;cpident&lt;/P&gt;&lt;P&gt;where a~mestype = 'XXXXXXXX'&lt;/P&gt;&lt;P&gt;and a~process = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this one. Ur Select query was wrong.&lt;/P&gt;&lt;P&gt;SQL Trace   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL trace(ST05) provides the developer with the ability to analyse database select statements. Simply execute ST05 &lt;/P&gt;&lt;P&gt;to turn on SQL trace, then execute the statement/program you want to analyse. Now turn off SQL trace using ST05 &lt;/P&gt;&lt;P&gt;and click on list trace to view the details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also perform traces on other items such as authorisation objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/security/authority/authority_authtrace.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/security/authority/authority_authtrace.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 10:33:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980082#M71741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-25T10:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: ST05 - Explain SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980083#M71742</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;step 1:Create a ABAP Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 2:Activate the program without errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 3:Go to ST05 Transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 4:Check mark SQL Trace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 5:Click Trace on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 6:Execute the program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 7:Trace off&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 8:List trace&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 10:39:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980083#M71742</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-25T10:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: ST05 - Explain SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980084#M71743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Judith,&lt;/P&gt;&lt;P&gt;However ST05 doesn't like this syntax either:-&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;cpident a&lt;/SUB&gt;tabkey&lt;/P&gt;&lt;P&gt;into table i_tab&lt;/P&gt;&lt;P&gt;from bdcps as a&lt;/P&gt;&lt;P&gt;inner join bdcp as b&lt;/P&gt;&lt;P&gt;ON a&lt;SUB&gt;cpident = b&lt;/SUB&gt;cpident&lt;/P&gt;&lt;P&gt;where a~mestype = 'XXXXXXXX'&lt;/P&gt;&lt;P&gt;and a~process = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just for clarification, I am using ST05, hitting the 'Explain one SQL request' button, this then takes me to a screen where I can enter a specific statement. I want to learn how to use this transaction, rather than having to create an ABAP program each time. It would be handy to get an immediate verdict on what my statement will do in the system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 10:43:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980084#M71743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-25T10:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: ST05 - Explain SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980085#M71744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/perform/perform_sqltrace.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/perform/perform_sqltrace.htm&lt;/A&gt; In this link it is mentioned u can &amp;lt;b&amp;gt;execute the statement/program you want to analyse&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to add, u cant run the trace without any program it will work together when u run a report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure to turn off the trace or else it will run and slow down the system performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So u cant run for an individual slect, u have to write  a program and run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope u got it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u have solved ur problem kindly reward and close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Judith Jessie Selvi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 11:12:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980085#M71744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-25T11:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: ST05 - Explain SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980086#M71745</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 this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/17/358df9c9fee2469105731e10756921/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/17/358df9c9fee2469105731e10756921/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_webas610/helpdata/en/d1/801f89454211d189710000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_webas610/helpdata/en/d1/801f89454211d189710000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use SE30 to analyze performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;To know the usuage of Explain one SQL statement,just follow the link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_bw30b/helpdata/en/d1/801fd7454211d189710000e8322d00/content.htm&amp;lt;/b&amp;gt;" target="test_blank"&gt;http://help.sap.com/saphelp_bw30b/helpdata/en/d1/801fd7454211d189710000e8322d00/content.htm&amp;lt;/b&amp;gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jayanthi Jayaraman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 11:33:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980086#M71745</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-25T11:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: ST05 - Explain SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980087#M71746</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 to ST05-&amp;gt;Explain one SQL statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type in Uppercase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM MARA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No fullstop should be given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then click Explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see the trace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem.If so,kindly close the thread by rewarding points.Otherwise,get back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you tried?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jayanthi Jayaraman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 11:57:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980087#M71746</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-25T11:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: ST05 - Explain SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980088#M71747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something out of topic:&lt;/P&gt;&lt;P&gt;use view BDCPV instead of a join. That's the common way and you might profit from buffering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 13:59:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st05-explain-sql/m-p/980088#M71747</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2005-07-25T13:59:08Z</dc:date>
    </item>
  </channel>
</rss>

