<?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 Selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-selection/m-p/2257930#M489134</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 the same problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two SALV's in one screen and I want to know in the PAI which lines of both ALV's are selected. But I got nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then tried the following.&lt;/P&gt;&lt;P&gt;I added a custom function to one of the ALV's. I added an event handler for the event 'on_user_command '. In the event handler I'm able to get the selected rows of the ALV with the button. I can't get the selected rows of the other ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how I can get the selected rows of two ALV's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2007 13:50:28 GMT</pubDate>
    <dc:creator>steven_dierick</dc:creator>
    <dc:date>2007-06-01T13:50:28Z</dc:date>
    <item>
      <title>ALV Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-selection/m-p/2257929#M489133</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 a SALV created using  cl_salv_table=&amp;gt;factory() method to create the ALV. I want to be able to select a few rows and process them in PAI. Currently I'm able to select multiple lines. But in the PAI, I'm not able able to get the selected rows. Basically the method &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; lr_selections = gr_table1-&amp;gt;get_selections( ).&lt;/P&gt;&lt;P&gt; lt_rows = lr_selections-&amp;gt;get_selected_rows( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;returns me nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions/alternate solutions are appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinodh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 06:32:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-selection/m-p/2257929#M489133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T06:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-selection/m-p/2257930#M489134</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 the same problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two SALV's in one screen and I want to know in the PAI which lines of both ALV's are selected. But I got nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then tried the following.&lt;/P&gt;&lt;P&gt;I added a custom function to one of the ALV's. I added an event handler for the event 'on_user_command '. In the event handler I'm able to get the selected rows of the ALV with the button. I can't get the selected rows of the other ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how I can get the selected rows of two ALV's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 13:50:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-selection/m-p/2257930#M489134</guid>
      <dc:creator>steven_dierick</dc:creator>
      <dc:date>2007-06-01T13:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-selection/m-p/2257931#M489135</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;Check the internal table of ALV output, I think your table table definatly having first column to hold checkbox value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop through ALV.&lt;/P&gt;&lt;P&gt;check first field, it it 'X'  means record is seleted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;shiak bhasha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 14:36:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-selection/m-p/2257931#M489135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T14:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-selection/m-p/2257932#M489136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shiak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using the new ALV object model. (class CL_SALV_TABLE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 15:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-selection/m-p/2257932#M489136</guid>
      <dc:creator>steven_dierick</dc:creator>
      <dc:date>2007-06-05T15:41:58Z</dc:date>
    </item>
  </channel>
</rss>

