<?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: Select statement is fetching previous data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563072#M1858396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the conditions on basis of which you are selecting the records from Z table.&lt;/P&gt;&lt;P&gt;Might be the updated records in Z table not satisfying the conditions used to fetch the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Swati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Sep 2014 08:13:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-09-26T08:13:37Z</dc:date>
    <item>
      <title>Select statement is fetching previous data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563067#M1858391</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 am modifying records in a ztable through a program.&lt;/P&gt;&lt;P&gt;records were successfully modified in the ZTABLE.&lt;/P&gt;&lt;P&gt;through the same program i tried to fetch the data from the same ZTABLE&lt;/P&gt;&lt;P&gt;but its deriving the old records only, tough table is showing updated records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the doubt of whether still in the buffer, i used the RollBack statement also,&lt;/P&gt;&lt;P&gt;still i am getting the old table data only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In table techincal settings&lt;/P&gt;&lt;P&gt;Buffering not allowed option was selected,&lt;/P&gt;&lt;P&gt;tough its deriving old table entries only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 15:13:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563067#M1858391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-25T15:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement is fetching previous data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563068#M1858392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You say its updated. Maybe you are not clearing the work area when you are fetching the data after updation.&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;K.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 19:41:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563068#M1858392</guid>
      <dc:creator>former_member188724</dc:creator>
      <dc:date>2014-09-25T19:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement is fetching previous data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563069#M1858393</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; Did you do a 'commit work' after updating?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Paul B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 23:20:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563069#M1858393</guid>
      <dc:creator>paul_bakker2</dc:creator>
      <dc:date>2014-09-25T23:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement is fetching previous data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563070#M1858394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satya ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use &lt;STRONG&gt;commit work &lt;/STRONG&gt;after modifying the ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yogendra Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 04:41:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563070#M1858394</guid>
      <dc:creator>yogendra_bhaskar</dc:creator>
      <dc:date>2014-09-26T04:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement is fetching previous data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563071#M1858395</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;Before select i already using refresh&lt;/P&gt;&lt;P&gt;and after update i am using commit work also,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't understand why its fetching previous data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 08:05:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563071#M1858395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-26T08:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement is fetching previous data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563072#M1858396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the conditions on basis of which you are selecting the records from Z table.&lt;/P&gt;&lt;P&gt;Might be the updated records in Z table not satisfying the conditions used to fetch the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Swati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 08:13:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563072#M1858396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-26T08:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement is fetching previous data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563073#M1858397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;Could you use FM &lt;A href="http://help.sap.com/abapdocu_731/en/abendb_commit.htm"&gt;DB_COMMIT&lt;/A&gt; (or statement &lt;A href="http://help.sap.com/abapdocu_731/de/abapcommit.htm"&gt;COMMIT WORK&lt;/A&gt;, WAIT option not required here) and reload data using a &lt;A href="http://help.sap.com/abapdocu_731/en/abapfrom_clause.htm#!ABAP_ADDITION_3@3@"&gt;BYPASSING BUFFER&lt;/A&gt; option in the SELECT statement. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;If data is once again not refreshed, there the database manager has not yet committed in time data, so you may be required to use a &lt;A href="http://help.sap.com/abapdocu_731/en/abapselect_clause_lines.htm#!ABAP_ONE_ADD@1@"&gt;FOR UPDATE&lt;/A&gt; option (BYPASSING BUFFER will be no longer required as it will be implicit) to insure that, but you will have to catch error (sy-subrc = &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; and retry.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;Raymond&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 08:31:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563073#M1858397</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-09-26T08:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement is fetching previous data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563074#M1858398</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;Thanks for your time and inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did a small mistake, now i corrected its working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 08:47:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563074#M1858398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-26T08:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement is fetching previous data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563075#M1858399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! Please close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 11:00:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-is-fetching-previous-data/m-p/10563075#M1858399</guid>
      <dc:creator>paul_bakker2</dc:creator>
      <dc:date>2014-09-26T11:00:42Z</dc:date>
    </item>
  </channel>
</rss>

