<?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: data_changed event in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-changed-event/m-p/929928#M60592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Serdar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mean it is possible to "hand through" ALV events to the normal dynpro flow? How?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And one more thing, slightly off-topic: How can I put hyperlinks in my posts? When I insert a link to &lt;A href="http://www.sdn" target="test_blank"&gt;http://www.sdn&lt;/A&gt;. it shows as a huge link in one line. Can I abbreviate it somehow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 May 2005 07:17:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-05-19T07:17:00Z</dc:date>
    <item>
      <title>ALV: data_changed event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-changed-event/m-p/929926#M60590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a DYNPRO with one ALV grid and several "ordinary" fields. The ALV is editable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I try to sum up some fields of the ALV grid and put the sum into one of the ordinary DYNPRO fields. When the &amp;lt;i&amp;gt;data_changed&amp;lt;/i&amp;gt; event is fired the sum is calculated correctly and put into the global field associated with the DYNPRO field. However, the value change is not shown on the DYNPRO. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I press &amp;lt;i&amp;gt;ENTER&amp;lt;/i&amp;gt; while the cursor is in the "ordinary" DYNPRO area and not in the ALV Grid, the data change is shown correctly. Debugging shows that no PBO/PAI for the DYNPRO is executed when the data in the ALV is changed, so I assume there is no value transport between the global field and the DYNPRO. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2005 15:26:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-changed-event/m-p/929926#M60590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-18T15:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: ALV: data_changed event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-changed-event/m-p/929927#M60591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joerg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To achieve this you should define ALV events as application events. Or you should reset the same screen using 'LEAVE TO SCREEN X' at the end of data_changed event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar &amp;lt;a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d"&amp;gt;[ BC ]&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2005 17:08:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-changed-event/m-p/929927#M60591</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2005-05-18T17:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALV: data_changed event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-changed-event/m-p/929928#M60592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Serdar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mean it is possible to "hand through" ALV events to the normal dynpro flow? How?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And one more thing, slightly off-topic: How can I put hyperlinks in my posts? When I insert a link to &lt;A href="http://www.sdn" target="test_blank"&gt;http://www.sdn&lt;/A&gt;. it shows as a huge link in one line. Can I abbreviate it somehow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2005 07:17:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-changed-event/m-p/929928#M60592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-19T07:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: ALV: data_changed event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-changed-event/m-p/929929#M60593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joerg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you register the event data_changed you need to set the flag appl_event to 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siggi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2005 07:39:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-changed-event/m-p/929929#M60593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-19T07:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: ALV: data_changed event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-changed-event/m-p/929930#M60594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joerg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the other way how to achieve the processing of PAI/PBO of the main DYNPRO, which contains ALV. It works fine for me, so you could consider this possibility as well. Inside the event handling method you could do this call:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
       CALL METHOD cl_gui_cfw=&amp;gt;set_new_ok_code
         EXPORTING
           new_code = 'ENTE'
         IMPORTING
           rc       = l_rc.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You should deal rather carefully with it - put it better in a method like &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;HANDLE_DATA_CHANGED_FINISHED&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;. &lt;/P&gt;&lt;P&gt;Instead of 'ENTE' you should use the command code defined in your dynpro and better suited for such a "refresh" functionality, but I'm afraid it can not be empty code string.&lt;/P&gt;&lt;P&gt;Hope this helps, regards, Sergei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2005 10:13:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-changed-event/m-p/929930#M60594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-19T10:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: ALV: data_changed event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-changed-event/m-p/929931#M60595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joerg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, defining events as application events handles events through the PAI flow where you call "cl_gui_cfw=&amp;gt;dispatch".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, you can insert URLs between the tag "[ url&amp;lt;i&amp;gt;=&amp;lt;url&amp;gt;&amp;lt;/i&amp;gt;]&amp;lt;i&amp;gt;&amp;lt;URL text&amp;gt;&amp;lt;/i&amp;gt;[ /url]". (Omit the blanks just after "["s).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar &amp;lt;a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d"&amp;gt;[ BC ]&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2005 13:52:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-changed-event/m-p/929931#M60595</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2005-05-19T13:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: ALV: data_changed event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-changed-event/m-p/929932#M60596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Joerg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made a lot of work with editable alv grids, but using the function REUSE_ALV_GRID_DISPLAY. This function has a property for triggering user command after editing a cell. I've checked the code behind that option and I believe you should register the following event:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method grid-&amp;gt;register_edit_event&lt;/P&gt;&lt;P&gt;  exporting i_event_id = cl_gui_alv_grid=&amp;gt;mc_evt_modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course you also need to set a handler for this event...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Ofer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2005 14:57:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-changed-event/m-p/929932#M60596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-19T14:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: ALV: data_changed event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-changed-event/m-p/929933#M60597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ofer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the same problem.. Solved by your solution.. Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2005 07:21:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-data-changed-event/m-p/929933#M60597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-20T07:21:19Z</dc:date>
    </item>
  </channel>
</rss>

