<?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 CL_GUI_ALV_GRID - error checking in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-error-checking/m-p/8252215#M1631202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I seem to have some issues with the CL_GUI_ALV_GRID and error checking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added the events handle_data_changed and handle_data_changed_finished to my event handler.&lt;/P&gt;&lt;P&gt;I linked the "enter" button as the initiator of a change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I hit enter after a change the code of handle_data_changed is executed correctly.&lt;/P&gt;&lt;P&gt;And the protocol display is shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However later on in the program.. before saving data.. I must be able to check if the alv is still containing errors.&lt;/P&gt;&lt;P&gt;So I used methode check_changed_data in my PAI.  However, even when there are still errors active, this method returns valid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When going into system debugging I saw it doesn't execute handle_data_changed as I saw described somewhere.. but only handle_data_changed_finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone has an idea of the probably obvious mistake I made somewhere?  (Isn't for instance executing the add_protocol method not enough.. to I have to mark the cells, rows as error somewhere... etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help provided... as I'm slowly turning insane by staring at the code .... &lt;/P&gt;&lt;P&gt;(a feeling you all probably know)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Sep 2011 07:26:26 GMT</pubDate>
    <dc:creator>Koja78</dc:creator>
    <dc:date>2011-09-21T07:26:26Z</dc:date>
    <item>
      <title>CL_GUI_ALV_GRID - error checking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-error-checking/m-p/8252215#M1631202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I seem to have some issues with the CL_GUI_ALV_GRID and error checking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added the events handle_data_changed and handle_data_changed_finished to my event handler.&lt;/P&gt;&lt;P&gt;I linked the "enter" button as the initiator of a change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I hit enter after a change the code of handle_data_changed is executed correctly.&lt;/P&gt;&lt;P&gt;And the protocol display is shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However later on in the program.. before saving data.. I must be able to check if the alv is still containing errors.&lt;/P&gt;&lt;P&gt;So I used methode check_changed_data in my PAI.  However, even when there are still errors active, this method returns valid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When going into system debugging I saw it doesn't execute handle_data_changed as I saw described somewhere.. but only handle_data_changed_finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone has an idea of the probably obvious mistake I made somewhere?  (Isn't for instance executing the add_protocol method not enough.. to I have to mark the cells, rows as error somewhere... etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help provided... as I'm slowly turning insane by staring at the code .... &lt;/P&gt;&lt;P&gt;(a feeling you all probably know)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 07:26:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-error-checking/m-p/8252215#M1631202</guid>
      <dc:creator>Koja78</dc:creator>
      <dc:date>2011-09-21T07:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: CL_GUI_ALV_GRID - error checking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-error-checking/m-p/8252216#M1631203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved it by keeping track of the error state with a public attribute in my handler class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 09:28:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-error-checking/m-p/8252216#M1631203</guid>
      <dc:creator>Koja78</dc:creator>
      <dc:date>2011-09-21T09:28:17Z</dc:date>
    </item>
  </channel>
</rss>

