<?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: Execute ENTER on ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-enter-on-alv/m-p/6879062#M1478253</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;There is no alternative to replicate the enter functionlity, but one thing you can do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put a SAVE button(Just notmal button with save name) on the container grid and then&lt;/P&gt;&lt;P&gt;after changing all the records in the table when user clicks save button on the grid&lt;/P&gt;&lt;P&gt;container, write logic of transferring data to internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this you have to use toolbar and  user_command events in class cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards and best wishes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 May 2010 12:55:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-19T12:55:47Z</dc:date>
    <item>
      <title>Execute ENTER on ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-enter-on-alv/m-p/6879061#M1478252</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 an editable ALV where user can add new lines. the problem is that I always have to push the enter button to get the values from the added lines to my internal table. is there any method for executing ENTER?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want that user add new lines and if they finished and push the saving button I want to execute the ENTER function bevor saving to get the lines from the alv to my internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 08:30:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-enter-on-alv/m-p/6879061#M1478252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-19T08:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Execute ENTER on ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-enter-on-alv/m-p/6879062#M1478253</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;There is no alternative to replicate the enter functionlity, but one thing you can do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put a SAVE button(Just notmal button with save name) on the container grid and then&lt;/P&gt;&lt;P&gt;after changing all the records in the table when user clicks save button on the grid&lt;/P&gt;&lt;P&gt;container, write logic of transferring data to internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this you have to use toolbar and  user_command events in class cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards and best wishes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 12:55:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-enter-on-alv/m-p/6879062#M1478253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-19T12:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Execute ENTER on ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-enter-on-alv/m-p/6879063#M1478254</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 do not see where your problem lies.&lt;/P&gt;&lt;P&gt;Assuming that you are using OO-based ALV (CL_GUI_ALV_GRID) then the logic is straightforward:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) User enters new data&lt;/P&gt;&lt;P&gt;(2) User pushes SAVE button (GUI function !) =&amp;gt; triggers PAI of the dynpro&lt;/P&gt;&lt;P&gt;(3) Call method &lt;STRONG&gt;go_grid-&amp;gt;check_data_changed()&lt;/STRONG&gt; at PAI =&amp;gt; transfers changes on ALV grid to itab in ABAP program&lt;/P&gt;&lt;P&gt;(4) Call your SAVE routine to store the changed data persistently&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 04:43:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-enter-on-alv/m-p/6879063#M1478254</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2010-05-20T04:43:36Z</dc:date>
    </item>
  </channel>
</rss>

