<?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: SALV: Get_Selected_Rows Problems with Container Display in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/salv-get-selected-rows-problems-with-container-display/m-p/4598142#M1084016</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;Call the get_meta_data method to get the rows selected..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link for a sample code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6107663"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Oct 2008 22:14:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-20T22:14:25Z</dc:date>
    <item>
      <title>SALV: Get_Selected_Rows Problems with Container Display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/salv-get-selected-rows-problems-with-container-display/m-p/4598141#M1084015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, I need to know which rows have been selected on my report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the new class CL_SALV_TABLE to display my report, my report is display on a gui container on a dynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I used the fullscreen display, it seems to work! This probelm seems only to occur using the display in the container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setting the selection&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;selections = lr_table-&amp;gt;get_selections( ).
  selections-&amp;gt;set_selection_mode( if_salv_c_selection_mode=&amp;gt;multiple ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Getting the selected rows&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;lt_rows = selections-&amp;gt;get_selected_rows( ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My internal table lt_rows is always empty, but if I go in debug and I change the rows_rec to true (first if statment of the method) ... it will works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 22:07:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/salv-get-selected-rows-problems-with-container-display/m-p/4598141#M1084015</guid>
      <dc:creator>AlexGiguere</dc:creator>
      <dc:date>2008-10-20T22:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: SALV: Get_Selected_Rows Problems with Container Display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/salv-get-selected-rows-problems-with-container-display/m-p/4598142#M1084016</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;Call the get_meta_data method to get the rows selected..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link for a sample code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6107663"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 22:14:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/salv-get-selected-rows-problems-with-container-display/m-p/4598142#M1084016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T22:14:25Z</dc:date>
    </item>
  </channel>
</rss>

