<?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: RSQL error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rsql-error/m-p/2215187#M474877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does co_code contain many individual Company Codes or s_budat many individual dates?&lt;/P&gt;&lt;P&gt;Keep in mind that the IN statement is translated in background to many OR conditions. When there are many, it generates a dump. Try with a few Company codes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2007 15:33:04 GMT</pubDate>
    <dc:creator>alejandro_bindi</dc:creator>
    <dc:date>2007-05-09T15:33:04Z</dc:date>
    <item>
      <title>RSQL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rsql-error/m-p/2215186#M474876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! There are no syntax errors in the program when I check but getting the following error with a dump on the select statement given below . Id anyone familiar with this type of error?&lt;/P&gt;&lt;P&gt;                                                &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt;RSQL error 23 when accessing table "RBKP ". &amp;lt;/u&amp;gt;  &amp;lt;/b&amp;gt;     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT belnr&lt;/P&gt;&lt;P&gt;         bukrs&lt;/P&gt;&lt;P&gt;         budat&lt;/P&gt;&lt;P&gt;         gjahr&lt;/P&gt;&lt;P&gt;         usnam&lt;/P&gt;&lt;P&gt;         lifnr&lt;/P&gt;&lt;P&gt;         blart&lt;/P&gt;&lt;P&gt;         tcode&lt;/P&gt;&lt;P&gt;         FROM RBKP&lt;/P&gt;&lt;P&gt;         INTO TABLE irbkp&lt;/P&gt;&lt;P&gt;         WHERE bukrs in co_code&lt;/P&gt;&lt;P&gt;         and stblg eq space&lt;/P&gt;&lt;P&gt;         and budat in s_docdt&lt;/P&gt;&lt;P&gt;         and lifnr ne space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 14:16:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rsql-error/m-p/2215186#M474876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T14:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: RSQL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rsql-error/m-p/2215187#M474877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does co_code contain many individual Company Codes or s_budat many individual dates?&lt;/P&gt;&lt;P&gt;Keep in mind that the IN statement is translated in background to many OR conditions. When there are many, it generates a dump. Try with a few Company codes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 15:33:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rsql-error/m-p/2215187#M474877</guid>
      <dc:creator>alejandro_bindi</dc:creator>
      <dc:date>2007-05-09T15:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: RSQL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rsql-error/m-p/2215188#M474878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Syed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   co_code or s_docdt takes 400 to 500 records if that exceeds Program Dumps. Please check for the same in Debug mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 15:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rsql-error/m-p/2215188#M474878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T15:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: RSQL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rsql-error/m-p/2215189#M474879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in that case you can correct that error in this way .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if not  co_code[] is initial.                              
 v_low  = 1.                                              
 v_high = 400.                                  
   DESCRIBE TABLE  co_code LINES v_lines.
  DO.                                                      
    APPEND LINES OF  co_code FROM v_low TO v_high TO r_temp. 
SELECT belnr
bukrs
budat
gjahr
usnam
lifnr
blart
tcode
FROM RBKP
INTO TABLE irbkp
WHERE bukrs in r_temp
and stblg eq space
and budat in s_docdt
and lifnr ne space.           

      COMMIT WORK.                                        
      v_low  = v_high  + 1.                                 
      v_high = v_high  + 400.                             
      IF v_low &amp;gt; v_lines.                                 
          EXIT.                                            
      ENDIF.                                             
        CLEAR   r_temp.                             
        REFRESH r_temp.                         
  ENDDO.                                              
endif.   &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 15:45:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rsql-error/m-p/2215189#M474879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T15:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: RSQL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rsql-error/m-p/2215190#M474880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the output from co_code internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I   |BT    |0010|0040  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not seem to have too many entires. Moreover there are select statement prior to the one that is causing the dump that seem to be running fine (see below, th eone that is runnign fine) with the co_code in them&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 belnr&lt;/P&gt;&lt;P&gt;         bukrs&lt;/P&gt;&lt;P&gt;         gjahr&lt;/P&gt;&lt;P&gt;         monat&lt;/P&gt;&lt;P&gt;         usnam&lt;/P&gt;&lt;P&gt;         blart&lt;/P&gt;&lt;P&gt;         tcode&lt;/P&gt;&lt;P&gt;     INTO TABLE ibkpf&lt;/P&gt;&lt;P&gt;     FROM bkpf&lt;/P&gt;&lt;P&gt;     WHERE bukrs IN co_code&lt;/P&gt;&lt;P&gt;     AND   gjahr IN fis_year&lt;/P&gt;&lt;P&gt;     AND   monat IN period&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   AND TCODE IN tra  n_cod&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     AND blart IN doc_type&lt;/P&gt;&lt;P&gt;     AND usnam in username&lt;/P&gt;&lt;P&gt;     AND stblg eq space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 16:09:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rsql-error/m-p/2215190#M474880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T16:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: RSQL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rsql-error/m-p/2215191#M474881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how about s_docdt ??? how many entries does it hold ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If s_docdt also has limited records do this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT belnr&lt;/P&gt;&lt;P&gt;bukrs&lt;/P&gt;&lt;P&gt;budat&lt;/P&gt;&lt;P&gt;gjahr&lt;/P&gt;&lt;P&gt;usnam&lt;/P&gt;&lt;P&gt;lifnr&lt;/P&gt;&lt;P&gt;blart&lt;/P&gt;&lt;P&gt;tcode&lt;/P&gt;&lt;P&gt;FROM RBKP&lt;/P&gt;&lt;P&gt;INTO &amp;lt;b&amp;gt;CORRESPONDING FIELDS OF&amp;lt;/b&amp;gt; TABLE irbkp&lt;/P&gt;&lt;P&gt;WHERE bukrs in co_code&lt;/P&gt;&lt;P&gt;and stblg eq space&lt;/P&gt;&lt;P&gt;and budat in s_docdt&lt;/P&gt;&lt;P&gt;and lifnr ne space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Santosh Kumar Patha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 16:14:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rsql-error/m-p/2215191#M474881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T16:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: RSQL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rsql-error/m-p/2215192#M474882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think s_docdt is the culprit. Thanls for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 16:16:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rsql-error/m-p/2215192#M474882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T16:16:01Z</dc:date>
    </item>
  </channel>
</rss>

