<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1272297#M150613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After setting the ALV grid for first display in the PBO, try calling this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;          call method alv_grid-&amp;gt;register_edit_event
                        exporting
                           i_event_id = cl_gui_alv_grid=&amp;gt;mc_evt_enter.&lt;/CODE&gt;&lt;/PRE&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>Fri, 07 Apr 2006 18:42:04 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-04-07T18:42:04Z</dc:date>
    <item>
      <title>ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1272296#M150612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a modifiable ALV Grid embedded in an GUI container on a dynpro. If the user now enters new data into the grid and presses the enter button on the dynpro, I can raise an event on the ALV class object in order to transport this new data from the GUI to the program. Unfortunately, if the cursor is positioned on the grid itself and the user press the enter button on the keyboard, no event is raised and the data are not transported. Is there any way to force the ALV to transport the data on this event?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2006 18:32:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1272296#M150612</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-07T18:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1272297#M150613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After setting the ALV grid for first display in the PBO, try calling this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;          call method alv_grid-&amp;gt;register_edit_event
                        exporting
                           i_event_id = cl_gui_alv_grid=&amp;gt;mc_evt_enter.&lt;/CODE&gt;&lt;/PRE&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>Fri, 07 Apr 2006 18:42:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1272297#M150613</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-04-07T18:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1272298#M150614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  the Sy-UCOMM of the ENTER button is captured in the PAI of the Screen and thus the Data change event, which is exclusive for ALV and its elements, will not be triggered. YOu have to call the  &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CALL METHOD LG_ALV_GRID01-&amp;gt;CHECK_CHANGED_DATA&amp;lt;/b&amp;gt; method in the PAI of the Screen. Check the Sy-UCOMM of the enter button(sometimes it will be SPACE).&lt;/P&gt;&lt;P&gt;thus add the below code in your PAI of the Screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE OKCODE&lt;/P&gt;&lt;P&gt;WHEN SPACE&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CALL METHOD LG_ALV_GRID01-&amp;gt;CHECK_CHANGED_DATA&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;ENDCASE/.&lt;/P&gt;&lt;P&gt;CHECK_CHANGED_DATA method will internally raise the DATA_CHANGED Event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it solves your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2006 19:37:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1272298#M150614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-07T19:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1272299#M150615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that's it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Apr 2006 18:21:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1272299#M150615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-08T18:21:05Z</dc:date>
    </item>
  </channel>
</rss>

