<?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: custom control multiple row selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control-multiple-row-selection/m-p/6680820#M1449579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're using CL_GUI_ALV_GRID class, see methods named like get_selected_* as in "get_selected_rows"  creates a table containing the index of the rows the user selected.  Then, you can loop at that row index table and read the corresponding row from the internal table behind the ALV, using the index value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're asking about user's ability to select multiple rows, look at properties of the grid control, specifically SEL_MODE, value 'A' - multiple columns, multiple rows.  By design, I believe that multiple row selection is always supported in CL_GUI_ALV_GRID (presented as a button at left in SEL_MODE= 'A', 'D'), but specifically coded for in NetWeaver SALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;format for get_selected_rows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call method &amp;lt;ref. var. to CL_GUI_ALV_GRID&amp;gt;-&amp;gt;get _selected_rows
  importing et_index_rows = &amp;lt;internal table of type LVC_T_ROW&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If in NetWeaver SALV, respond and I'll post details for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Mar 2010 18:54:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-17T18:54:11Z</dc:date>
    <item>
      <title>custom control multiple row selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control-multiple-row-selection/m-p/6680819#M1449578</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 am displaying the output in custom control using alv oops.&lt;/P&gt;&lt;P&gt;How can i select the multiple rows in output?&lt;/P&gt;&lt;P&gt;How can i get the selected multiple rows data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 16:31:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control-multiple-row-selection/m-p/6680819#M1449578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-17T16:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: custom control multiple row selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control-multiple-row-selection/m-p/6680820#M1449579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're using CL_GUI_ALV_GRID class, see methods named like get_selected_* as in "get_selected_rows"  creates a table containing the index of the rows the user selected.  Then, you can loop at that row index table and read the corresponding row from the internal table behind the ALV, using the index value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're asking about user's ability to select multiple rows, look at properties of the grid control, specifically SEL_MODE, value 'A' - multiple columns, multiple rows.  By design, I believe that multiple row selection is always supported in CL_GUI_ALV_GRID (presented as a button at left in SEL_MODE= 'A', 'D'), but specifically coded for in NetWeaver SALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;format for get_selected_rows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call method &amp;lt;ref. var. to CL_GUI_ALV_GRID&amp;gt;-&amp;gt;get _selected_rows
  importing et_index_rows = &amp;lt;internal table of type LVC_T_ROW&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If in NetWeaver SALV, respond and I'll post details for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 18:54:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control-multiple-row-selection/m-p/6680820#M1449579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-17T18:54:11Z</dc:date>
    </item>
  </channel>
</rss>

