<?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 sql error in the database when accessing a table in BW Extracts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table-in-bw-extracts/m-p/5558429#M1268510</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the below error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are IDocs in the source system ALE outbox that did not arrive the ALE inbox of BI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upon checking the TRFC, i saw more detail error as "sql error in the database when accessing a table"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code from the Function module "IDOCS_OUTPUT_TO_R3".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that this error occurs only once every day out of 3 extractions from ECC to BW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody suggest what 's wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that i'm not a BW guy, but had to support the Prod. BW env.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------" /&gt;&lt;P&gt;PORTION OF CODE GOES HERE----&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT SINGLE * FROM EDIPOA WHERE PORT EQ EDIPOA-PORT.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;    SAVE_MSGID = 'E0'.&lt;/P&gt;&lt;P&gt;    SAVE_MSGNO = '032'.&lt;/P&gt;&lt;P&gt;    SAVE_MSGV1 = EDIPOA-PORT.&lt;/P&gt;&lt;P&gt;    SAVE_MSGV2 = TEXT-028.&lt;/P&gt;&lt;P&gt;    PERFORM ERROR_HANDLING TABLES I_EDIDC&lt;/P&gt;&lt;P&gt;                           USING  TEXT-019&lt;/P&gt;&lt;P&gt;                                  PORT_ERROR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THis is the only SQL i see in the code. anything wrong with this? Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Dhimbak on May 14, 2009 10:43 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2009 20:28:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-14T20:28:50Z</dc:date>
    <item>
      <title>sql error in the database when accessing a table in BW Extracts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table-in-bw-extracts/m-p/5558429#M1268510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the below error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are IDocs in the source system ALE outbox that did not arrive the ALE inbox of BI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upon checking the TRFC, i saw more detail error as "sql error in the database when accessing a table"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code from the Function module "IDOCS_OUTPUT_TO_R3".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that this error occurs only once every day out of 3 extractions from ECC to BW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody suggest what 's wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that i'm not a BW guy, but had to support the Prod. BW env.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------" /&gt;&lt;P&gt;PORTION OF CODE GOES HERE----&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT SINGLE * FROM EDIPOA WHERE PORT EQ EDIPOA-PORT.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;    SAVE_MSGID = 'E0'.&lt;/P&gt;&lt;P&gt;    SAVE_MSGNO = '032'.&lt;/P&gt;&lt;P&gt;    SAVE_MSGV1 = EDIPOA-PORT.&lt;/P&gt;&lt;P&gt;    SAVE_MSGV2 = TEXT-028.&lt;/P&gt;&lt;P&gt;    PERFORM ERROR_HANDLING TABLES I_EDIDC&lt;/P&gt;&lt;P&gt;                           USING  TEXT-019&lt;/P&gt;&lt;P&gt;                                  PORT_ERROR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THis is the only SQL i see in the code. anything wrong with this? Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Dhimbak on May 14, 2009 10:43 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 20:28:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table-in-bw-extracts/m-p/5558429#M1268510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T20:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: sql error in the database when accessing a table in BW Extracts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table-in-bw-extracts/m-p/5558430#M1268511</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;&lt;/P&gt;&lt;P&gt;Just in case someone gets a similar error, it was due to the database extents reached the max. allotted size, and were unable to extend any further. once the space for the extents allocated, everything was ok. thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 13:18:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table-in-bw-extracts/m-p/5558430#M1268511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T13:18:10Z</dc:date>
    </item>
  </channel>
</rss>

