<?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: cl_gui_alv_grid-check_changed_data issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-check-changed-data-issue/m-p/6492759#M1420553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Dec 2009 22:11:07 GMT</pubDate>
    <dc:creator>VenuAnumayam</dc:creator>
    <dc:date>2009-12-17T22:11:07Z</dc:date>
    <item>
      <title>cl_gui_alv_grid-check_changed_data issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-check-changed-data-issue/m-p/6492754#M1420548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using method "cl_gui_alv_grid-&amp;gt;check_changed_data" in an editable ALV program like this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;module user_command_0100 input.
data: l_valid type c.

    case ok_code.
     when 'EDIT'.
      call method plan_grid-&amp;gt;check_changed_data
                importing e_valid = l_valid.


     if l_valid = 'X'.
      perform update_data.
     endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is, even if no records were changed on the ALV output, the method is returning &lt;STRONG&gt;l_valid = 'X'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Can I use l_valid as a flag to determine the data was changed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ravi kumar on Dec 17, 2009 12:35 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 19:33:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-check-changed-data-issue/m-p/6492754#M1420548</guid>
      <dc:creator>VenuAnumayam</dc:creator>
      <dc:date>2009-12-17T19:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: cl_gui_alv_grid-check_changed_data issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-check-changed-data-issue/m-p/6492755#M1420549</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; Try to debug inside the method and see why the flag is set as 'X' evenif there is no data change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasenjit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 20:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-check-changed-data-issue/m-p/6492755#M1420549</guid>
      <dc:creator>prasenjit_sharma</dc:creator>
      <dc:date>2009-12-17T20:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: cl_gui_alv_grid-check_changed_data issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-check-changed-data-issue/m-p/6492756#M1420550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that the method tells you if there is any error on your ALV so you can save it without problems...remember that you can control errors when a particular field has changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 20:53:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-check-changed-data-issue/m-p/6492756#M1420550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-17T20:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: cl_gui_alv_grid-check_changed_data issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-check-changed-data-issue/m-p/6492757#M1420551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;I think that the method tells you if there is any error on your ALV so you can save it without problems...remember that you can control errors when a particular field has changed.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case, the 'l_valid" is not a "true" flag for finding out if the data was changed or not but it is for determining if there are any errors or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 20:57:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-check-changed-data-issue/m-p/6492757#M1420551</guid>
      <dc:creator>VenuAnumayam</dc:creator>
      <dc:date>2009-12-17T20:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: cl_gui_alv_grid-check_changed_data issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-check-changed-data-issue/m-p/6492758#M1420552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I think...but I'm not completely sure... -:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 20:59:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-check-changed-data-issue/m-p/6492758#M1420552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-17T20:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: cl_gui_alv_grid-check_changed_data issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-check-changed-data-issue/m-p/6492759#M1420553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 22:11:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-check-changed-data-issue/m-p/6492759#M1420553</guid>
      <dc:creator>VenuAnumayam</dc:creator>
      <dc:date>2009-12-17T22:11:07Z</dc:date>
    </item>
  </channel>
</rss>

