<?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: Function module is not getting updated data while master data chage happens in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-is-not-getting-updated-data-while-master-data-chage-happens/m-p/9419822#M1737892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You say: "parallel, I have opened one more session and did the Master Data Changes for Payroll tables"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That might be the cause. In change mode the table is locked so the update will fail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strange that you didn't get an error / warning message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check in SM12 if a lock has been set and in SM14 if an update task has failed (cancelled).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 May 2013 08:34:19 GMT</pubDate>
    <dc:creator>PeterJonker</dc:creator>
    <dc:date>2013-05-22T08:34:19Z</dc:date>
    <item>
      <title>Function module is not getting updated data while master data chage happens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-is-not-getting-updated-data-while-master-data-chage-happens/m-p/9419821#M1737891</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;&amp;nbsp;&amp;nbsp; I am working with a module pool program to get the Payroll data by using FM&amp;nbsp; &lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;'PYXX_READ_PAYROLL_RESULT' .&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&amp;nbsp;&amp;nbsp; Now, I am executing my Tcode to get the Payroll Data in one ABAP Session. and parallel, I have opened one more session and did the Master Data Changes for Payroll tables and run the payroll &amp;amp; in PC_PAYRESULT also new data has been updated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt; Now, I continued with other session which was opened already and trying to get the new updated Data, but It was not happening. Same old data is coming.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;I have tried&amp;nbsp; with&amp;nbsp; COMMIT WORK AND WAIT and FM 'STATUS_BUFFER_REFRESH'&amp;nbsp; before calling Payroll FM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;But Not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;Kindly help me&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;Vishnu &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 06:15:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-is-not-getting-updated-data-while-master-data-chage-happens/m-p/9419821#M1737891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-22T06:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Function module is not getting updated data while master data chage happens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-is-not-getting-updated-data-while-master-data-chage-happens/m-p/9419822#M1737892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You say: "parallel, I have opened one more session and did the Master Data Changes for Payroll tables"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That might be the cause. In change mode the table is locked so the update will fail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strange that you didn't get an error / warning message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check in SM12 if a lock has been set and in SM14 if an update task has failed (cancelled).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 08:34:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-is-not-getting-updated-data-while-master-data-chage-happens/m-p/9419822#M1737892</guid>
      <dc:creator>PeterJonker</dc:creator>
      <dc:date>2013-05-22T08:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Function module is not getting updated data while master data chage happens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-is-not-getting-updated-data-while-master-data-chage-happens/m-p/9419823#M1737893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your replay Peter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have opened one more session and updated the master data changes successfully and I can able to see that changes in PayRoll Tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have already opened my Zprogram report program in one session, If I continue with that same session, I am not able to fetch the updated payroll Data at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but If I run my z program in with new session, I am able to fetch the correct &amp;amp; updated data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Problem is If any session opend before master data changes, If I am continueing&amp;nbsp; with the same session after Master Data Changes is not fetching data properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 09:16:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-is-not-getting-updated-data-while-master-data-chage-happens/m-p/9419823#M1737893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-22T09:16:53Z</dc:date>
    </item>
  </channel>
</rss>

