<?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 mark only maximum 2 rows in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-mark-only-maximum-2-rows/m-p/3912286#M937984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, can you please explain me how you solved the issue ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jun 2008 10:30:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-10T10:30:17Z</dc:date>
    <item>
      <title>ALV mark only maximum 2 rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-mark-only-maximum-2-rows/m-p/3912284#M937982</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 would like to make an ALV grid (made WITH REUSE_ALV_GRID_DISPLAY) to enable only maximum 2 rows marked at the same time. &lt;/P&gt;&lt;P&gt;The grid will be used to match the item pairs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it has to be the following states:&lt;/P&gt;&lt;P&gt;- initially 0 lines are selected&lt;/P&gt;&lt;P&gt;- first the user selects 1 lines&lt;/P&gt;&lt;P&gt;- then the user selects the first selected line's pair (2 lines are selected now)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF the user selects a third line, the first selected line has to be un-marked and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to solve with the standard row markers or do I have to use an additional field for this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 08:17:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-mark-only-maximum-2-rows/m-p/3912284#M937982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T08:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: ALV mark only maximum 2 rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-mark-only-maximum-2-rows/m-p/3912285#M937983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tamas, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont think it is possible with the standard functionality. If you want to implement this , u would have to copy the function module and the code which gets execute at the selection of the grid row .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this just display ur data in the grid and debug to see wht is the include or function module for the Click event of gird . Make a z of this code and modify according to your need .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it will be a very complicated task and you can do the same thing easily using table control if ur not bound to use the Grid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 08:43:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-mark-only-maximum-2-rows/m-p/3912285#M937983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T08:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: ALV mark only maximum 2 rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-mark-only-maximum-2-rows/m-p/3912286#M937984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, can you please explain me how you solved the issue ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 10:30:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-mark-only-maximum-2-rows/m-p/3912286#M937984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T10:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: ALV mark only maximum 2 rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-mark-only-maximum-2-rows/m-p/3912287#M937985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using an empty, 1 char long field for marking. In the user command part of the ALV it's easy to code the markings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key is using the following statement in the user command section:&lt;/P&gt;&lt;P&gt;selfield-refresh = 'X'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 13:22:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-mark-only-maximum-2-rows/m-p/3912287#M937985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T13:22:24Z</dc:date>
    </item>
  </channel>
</rss>

