<?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: Native SQL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185700#M1200181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your purpose is to find out what the OpenSQL is being translated to, you can run ST05 and capture the SQL in a trace.  Then you can use the Explain Plan function to see what it is doing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Feb 2009 20:00:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-20T20:00:41Z</dc:date>
    <item>
      <title>Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185696#M1200177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need help in rewriting the below Open SQL to  Native SQL using DB cursor for opening, fetching and Closing  to capture the runtime errors occured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not itab1[] is initial.&lt;/P&gt;&lt;P&gt;Select gl_sirid ryear poper rprctr sgtxt ps_psp_nr&lt;/P&gt;&lt;P&gt;from glpca&lt;/P&gt;&lt;P&gt;          appending table i_itab2 package size 1000&lt;/P&gt;&lt;P&gt;          for all entries in itab1&lt;/P&gt;&lt;P&gt;          where kokrs = itab1-kokrs&lt;/P&gt;&lt;P&gt;          and    ryear = p_year    "Parameter&lt;/P&gt;&lt;P&gt;          and    rprctr = itab1-prctr    &lt;/P&gt;&lt;P&gt;          and    rvers = c_per_ver   "Constant with value = '000'&lt;/P&gt;&lt;P&gt;          and    racct in s_racct.  "Select-option&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2009 19:18:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185696#M1200177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-20T19:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185697#M1200178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;since you have a SELECT-OPTION, it would be very difficult to convert this to native SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But why do you want to do this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2009 19:31:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185697#M1200178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-20T19:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185698#M1200179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After more than 6 hours the batch job is timing out without any short dump traces. Wanted to capture the&lt;/P&gt;&lt;P&gt;reason for short dump.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2009 19:43:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185698#M1200179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-20T19:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185699#M1200180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I think you should stick with trying to analyze the open SQL code. Since there is no dump, is there any system log message? You will have to look at the log on the server where the program ran.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2009 19:52:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185699#M1200180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-20T19:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185700#M1200181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your purpose is to find out what the OpenSQL is being translated to, you can run ST05 and capture the SQL in a trace.  Then you can use the Explain Plan function to see what it is doing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2009 20:00:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185700#M1200181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-20T20:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185701#M1200182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried ST05 to analyze the error but its not getting captured. To capture the exact reason for the error only the Native SQL catch can help .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2009 20:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185701#M1200182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-20T20:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185702#M1200183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could run program RSDB0004, then navigate to "SQL Statement Analysis" and "Shared Cursor Cache" to view the actual Native SQL there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are on Oracle, you could look in the Oracle trace files or dump files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2009 20:28:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185702#M1200183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-20T20:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185703#M1200184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where can i find SQL Statment Analysis after executing the program RSDB0004 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2009 21:02:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185703#M1200184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-20T21:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185704#M1200185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my system it is under the "Performance" folder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2009 21:50:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql/m-p/5185704#M1200185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-20T21:50:03Z</dc:date>
    </item>
  </channel>
</rss>

