<?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: FETCH NEXT CURSOR not working same, for different users in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-next-cursor-not-working-same-for-different-users/m-p/7912852#M1597853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you find the solution for the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;NM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2014 12:01:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-07-23T12:01:49Z</dc:date>
    <item>
      <title>FETCH NEXT CURSOR not working same, for different users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-next-cursor-not-working-same-for-different-users/m-p/7912849#M1597850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I have a query and when it is executed using different users, it gives different results. Its not because of authorisations, because i have already checked that, users with same profile and authorisations have this problem.&lt;/P&gt;&lt;P&gt;Query passes through some standard SAP code. While debugging, i found that, there is a FETCH statement which is acting differently for different users but with same profiles.&lt;/P&gt;&lt;P&gt; FETCH NEXT CURSOR GD_CURSOR&lt;/P&gt;&lt;P&gt;            INTO CORRESPONDING FIELDS OF DB_WA_VANLAZ.&lt;/P&gt;&lt;P&gt;If tcode executed with user AAA, it will return sy-subrc = 0 and will process normally. But if its processed using user BBB, it will return sy-subrc = 4.  both AAA and BBB has same set of profile and authorisations..&lt;/P&gt;&lt;P&gt;What could be the reason for this??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2011 18:43:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-next-cursor-not-working-same-for-different-users/m-p/7912849#M1597850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-01T18:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: FETCH NEXT CURSOR not working same, for different users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-next-cursor-not-working-same-for-different-users/m-p/7912850#M1597851</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;Please note that fetch cursor statement also returns the sy-subrc value as 4 when all the lines of the cursor have been read , meaning , when the end of the cursor is reached.   If there is any user input for the program, please make sure the same input is given for both the users.  Also there is limit on the maximum number of open cursors allowed for a database .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise I don't see any other reason for this. Sorry If I could not hep you with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pawan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jul 2011 16:09:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-next-cursor-not-working-same-for-different-users/m-p/7912850#M1597851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-02T16:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: FETCH NEXT CURSOR not working same, for different users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-next-cursor-not-working-same-for-different-users/m-p/7912851#M1597852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am using the same input for both the user. but still its not giving me the result. thats what my problem is. when i give same set of input for both the users, it behaves  differently...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2011 22:36:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-next-cursor-not-working-same-for-different-users/m-p/7912851#M1597852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-05T22:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: FETCH NEXT CURSOR not working same, for different users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-next-cursor-not-working-same-for-different-users/m-p/7912852#M1597853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you find the solution for the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;NM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 12:01:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-next-cursor-not-working-same-for-different-users/m-p/7912852#M1597853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-23T12:01:49Z</dc:date>
    </item>
  </channel>
</rss>

