<?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 Error in the module RSQL accessing the database interface in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-the-module-rsql-accessing-the-database-interface/m-p/5864454#M1322156</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;   &lt;/P&gt;&lt;P&gt;i have written query like this,&lt;/P&gt;&lt;P&gt;    SELECT  single stlnr FROM stpo INTO w_stlnr WHERE idnrk IN r_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assume that  they are 10 part number are there when date retrival from this query  upto 9 part number i am not getting run time error&lt;/P&gt;&lt;P&gt;10 part number i am getting runtime error in PRD , ITS working fine in QLT for same variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system attempted to open a cursor for a SELECT or OPEN CURSOR&lt;/P&gt;&lt;P&gt;statement but all 16 cursors were already in use.&lt;/P&gt;&lt;P&gt;The statement that failed accesses table "STPO ".&lt;/P&gt;&lt;P&gt;The erroneous statement accesses table "STPO ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please guide me how to solve this promblem.&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;Santosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: santosh jajur on Jul 20, 2009 3:50 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jul 2009 09:46:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-20T09:46:16Z</dc:date>
    <item>
      <title>Error in the module RSQL accessing the database interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-the-module-rsql-accessing-the-database-interface/m-p/5864454#M1322156</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;   &lt;/P&gt;&lt;P&gt;i have written query like this,&lt;/P&gt;&lt;P&gt;    SELECT  single stlnr FROM stpo INTO w_stlnr WHERE idnrk IN r_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assume that  they are 10 part number are there when date retrival from this query  upto 9 part number i am not getting run time error&lt;/P&gt;&lt;P&gt;10 part number i am getting runtime error in PRD , ITS working fine in QLT for same variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system attempted to open a cursor for a SELECT or OPEN CURSOR&lt;/P&gt;&lt;P&gt;statement but all 16 cursors were already in use.&lt;/P&gt;&lt;P&gt;The statement that failed accesses table "STPO ".&lt;/P&gt;&lt;P&gt;The erroneous statement accesses table "STPO ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please guide me how to solve this promblem.&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;Santosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: santosh jajur on Jul 20, 2009 3:50 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2009 09:46:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-the-module-rsql-accessing-the-database-interface/m-p/5864454#M1322156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-20T09:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error in the module RSQL accessing the database interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-the-module-rsql-accessing-the-database-interface/m-p/5864455#M1322157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to change this way &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : begin of i_stlnr occurs 0.
data : stlnr like stpo-stlnr.
data : end of i_stlnr.

SELECT stlnr FROM stpo INTO table i_stlnr WHERE idnrk IN r_matnr.
if sy-subrc eq 0.
  read table i_stlnr index 1.
  move i_stlnr-stlnr to w_stlnr.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2009 14:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-the-module-rsql-accessing-the-database-interface/m-p/5864455#M1322157</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-07-20T14:00:03Z</dc:date>
    </item>
  </channel>
</rss>

