<?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 edit mode keyboard issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-edit-mode-keyboard-issue/m-p/855188#M47049</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried but the event 'before_user_command' is not trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried also with the button cut and paste displayed and when I click on them the event is not trigger also. But when I click on any other button (i.e.: refresh, check,...) the event is trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a reason why this event is not trigger for the cut and paste? Is there another event?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Dec 2004 09:49:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-12-28T09:49:32Z</dc:date>
    <item>
      <title>ALV GRID edit mode keyboard issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-edit-mode-keyboard-issue/m-p/855186#M47047</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 created a program that displays an ALV GRID. &lt;/P&gt;&lt;P&gt;From the Layout I said to edit in edit mode the ALV Grid.&lt;/P&gt;&lt;P&gt;In the menu toolbar I exclude the button 'cut - copy -paste and delete line'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the program I see that these buttons are not displayed --&amp;gt; OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT my problem is: if I use the keyboard then the ALV Grid manages these actions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance. I select some lines and press the key DELETE on the keyboard --&amp;gt; the lines are removed and that is not that I expect because I removed this action from the toolbar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the cut - copy and paste it's the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have  a solution for me --&amp;gt; intercept an event or change the function keys or ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like that the ALV Grid does not manage the keys delete, CRTL-C, CRTL-V in edit mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stevie,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2004 17:12:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-edit-mode-keyboard-issue/m-p/855186#M47047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-12-27T17:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID edit mode keyboard issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-edit-mode-keyboard-issue/m-p/855187#M47048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was not aware of this. So, I recommend you to try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the event &amp;lt;b&amp;gt;"before_user_command"&amp;lt;/b&amp;gt; you can terminate the process by resetting the ALV user command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;e.g.&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    CASE e_ucomm .

      WHEN '&amp;amp;INFO' .
        CALL METHOD gr_alvgrid-&amp;gt;set_user_command
                      EXPORTING i_ucomm = space.
    ENDCASE .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code within the event overrides the '&amp;amp;INFO' function and terminates its process. For cut and copy, you can find out ucomm values by putting a break point inside the event and tracing the value of &amp;lt;b&amp;gt;"i_ucomm"&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some relevant issues, you can inspect the tutorial &amp;lt;a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/an%20easy%20reference%20for%20alv%20grid%20control.pdf"&amp;gt;"An Easy Reference For ALV Grid Control"&amp;lt;/a&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;As another thing, since you are a new SDN member, you are welcome and let me introduce you the SDN forums pointing system: You can assign points to posts you find helpful while solving your question. You can reward points by clicking the yellow star icon at header of each reply post. You can reward;&lt;/P&gt;&lt;P&gt;- one 10 points (solved)&lt;/P&gt;&lt;P&gt;- two 6 points (very helpful answer)&lt;/P&gt;&lt;P&gt;- many 2 points (helpful answer)&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2004 22:09:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-edit-mode-keyboard-issue/m-p/855187#M47048</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-12-27T22:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID edit mode keyboard issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-edit-mode-keyboard-issue/m-p/855188#M47049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried but the event 'before_user_command' is not trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried also with the button cut and paste displayed and when I click on them the event is not trigger also. But when I click on any other button (i.e.: refresh, check,...) the event is trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a reason why this event is not trigger for the cut and paste? Is there another event?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2004 09:49:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-edit-mode-keyboard-issue/m-p/855188#M47049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-12-28T09:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID edit mode keyboard issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-edit-mode-keyboard-issue/m-p/855189#M47050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the 'EDIT' mode required in this ALV Grid ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2004 09:54:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-edit-mode-keyboard-issue/m-p/855189#M47050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-12-28T09:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID edit mode keyboard issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-edit-mode-keyboard-issue/m-p/855190#M47051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is now more challenging. Just a work-around, but try "data_changed" event. There, the protocol object should be holding deleted and inserted rows in tables which are public attributes as I remember, clear them and reset the user command again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2004 15:02:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-edit-mode-keyboard-issue/m-p/855190#M47051</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-12-28T15:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID edit mode keyboard issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-edit-mode-keyboard-issue/m-p/855191#M47052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this &lt;/P&gt;&lt;P&gt;    GT_LAYOUT-NO_ROWMOVE = 'X'.&lt;/P&gt;&lt;P&gt;    GT_LAYOUT-NO_ROWINS  = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call DIS. Meth.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CALL METHOD GT_GRID_MAIN-&amp;gt;SET_TABLE_FOR_FIRST_DISPLAY&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt; ....&lt;/P&gt;&lt;P&gt;        IS_LAYOUT            = GT_LAYOUT&lt;/P&gt;&lt;P&gt; ....&lt;/P&gt;&lt;P&gt;      CHANGING&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2005 05:26:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-edit-mode-keyboard-issue/m-p/855191#M47052</guid>
      <dc:creator>younmazz</dc:creator>
      <dc:date>2005-01-26T05:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID edit mode keyboard issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-edit-mode-keyboard-issue/m-p/855192#M47053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hyung Jin Youn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same problem as the thread starter. Unfortunately no_rowmove and no_rowins work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My internal table displayed in the ALV contains a field CHDATE which contains the date when the entry was last edited. &lt;/P&gt;&lt;P&gt;By setting no_rowins = 'X' and no_rowmove = 'X' the entry will not be deleted (that's nice) but unfortunately the field CHDATE won't be updated &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2005 10:45:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-edit-mode-keyboard-issue/m-p/855192#M47053</guid>
      <dc:creator>ronny_haak</dc:creator>
      <dc:date>2005-11-07T10:45:11Z</dc:date>
    </item>
  </channel>
</rss>

