<?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: Short Dump DBIF_SETG_SQL_ERROR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-dbif-setg-sql-error/m-p/1925228#M384023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;looks like there is come communication issues between SAP's application server and SAP's database server? some memory is not getting allocated initially. go to ST22 and c the detailed issue... in the description, u must find smthing try start doing something from the description of the analysis of problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ashwani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2007 04:29:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-01T04:29:09Z</dc:date>
    <item>
      <title>Short Dump DBIF_SETG_SQL_ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-dbif-setg-sql-error/m-p/1925226#M384021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anybody give me some insight as why this error occurs 1st time when the database ( any table) is being accessed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime errors         DBIF_RSQL_SQL_ERROR&lt;/P&gt;&lt;P&gt;Exception              CX_SY_OPEN_SQL_DB&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An SQL error occurred when accessing a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------" /&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An exception occurred. This exception is dealt with in more detail below&lt;/P&gt;&lt;P&gt;. The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was&lt;/P&gt;&lt;P&gt; neither&lt;/P&gt;&lt;P&gt;caught nor passed along using a RAISING clause, in the procedure&lt;/P&gt;&lt;P&gt; "REPOSITORY_READ" "(FORM)"&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Since the caller of the procedure could not have expected this exception&lt;/P&gt;&lt;P&gt; to occur, the running program was terminated.&lt;/P&gt;&lt;P&gt;The reason for the exception is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------" /&gt;&lt;P&gt;How to correct the error&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exception must either be prevented, caught within the procedure&lt;/P&gt;&lt;P&gt; "REPOSITORY_READ"&lt;/P&gt;&lt;P&gt;"(FORM)", or declared in the procedure's RAISING clause.&lt;/P&gt;&lt;P&gt;To prevent the exception, note the following:&lt;/P&gt;&lt;P&gt;Database error text........: "ORA-04031: unable to allocate 4200 bytes of&lt;/P&gt;&lt;P&gt; shared memory ("shared pool","SELECT /*+ FIRST_ROWS */ * ...","library&lt;/P&gt;&lt;P&gt; cache","kkslpkp - literal info.")"&lt;/P&gt;&lt;P&gt;Internal call code.........: "[RSQL/FTCH/TRDIR ]"&lt;/P&gt;&lt;P&gt;Please check the entries in the system log (Transaction SM21).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may able to find an interim solution to the problem&lt;/P&gt;&lt;P&gt;in the SAP note system. If you have access to the note system yourself,&lt;/P&gt;&lt;P&gt;use the following search criteria:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------" /&gt;&lt;P&gt;"DBIF_RSQL_SQL_ERROR" CX_SY_OPEN_SQL_DBC&lt;/P&gt;&lt;P&gt;"SAPICP__ " or "ICP__F01 "&lt;/P&gt;&lt;P&gt;"REPOSITORY_READ"&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------" /&gt;&lt;P&gt;If you cannot solve the problem yourself, please send the&lt;/P&gt;&lt;P&gt;following documents to SAP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. A hard copy print describing the problem.&lt;/P&gt;&lt;P&gt;   To obtain this, select the "Print" function on the current screen.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. A suitable hardcopy prinout of the system log.&lt;/P&gt;&lt;P&gt;   To obtain this, call the system log with Transaction SM21&lt;/P&gt;&lt;P&gt;   and select the "Print" function to print out the relevant&lt;/P&gt;&lt;P&gt;   part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. If the programs are your own programs or modified SAP programs,&lt;/P&gt;&lt;P&gt;   supply the source code.&lt;/P&gt;&lt;P&gt;   To do this, you can either use the "PRINT" command in the editor or&lt;/P&gt;&lt;P&gt;   print the programs using the report RSINCL00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Details regarding the conditions under which the error occurred&lt;/P&gt;&lt;P&gt;   or which actions and input led to the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------" /&gt;&lt;P&gt;Information on where termination occurred&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The termination occurred in the ABAP program "SAPICP__ " in "REPOSITORY_READ".&lt;/P&gt;&lt;P&gt;The main program was "RSABAPPROGRAM ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The termination occurred in line 38 of the source code of the (Include)&lt;/P&gt;&lt;P&gt; program "ICP__F01 "&lt;/P&gt;&lt;P&gt;of the source code of program "ICP__F01 " (when calling the editor 380).&lt;/P&gt;&lt;P&gt;Processing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in&lt;/P&gt;&lt;P&gt; the&lt;/P&gt;&lt;P&gt;procedure "REPOSITORY_READ" "(FORM)" but was not handled locally, not declared&lt;/P&gt;&lt;P&gt; in the&lt;/P&gt;&lt;P&gt;RAISING clause of the procedure.&lt;/P&gt;&lt;P&gt;The procedure is in the program "SAPICP__ ". Its source code starts in line 30&lt;/P&gt;&lt;P&gt;of the (Include) program "ICP__F01 ".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 13:14:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-dbif-setg-sql-error/m-p/1925226#M384021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T13:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump DBIF_SETG_SQL_ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-dbif-setg-sql-error/m-p/1925227#M384022</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;Same error i am also getting. Please someone give a solution to this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subramanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 04:05:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-dbif-setg-sql-error/m-p/1925227#M384022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T04:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump DBIF_SETG_SQL_ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-dbif-setg-sql-error/m-p/1925228#M384023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;looks like there is come communication issues between SAP's application server and SAP's database server? some memory is not getting allocated initially. go to ST22 and c the detailed issue... in the description, u must find smthing try start doing something from the description of the analysis of problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ashwani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 04:29:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-dbif-setg-sql-error/m-p/1925228#M384023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T04:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump DBIF_SETG_SQL_ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-dbif-setg-sql-error/m-p/1925229#M384024</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;I did the step 2 in the solution below. It worked me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot to all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subramanya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution&lt;/P&gt;&lt;P&gt;There are two possible steps to avoid the occurrence of ORA-04031 in an SAP R/3 system. The provided steps should be exactly applied in the following order. Only if a one step does not solve the problem the next step should be executed:&lt;/P&gt;&lt;P&gt;STEP 1:   Reduce the memory consumption&lt;/P&gt;&lt;P&gt;Use the recommandations in Note 505246 together with Note 507254 to activate the CBO for the problematic statements.&lt;/P&gt;&lt;P&gt;STEP 2:   Increase the size of the shared pool&lt;/P&gt;&lt;P&gt;To benefit from the improved scalability of having multiple subpoolsplease adjust your SHARED_POOL_SIZE init.ora parameter for Oracle 9i or 10g using the following formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPS81   =   old (current) SHARED_POOL_SIZE being used&lt;/P&gt;&lt;P&gt;SPS92   =   new SHARED_POOL_SIZE needed for Oracle 9.2 or 10.x&lt;/P&gt;&lt;P&gt;cpus    =   CPU_COUNT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The existing values of  SPS81 and cpus can be queried from v$parameter:&lt;/P&gt;&lt;P&gt;select name, value from v$parameter where name in ('SHARED_POOL_SIZE', 'CPU_COUNT');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPS92 =  max ( SPS81, min (( cpus / 4 * 350 MB + 300 MB ), 2.75 GB ))&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;CPUs   Shared_Pool_Size   New Shared Pool Size&lt;/P&gt;&lt;P&gt;   4              500M                   650M&lt;/P&gt;&lt;P&gt;   6                1G                    1G&lt;/P&gt;&lt;P&gt;  10                1G                 1.175G&lt;/P&gt;&lt;P&gt;  32                2G                  2.75G&lt;/P&gt;&lt;P&gt;  64                2G                  2.75G&lt;/P&gt;&lt;P&gt;128                3G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 09:07:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-dbif-setg-sql-error/m-p/1925229#M384024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T09:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump DBIF_SETG_SQL_ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-dbif-setg-sql-error/m-p/1925230#M384025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find the solution in the below URL .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subramanya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://websmp108.sap-ag.de/~form/handler?_APP=01100107900000000342&amp;amp;_EVENT=REDIR&amp;amp;_NNUM=690241&amp;amp;_NLANG=E" target="test_blank"&gt;https://websmp108.sap-ag.de/~form/handler?_APP=01100107900000000342&amp;amp;_EVENT=REDIR&amp;amp;_NNUM=690241&amp;amp;_NLANG=E&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 09:14:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-dbif-setg-sql-error/m-p/1925230#M384025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T09:14:41Z</dc:date>
    </item>
  </channel>
</rss>

