<?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: ALV Grid editable fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-editable-fields/m-p/1184325#M126676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got 3 different handlers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved it now by calling the method CHECK_CHANGED_DATA for all grids.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: René Günther&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Feb 2006 14:47:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-22T14:47:37Z</dc:date>
    <item>
      <title>ALV Grid editable fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-editable-fields/m-p/1184322#M126673</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 got a dynpro with 3 ALV grids. I edit a value of grid 3, then I execute a pushbutton of grid 1. The value of grid 3 is resetted then.&lt;/P&gt;&lt;P&gt;What should I do to keep the value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points guaranteed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;René&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 14:19:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-editable-fields/m-p/1184322#M126673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-22T14:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid editable fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-editable-fields/m-p/1184323#M126674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like the event handler method for event data_changed  is not being fired.  In one of my programs, I am registering the "ENTER" key, the user must hit enter after editing the field to fire the data_changed event.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

* Set for first display
        call method alv_grid-&amp;gt;set_table_for_first_display
            exporting
                 is_layout              = lt_layout
                 it_toolbar_excluding   = lt_exclude
            changing
                 it_outtab       = ialv[]
                 it_fieldcatalog = fieldcat[].

* If cancelling points, register "ENTER" as event
* and create the event receiver
&amp;lt;b&amp;gt;          call method alv_grid-&amp;gt;register_edit_event
                        exporting
                           i_event_id = cl_gui_alv_grid=&amp;gt;mc_evt_enter.&amp;lt;/b&amp;gt;

*   create Event Receiver
          create object event_receiver.

*   handler for ALV grid
          set handler event_receiver-&amp;gt;handle_data_changed for alv_grid.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do this records the changes that the user has made.  I believe that this must be done before you start the processing of the button on Grid1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 14:23:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-editable-fields/m-p/1184323#M126674</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-22T14:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid editable fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-editable-fields/m-p/1184324#M126675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you handling the data_changed event for each grid separately. and what about user_command event is it same for all the grid. i hope you are having 3 handlers for 3 grids. can you confirm it once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 14:36:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-editable-fields/m-p/1184324#M126675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-22T14:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid editable fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-editable-fields/m-p/1184325#M126676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got 3 different handlers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved it now by calling the method CHECK_CHANGED_DATA for all grids.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: René Günther&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 14:47:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-editable-fields/m-p/1184325#M126676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-22T14:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid editable fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-editable-fields/m-p/1184326#M126677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In field_cat for alv grid3 set edit mode , when you enter the new value if it is "Date " field then declare size as 10 type c . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if it if Quanity field then Take  ALV_List  dont go for grid .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; You want to change in Grid only then after changing the value then when you select the Usercommand  then Move selfield_value  to some other internal table then call function module again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Ranadheer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 14:56:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-editable-fields/m-p/1184326#M126677</guid>
      <dc:creator>former_member772333</dc:creator>
      <dc:date>2006-02-22T14:56:19Z</dc:date>
    </item>
  </channel>
</rss>

