<?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: Deselect rows in ALV after processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/deselect-rows-in-alv-after-processing/m-p/11343247#M1920809</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;&lt;/P&gt;&lt;P&gt;Are you creating ALV using function or classes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks&lt;/P&gt;&lt;P&gt;NIshant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Oct 2015 11:50:24 GMT</pubDate>
    <dc:creator>nishantbansal91</dc:creator>
    <dc:date>2015-10-05T11:50:24Z</dc:date>
    <item>
      <title>Deselect rows in ALV after processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deselect-rows-in-alv-after-processing/m-p/11343246#M1920808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following requirement ...&lt;/P&gt;&lt;P&gt;- in an ALV you can select severals rows, press a button for a Special processing and when the processing is done, the selected rows should be automatically deselected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I manage the deselection?&lt;/P&gt;&lt;P&gt;Can you please help? Thanks!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Monika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 11:47:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deselect-rows-in-alv-after-processing/m-p/11343246#M1920808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-05T11:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Deselect rows in ALV after processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deselect-rows-in-alv-after-processing/m-p/11343247#M1920809</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;&lt;/P&gt;&lt;P&gt;Are you creating ALV using function or classes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks&lt;/P&gt;&lt;P&gt;NIshant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 11:50:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deselect-rows-in-alv-after-processing/m-p/11343247#M1920809</guid>
      <dc:creator>nishantbansal91</dc:creator>
      <dc:date>2015-10-05T11:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Deselect rows in ALV after processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deselect-rows-in-alv-after-processing/m-p/11343248#M1920810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using classes (cl_salv_table)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 11:56:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deselect-rows-in-alv-after-processing/m-p/11343248#M1920810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-05T11:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Deselect rows in ALV after processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deselect-rows-in-alv-after-processing/m-p/11343249#M1920811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depending on ALV tool :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Modify the internal table (reset the BOX field as defined in layout) and trigger a REFRESH (either by OO ALV method (e.g. CL_GUI_ALV_GRID-&amp;gt;REFRESH_TABLE_DISPLAY) or USER_COMMAND parameter RS_SELFIELD-REFRESH.&lt;/LI&gt;&lt;LI&gt;Use a OO ALV deselecting method (e.g. method SET_SELECTED_ROWS of CL_SALV_SELECTIONS)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 12:02:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deselect-rows-in-alv-after-processing/m-p/11343249#M1920811</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-10-05T12:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Deselect rows in ALV after processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deselect-rows-in-alv-after-processing/m-p/11343250#M1920812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you referring to a custom developed program? If yes, in case you are using ALV functions you need to:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Set to blank the box field of the internal table displayed for the lines you are interested in&lt;/LI&gt;&lt;LI&gt;Refresh the ALV for the changes in the internal table to be transported to the ALV output.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both of the above in the subroutine used to implement the user actions (i.e., the one defined the the &lt;EM&gt;i_callback_user_command&lt;/EM&gt; parameter of FM &lt;EM&gt;REUSE_ALV_GRID_DISPLAY&lt;/EM&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if &lt;EM&gt;BOX&lt;/EM&gt; is the name of the field (you will find it in a statement like &lt;EM&gt;ls_layout-box_fieldname&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 'BOX'&lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;loop at itable where box eq 'X'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; itable-box = space.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; modify itable transporting box.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;endloop.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ps_selfield-refresh = 'X'&lt;/EM&gt;. (where selfield is the name of the import parameter of type &lt;EM&gt;slis_selfield&lt;/EM&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 12:03:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deselect-rows-in-alv-after-processing/m-p/11343250#M1920812</guid>
      <dc:creator>GSerfiotis</dc:creator>
      <dc:date>2015-10-05T12:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Deselect rows in ALV after processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deselect-rows-in-alv-after-processing/m-p/11343251#M1920813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Monika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use following codes..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;refresh &lt;/SPAN&gt;lt_rows.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;METHOD (Here name your Grid)&lt;/SPAN&gt;&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;set_selected_rows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it_index_rows &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lt_rows&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Hope it would solve your problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Srimanta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 12:06:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deselect-rows-in-alv-after-processing/m-p/11343251#M1920813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-05T12:06:35Z</dc:date>
    </item>
  </channel>
</rss>

