<?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: How to check changed data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-changed-data/m-p/10104837#M1815409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi nabheet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here sy-datar is not working in my screen. see the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;MODULE &lt;/SPAN&gt;CHECK_CHANGE &lt;SPAN class="L0S52"&gt;INPUT&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;SY&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;DATAR &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;CHANGE_FLAG&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHANGE_FLAG &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;SY&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;DATAR&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;ENDMODULE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;But the value for sy-datar is always 'X' even i am not changing any field either in table control or an individual field(Not part of table control). Here i am selecting the row in table control.whenever i am selecting the row its returning 'X'.can you please let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Mallikarjun Reddy &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Feb 2014 18:00:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-02-11T18:00:14Z</dc:date>
    <item>
      <title>How to check changed data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-changed-data/m-p/10104834#M1815406</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;I have added a sub-screen in XQQM function module for the scrap notification. Here the user inputs the data in table control and saves using QM01.Now in QM02 the screen shot is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/384279" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when user changes any value and performs any action other than save, i want to use FM POPUP_TO_CONFIRM. here my problem is how to know whether the value of a particular field is changed or not and the field may be part of the table control item or an individual field.Here my intension is if any thing is changed then i want to inform the user else i want to display message no changes done(if clicked on save).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Mallikarjun Reddy G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 18:16:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-changed-data/m-p/10104834#M1815406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-10T18:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to check changed data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-changed-data/m-p/10104835#M1815407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Check if SY-DATAR works for you it gets set if you change anything on screen. Please check&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 18:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-changed-data/m-p/10104835#M1815407</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-02-10T18:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to check changed data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-changed-data/m-p/10104836#M1815408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Nabheet,earlier i checked with that system field but could not find.Now again i checked its so far returning the value 'X'. Thanks for your reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 18:30:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-changed-data/m-p/10104836#M1815408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-10T18:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to check changed data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-changed-data/m-p/10104837#M1815409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi nabheet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here sy-datar is not working in my screen. see the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;MODULE &lt;/SPAN&gt;CHECK_CHANGE &lt;SPAN class="L0S52"&gt;INPUT&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;SY&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;DATAR &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;CHANGE_FLAG&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHANGE_FLAG &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;SY&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;DATAR&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;ENDMODULE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;But the value for sy-datar is always 'X' even i am not changing any field either in table control or an individual field(Not part of table control). Here i am selecting the row in table control.whenever i am selecting the row its returning 'X'.can you please let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Mallikarjun Reddy &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 18:00:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-changed-data/m-p/10104837#M1815409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-11T18:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to check changed data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-changed-data/m-p/10104838#M1815410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mallikarjun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it becomes X even if you select some row in table control...correct I think a better and safe solution will be to follow how SAP standard does in case of sales order etc...all header fields should be part of work area XWA/YWA(X signifies new/updated data Y means old) and all table control data in XTC[]/YTC[]. You can have initially same header data in XWA and YWA in PAI update XWA check if XWA ne YWA means something changed. Same goes for internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A reliable way of checking&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 18:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-changed-data/m-p/10104838#M1815410</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-02-11T18:09:44Z</dc:date>
    </item>
  </channel>
</rss>

