<?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 ALV_GRID Row selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-row-selection/m-p/938637#M62664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the Function 'REUSE_ALV_GRID_DISPLAY' and need to process all rows that have been selected (through the row selection button) by the user.  Is there a way capture the table index of each row that is selected?  Thanks for your help in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jul 2005 00:09:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-29T00:09:02Z</dc:date>
    <item>
      <title>ALV_GRID Row selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-row-selection/m-p/938637#M62664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the Function 'REUSE_ALV_GRID_DISPLAY' and need to process all rows that have been selected (through the row selection button) by the user.  Is there a way capture the table index of each row that is selected?  Thanks for your help in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2005 00:09:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-row-selection/m-p/938637#M62664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-29T00:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: ALV_GRID Row selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-row-selection/m-p/938638#M62665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have done in the past is have a checkbox for each record in the ALV. This is generally a CHAR1 field called creatively 'BOX'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I do is create the Layout Structure (type slis_layout_alv) and populate the field 'box_fieldname' with 'BOX'. This identifies the field 'BOX' in the internal table as a checkbox (you don't need to define this in the fieldcatalog).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now at the USER_COMMAND callback routine, you can loop at your internal table (the one with field BOX that is passed to the ALV) and search for the records where BOX = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense. Let me know if you need more info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2005 00:23:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-row-selection/m-p/938638#M62665</guid>
      <dc:creator>former_member221770</dc:creator>
      <dc:date>2005-07-29T00:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: ALV_GRID Row selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-row-selection/m-p/938639#M62666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You solved the problem.  Thanks very much for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2005 01:03:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-row-selection/m-p/938639#M62666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-29T01:03:45Z</dc:date>
    </item>
  </channel>
</rss>

