<?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 / user_command -&amp;gt; data_changed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-user-command-gt-data-changed/m-p/12180284#M1979834</link>
    <description>&lt;P&gt;Generally speaking, you may trigger directly the method which handles any event.&lt;/P&gt;&lt;P&gt;But concerning data_changed, the instantiation of the parameter er_data_changed may be tricky so maybe it's easier to use the following workaround with a common method with simplified custom parameters.&lt;/P&gt;&lt;P&gt;The other workaround is to create a common method which is called by both the data_changed and user_command handlers.&lt;/P&gt;</description>
    <pubDate>Sat, 02 May 2020 05:22:04 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2020-05-02T05:22:04Z</dc:date>
    <item>
      <title>cl_gui_alv_grid / user_command -&gt; data_changed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-user-command-gt-data-changed/m-p/12180283#M1979833</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
  &lt;P&gt;I've searched now for a long time but still didnt find a solution.&lt;/P&gt;
  &lt;P&gt;I've created an object of cl_gui_alv_grid, add a new function key to toolbar (mass). User can change data in grid line by line or can make use of the mass button as well.&lt;/P&gt;
  &lt;P&gt;I've implemented the event user_command to receive the user command of the the MASS key. I change one field - same field as user can click line by line.&lt;/P&gt;
  &lt;P&gt;Is it possible to trigger now the data_changed event? I dont want to implement the logic of the data_changed method twice or call the method itself again.&lt;/P&gt;
  &lt;P&gt;I tried different ways but it wont run...&lt;/P&gt;
  &lt;P&gt;Do you have any ideas or examples?&lt;/P&gt;</description>
      <pubDate>Sat, 02 May 2020 03:19:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-user-command-gt-data-changed/m-p/12180283#M1979833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-05-02T03:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: cl_gui_alv_grid / user_command -&gt; data_changed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-user-command-gt-data-changed/m-p/12180284#M1979834</link>
      <description>&lt;P&gt;Generally speaking, you may trigger directly the method which handles any event.&lt;/P&gt;&lt;P&gt;But concerning data_changed, the instantiation of the parameter er_data_changed may be tricky so maybe it's easier to use the following workaround with a common method with simplified custom parameters.&lt;/P&gt;&lt;P&gt;The other workaround is to create a common method which is called by both the data_changed and user_command handlers.&lt;/P&gt;</description>
      <pubDate>Sat, 02 May 2020 05:22:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-grid-user-command-gt-data-changed/m-p/12180284#M1979834</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-05-02T05:22:04Z</dc:date>
    </item>
  </channel>
</rss>

