<?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 ALV event  data_changed error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-event-data-changed-error/m-p/7769763#M1584431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a one  editable field in ALV. After 'ENTER'  I want do some actions ( check input , save data into DB table...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLASS lcl_gui DEFINITION CREATE PROTECTED.
  PUBLIC SECTION.

    DATA: mor_alv    TYPE REF TO cl_gui_alv_grid,
        
 METHODS:   alv_init,

                    alv_changed FOR EVENT data_changed
                                         OF cl_gui_alv_grid
                                         IMPORTING er_data_changed,
                    register_events,

                                   ..........

 METHOD register_events .

   CALL METHOD mor_alv-&amp;gt;register_edit_event
     EXPORTING
     i_event_id = cl_gui_alv_grid=&amp;gt;mc_evt_enter.

    SET HANDLER me-&amp;gt;alv_changed FOR mor_alv.

  ENDMETHOD.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After  I change field and pres 'ENTER' I get popup with message "Programs error" and program exits.&lt;/P&gt;&lt;P&gt;(On the screen in other container I  also have  ALV Tree-CL_GUI_ALV_TREE , maybe it is impotrant to mention...)&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2011 08:50:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-23T08:50:37Z</dc:date>
    <item>
      <title>ALV event  data_changed error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-event-data-changed-error/m-p/7769763#M1584431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a one  editable field in ALV. After 'ENTER'  I want do some actions ( check input , save data into DB table...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLASS lcl_gui DEFINITION CREATE PROTECTED.
  PUBLIC SECTION.

    DATA: mor_alv    TYPE REF TO cl_gui_alv_grid,
        
 METHODS:   alv_init,

                    alv_changed FOR EVENT data_changed
                                         OF cl_gui_alv_grid
                                         IMPORTING er_data_changed,
                    register_events,

                                   ..........

 METHOD register_events .

   CALL METHOD mor_alv-&amp;gt;register_edit_event
     EXPORTING
     i_event_id = cl_gui_alv_grid=&amp;gt;mc_evt_enter.

    SET HANDLER me-&amp;gt;alv_changed FOR mor_alv.

  ENDMETHOD.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After  I change field and pres 'ENTER' I get popup with message "Programs error" and program exits.&lt;/P&gt;&lt;P&gt;(On the screen in other container I  also have  ALV Tree-CL_GUI_ALV_TREE , maybe it is impotrant to mention...)&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 08:50:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-event-data-changed-error/m-p/7769763#M1584431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-23T08:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: ALV event  data_changed error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-event-data-changed-error/m-p/7769764#M1584432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Welcome to SCN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What error you are getting - runtime error or something else , please elaborate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 09:00:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-event-data-changed-error/m-p/7769764#M1584432</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2011-03-23T09:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: ALV event  data_changed error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-event-data-changed-error/m-p/7769765#M1584433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as I said I just get popup wit error message "Program errors" with just "Exit" button, when I press the button program exits.&lt;/P&gt;&lt;P&gt;I get no runtime error, just this popup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Jan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 09:24:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-event-data-changed-error/m-p/7769765#M1584433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-23T09:24:56Z</dc:date>
    </item>
  </channel>
</rss>

