<?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 Runtime Err while fetching records based on Cursor. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-err-while-fetching-records-based-on-cursor/m-p/7606140#M1568818</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 have used cursor to fetch records. It is working fine if used alone but if i do other operations, it is giving me a dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue:&lt;/P&gt;&lt;P&gt;Open Cursor is defined. &lt;/P&gt;&lt;P&gt;Fetch Cursor is used to fetch data - 500 records in a go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional Ops.&lt;/P&gt;&lt;P&gt;Create Variants using RS_CREATE_VARIANT.&lt;/P&gt;&lt;P&gt;Use BP_JOB_CREATE to create jobs and close it using JOB_CLOSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i have to do this additional ops., something happens to the cursor and i get this error -  DBIF_RSQL_INVALID_CURSOR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything that I'm missing in the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Dec 2010 06:52:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-31T06:52:47Z</dc:date>
    <item>
      <title>Runtime Err while fetching records based on Cursor.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-err-while-fetching-records-based-on-cursor/m-p/7606140#M1568818</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 have used cursor to fetch records. It is working fine if used alone but if i do other operations, it is giving me a dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue:&lt;/P&gt;&lt;P&gt;Open Cursor is defined. &lt;/P&gt;&lt;P&gt;Fetch Cursor is used to fetch data - 500 records in a go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional Ops.&lt;/P&gt;&lt;P&gt;Create Variants using RS_CREATE_VARIANT.&lt;/P&gt;&lt;P&gt;Use BP_JOB_CREATE to create jobs and close it using JOB_CLOSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i have to do this additional ops., something happens to the cursor and i get this error -  DBIF_RSQL_INVALID_CURSOR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything that I'm missing in the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 06:52:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-err-while-fetching-records-based-on-cursor/m-p/7606140#M1568818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-31T06:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Err while fetching records based on Cursor.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-err-while-fetching-records-based-on-cursor/m-p/7606141#M1568819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you doing in the 'Additional Ops.'?&lt;/P&gt;&lt;P&gt;Any commits or rollbacks there?&lt;/P&gt;&lt;P&gt;Cursor is closed on database commit or a database rollback an these happen implicitly eg. when completing dialog step, calling function module , ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 12:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-err-while-fetching-records-based-on-cursor/m-p/7606141#M1568819</guid>
      <dc:creator>former_member182670</dc:creator>
      <dc:date>2010-12-31T12:40:23Z</dc:date>
    </item>
  </channel>
</rss>

