<?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: Getting error &amp;quot;SQL error in the database when accessing a table.&amp;quot; in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-quot-sql-error-in-the-database-when-accessing-a-table-quot/m-p/7896936#M1596334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The query where we are getting error in Standard program AQ20FD==========A2============ for Job&lt;/P&gt;&lt;P&gt;EISSD/REQUISITION 14 / is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select VBRK&lt;SUB&gt;BUKRS VBRK&lt;/SUB&gt;FKART VBRK&lt;SUB&gt;FKDAT VBRK&lt;/SUB&gt;FKTYP VBRK&lt;SUB&gt;GJAHR VBRK&lt;/SUB&gt;KUNAG VBRK&lt;SUB&gt;KUNRG VBRK&lt;/SUB&gt;KURRF VBRK&lt;SUB&gt;VBELN VBRK&lt;/SUB&gt;WAERK VBRP~AUBEL&lt;/P&gt;&lt;P&gt;       VBRP&lt;SUB&gt;AUPOS VBRP&lt;/SUB&gt;FKIMG VBRP&lt;SUB&gt;KVGR2 VBRP&lt;/SUB&gt;KZWI1 VBRP&lt;SUB&gt;MATNR VBRP&lt;/SUB&gt;MWSBP VBRP&lt;SUB&gt;NETWR VBRP&lt;/SUB&gt;PSTYV VBRP&lt;SUB&gt;VBELN VBRP&lt;/SUB&gt;VGBEL VBRP~VGPOS&lt;/P&gt;&lt;P&gt;       VBRP&lt;SUB&gt;VKBUR VBRP&lt;/SUB&gt;VKGRP VBRP&lt;SUB&gt;VRKME VBRP&lt;/SUB&gt;WAVWR&lt;/P&gt;&lt;P&gt;into (VBRK-BUKRS , VBRK-FKART , VBRK-FKDAT , VBRK-FKTYP , VBRK-GJAHR , VBRK-KUNAG , VBRK-KUNRG , VBRK-KURRF , VBRK-VBELN&lt;/P&gt;&lt;P&gt;     , VBRK-WAERK , VBRP-AUBEL , VBRP-AUPOS , VBRP-FKIMG , VBRP-KVGR2 , VBRP-KZWI1 , VBRP-MATNR , VBRP-MWSBP , VBRP-NETWR&lt;/P&gt;&lt;P&gt;     , VBRP-PSTYV , VBRP-VBELN , VBRP-VGBEL , VBRP-VGPOS , VBRP-VKBUR , VBRP-VKGRP , VBRP-VRKME , VBRP-WAVWR )&lt;/P&gt;&lt;P&gt;from ( VBRK&lt;/P&gt;&lt;P&gt;       inner join VBRP&lt;/P&gt;&lt;P&gt;       on VBRP&lt;SUB&gt;VBELN = VBRK&lt;/SUB&gt;VBELN )&lt;/P&gt;&lt;P&gt;       where VBRK~BUKRS in SP$00004&lt;/P&gt;&lt;P&gt;         and VBRK~FKDAT in SP$00001&lt;/P&gt;&lt;P&gt;         and VBRK~KUNAG in SP$00002&lt;/P&gt;&lt;P&gt;         and VBRK~VBELN in SP$00006&lt;/P&gt;&lt;P&gt;         and VBRP~MATNR in SP$00003.&lt;/P&gt;&lt;P&gt;  %dbacc = %dbacc - 1.&lt;/P&gt;&lt;P&gt;  if %dbacc = 0.&lt;/P&gt;&lt;P&gt;    stop.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  check SP$00004.&lt;/P&gt;&lt;P&gt;  check SP$00001.&lt;/P&gt;&lt;P&gt;  check SP$00002.&lt;/P&gt;&lt;P&gt;  check SP$00006.&lt;/P&gt;&lt;P&gt;  check SP$00003.&lt;/P&gt;&lt;P&gt;  add 1 to %count-VBRK.&lt;/P&gt;&lt;P&gt;  %linr-VBRK = '01'.&lt;/P&gt;&lt;P&gt;  extract %fg01.&lt;/P&gt;&lt;P&gt;  %ext-VBRP01 = 'X'.&lt;/P&gt;&lt;P&gt;    extract %fgwrVBRP01.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 May 2011 10:35:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-19T10:35:13Z</dc:date>
    <item>
      <title>Getting error "SQL error in the database when accessing a table."</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-quot-sql-error-in-the-database-when-accessing-a-table-quot/m-p/7896935#M1596333</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;We are getting Dump Error SQL error in the database when accessing a table for the batch job EISSD/REQUISITION 14 / which includes program AQ20FD==========A2============. Please reply. The Dump error details are as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;    SQL error in the database when accessing a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to correct the error&lt;/P&gt;&lt;P&gt;    Database error text........: "ORA-01555: snapshot too old: rollback segment&lt;/P&gt;&lt;P&gt;     number 21 with name "_SYSSMU21$" too small"&lt;/P&gt;&lt;P&gt;    Internal call code.........: "[RSQL/FTCH/VBRK ]"&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;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Padmakar Kudtarkar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on May 19, 2011 9:38 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 10:27:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-quot-sql-error-in-the-database-when-accessing-a-table-quot/m-p/7896935#M1596333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-19T10:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "SQL error in the database when accessing a table."</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-quot-sql-error-in-the-database-when-accessing-a-table-quot/m-p/7896936#M1596334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The query where we are getting error in Standard program AQ20FD==========A2============ for Job&lt;/P&gt;&lt;P&gt;EISSD/REQUISITION 14 / is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select VBRK&lt;SUB&gt;BUKRS VBRK&lt;/SUB&gt;FKART VBRK&lt;SUB&gt;FKDAT VBRK&lt;/SUB&gt;FKTYP VBRK&lt;SUB&gt;GJAHR VBRK&lt;/SUB&gt;KUNAG VBRK&lt;SUB&gt;KUNRG VBRK&lt;/SUB&gt;KURRF VBRK&lt;SUB&gt;VBELN VBRK&lt;/SUB&gt;WAERK VBRP~AUBEL&lt;/P&gt;&lt;P&gt;       VBRP&lt;SUB&gt;AUPOS VBRP&lt;/SUB&gt;FKIMG VBRP&lt;SUB&gt;KVGR2 VBRP&lt;/SUB&gt;KZWI1 VBRP&lt;SUB&gt;MATNR VBRP&lt;/SUB&gt;MWSBP VBRP&lt;SUB&gt;NETWR VBRP&lt;/SUB&gt;PSTYV VBRP&lt;SUB&gt;VBELN VBRP&lt;/SUB&gt;VGBEL VBRP~VGPOS&lt;/P&gt;&lt;P&gt;       VBRP&lt;SUB&gt;VKBUR VBRP&lt;/SUB&gt;VKGRP VBRP&lt;SUB&gt;VRKME VBRP&lt;/SUB&gt;WAVWR&lt;/P&gt;&lt;P&gt;into (VBRK-BUKRS , VBRK-FKART , VBRK-FKDAT , VBRK-FKTYP , VBRK-GJAHR , VBRK-KUNAG , VBRK-KUNRG , VBRK-KURRF , VBRK-VBELN&lt;/P&gt;&lt;P&gt;     , VBRK-WAERK , VBRP-AUBEL , VBRP-AUPOS , VBRP-FKIMG , VBRP-KVGR2 , VBRP-KZWI1 , VBRP-MATNR , VBRP-MWSBP , VBRP-NETWR&lt;/P&gt;&lt;P&gt;     , VBRP-PSTYV , VBRP-VBELN , VBRP-VGBEL , VBRP-VGPOS , VBRP-VKBUR , VBRP-VKGRP , VBRP-VRKME , VBRP-WAVWR )&lt;/P&gt;&lt;P&gt;from ( VBRK&lt;/P&gt;&lt;P&gt;       inner join VBRP&lt;/P&gt;&lt;P&gt;       on VBRP&lt;SUB&gt;VBELN = VBRK&lt;/SUB&gt;VBELN )&lt;/P&gt;&lt;P&gt;       where VBRK~BUKRS in SP$00004&lt;/P&gt;&lt;P&gt;         and VBRK~FKDAT in SP$00001&lt;/P&gt;&lt;P&gt;         and VBRK~KUNAG in SP$00002&lt;/P&gt;&lt;P&gt;         and VBRK~VBELN in SP$00006&lt;/P&gt;&lt;P&gt;         and VBRP~MATNR in SP$00003.&lt;/P&gt;&lt;P&gt;  %dbacc = %dbacc - 1.&lt;/P&gt;&lt;P&gt;  if %dbacc = 0.&lt;/P&gt;&lt;P&gt;    stop.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  check SP$00004.&lt;/P&gt;&lt;P&gt;  check SP$00001.&lt;/P&gt;&lt;P&gt;  check SP$00002.&lt;/P&gt;&lt;P&gt;  check SP$00006.&lt;/P&gt;&lt;P&gt;  check SP$00003.&lt;/P&gt;&lt;P&gt;  add 1 to %count-VBRK.&lt;/P&gt;&lt;P&gt;  %linr-VBRK = '01'.&lt;/P&gt;&lt;P&gt;  extract %fg01.&lt;/P&gt;&lt;P&gt;  %ext-VBRP01 = 'X'.&lt;/P&gt;&lt;P&gt;    extract %fgwrVBRP01.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 10:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-quot-sql-error-in-the-database-when-accessing-a-table-quot/m-p/7896936#M1596334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-19T10:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "SQL error in the database when accessing a table."</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-quot-sql-error-in-the-database-when-accessing-a-table-quot/m-p/7896937#M1596335</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;Use Select Single -&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dhiraj Dangore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 11:39:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-quot-sql-error-in-the-database-when-accessing-a-table-quot/m-p/7896937#M1596335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-19T11:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "SQL error in the database when accessing a table."</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-quot-sql-error-in-the-database-when-accessing-a-table-quot/m-p/7896938#M1596336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've seen this, but not in a long time. It occurred when a SELECT statement ran for a long time during times when the database is up and being modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We either rant the program overnight or made the selection set smaller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 13:41:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-quot-sql-error-in-the-database-when-accessing-a-table-quot/m-p/7896938#M1596336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-19T13:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "SQL error in the database when accessing a table."</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-quot-sql-error-in-the-database-when-accessing-a-table-quot/m-p/7896939#M1596337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;Thanks for the useful information.&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;Padmakar Kudtarkar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 13:58:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-quot-sql-error-in-the-database-when-accessing-a-table-quot/m-p/7896939#M1596337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-19T13:58:00Z</dc:date>
    </item>
  </channel>
</rss>

