<?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: detect rows selection in ALV using oops in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684445#M620735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what i have . Iam new oops so i want to just make sure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; method handle_user_command.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;§ 3.In event handler method for event USER_COMMAND: Query your&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  function codes defined in step 2 and react accordingly.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    data: lt_rows type lvc_t_row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    case e_ucomm.&lt;/P&gt;&lt;P&gt;      when 'DELETE'.&lt;/P&gt;&lt;P&gt;        call method g_grid-&amp;gt;get_selected_rows&lt;/P&gt;&lt;P&gt;                 importing et_index_rows = lt_rows.&lt;/P&gt;&lt;P&gt;DATA : WA_LT_ROWS LIKE LINE OF LT_ROWS.&lt;/P&gt;&lt;P&gt;LOOP AT LT_ROWS INTO WA_LT_ROWS.&lt;/P&gt;&lt;P&gt;DELETE I_ZFINAL INDEX WA_LT_ROWS-INDEX.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method g_grid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt; exporting&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_BYPASSING_BUFFER            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_BUFFER_ACTIVE               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_CONSISTENCY_CHECK           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_STRUCTURE_NAME              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IS_VARIANT                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_SAVE                        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_DEFAULT                     = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     is_layout                     = g_layout&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IS_PRINT                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_SPECIAL_GROUPS             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    it_toolbar_excluding          = pt_exclude&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_HYPERLINK                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_ALV_GRAPHICS               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  changing&lt;/P&gt;&lt;P&gt;    it_outtab                     =  i_zFINAL&lt;/P&gt;&lt;P&gt;    it_fieldcatalog               = fieldcat&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_SORT                       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_FILTER                     =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  exceptions&lt;/P&gt;&lt;P&gt;    invalid_parameter_combination = 1&lt;/P&gt;&lt;P&gt;    program_error                 = 2&lt;/P&gt;&lt;P&gt;    too_many_lines                = 3&lt;/P&gt;&lt;P&gt;    others                        = 4&lt;/P&gt;&lt;P&gt;        .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET ME KNOW THANKS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2007 14:21:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-09T14:21:39Z</dc:date>
    <item>
      <title>detect rows selection in ALV using oops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684442#M620732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ALL,&lt;/P&gt;&lt;P&gt;I HAVE An ALV OUTPUT OF RECORDS USING OOPS.&lt;/P&gt;&lt;P&gt;NOW I CAN SELECT ONE OR MULTIPLE ROWS OF THE OUTPUT AND I HAVE ADDED A DELETE ICON TO MY TOOL BAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I HAVE BACK AND EXIT BUTTON AND I HAVE CODE FOR THE SAME IN PAI.&lt;/P&gt;&lt;P&gt;FOR DELETE ICON SY-UCOMM IS DELE AND CONTROL COMES TO PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MY QUESTION IS HOW DO YOU KNOW WHICH ROW OR ROWS ARE SELETEd , IN NORMAL ABAP , a field BOX type c has a value X , but what about in ALV using OOPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no idea whether my approach is correct or wrong or do i need to something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 14:06:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684442#M620732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T14:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: detect rows selection in ALV using oops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684443#M620733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have a method to get the selected rows :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;get_selected_rows&amp;lt;/b&amp;gt;&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;Take a look at &amp;lt;a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf"&amp;gt;ALV Gird Control (BC-SRV-ALE)&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 14:12:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684443#M620733</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-08-09T14:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: detect rows selection in ALV using oops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684444#M620734</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;Use method  get_selected_rows of the ALV class, this returns the index of all rows that have been selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; call method alv_grid1-&amp;gt;get_selected_rows&lt;/P&gt;&lt;P&gt;     importing&lt;/P&gt;&lt;P&gt;       et_index_rows = lt_rows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 14:19:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684444#M620734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T14:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: detect rows selection in ALV using oops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684445#M620735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what i have . Iam new oops so i want to just make sure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; method handle_user_command.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;§ 3.In event handler method for event USER_COMMAND: Query your&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  function codes defined in step 2 and react accordingly.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    data: lt_rows type lvc_t_row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    case e_ucomm.&lt;/P&gt;&lt;P&gt;      when 'DELETE'.&lt;/P&gt;&lt;P&gt;        call method g_grid-&amp;gt;get_selected_rows&lt;/P&gt;&lt;P&gt;                 importing et_index_rows = lt_rows.&lt;/P&gt;&lt;P&gt;DATA : WA_LT_ROWS LIKE LINE OF LT_ROWS.&lt;/P&gt;&lt;P&gt;LOOP AT LT_ROWS INTO WA_LT_ROWS.&lt;/P&gt;&lt;P&gt;DELETE I_ZFINAL INDEX WA_LT_ROWS-INDEX.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method g_grid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt; exporting&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_BYPASSING_BUFFER            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_BUFFER_ACTIVE               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_CONSISTENCY_CHECK           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_STRUCTURE_NAME              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IS_VARIANT                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_SAVE                        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_DEFAULT                     = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     is_layout                     = g_layout&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IS_PRINT                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_SPECIAL_GROUPS             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    it_toolbar_excluding          = pt_exclude&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_HYPERLINK                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_ALV_GRAPHICS               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  changing&lt;/P&gt;&lt;P&gt;    it_outtab                     =  i_zFINAL&lt;/P&gt;&lt;P&gt;    it_fieldcatalog               = fieldcat&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_SORT                       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_FILTER                     =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  exceptions&lt;/P&gt;&lt;P&gt;    invalid_parameter_combination = 1&lt;/P&gt;&lt;P&gt;    program_error                 = 2&lt;/P&gt;&lt;P&gt;    too_many_lines                = 3&lt;/P&gt;&lt;P&gt;    others                        = 4&lt;/P&gt;&lt;P&gt;        .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET ME KNOW THANKS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 14:21:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684445#M620735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T14:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: detect rows selection in ALV using oops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684446#M620736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &amp;lt;i&amp;gt;refresh_table_display&amp;lt;/i&amp;gt; and not &amp;lt;i&amp;gt;set_table_for_first_display&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 14:28:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684446#M620736</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-08-09T14:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: detect rows selection in ALV using oops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684447#M620737</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;Use the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;method handle_user_command.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;§ 3.In event handler method for event USER_COMMAND: Query your&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;function codes defined in step 2 and react accordingly.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: lt_rows type lvc_t_row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case e_ucomm.&lt;/P&gt;&lt;P&gt;  when 'DELETE'.&lt;/P&gt;&lt;P&gt;    call method g_grid-&amp;gt;get_selected_rows&lt;/P&gt;&lt;P&gt;        importing et_index_rows = lt_rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : WA_LT_ROWS LIKE LINE OF LT_ROWS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT LT_ROWS INTO WA_LT_ROWS.&lt;/P&gt;&lt;P&gt;  DELETE I_ZFINAL INDEX WA_LT_ROWS-INDEX.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method g_grid-&amp;gt;refresh_table_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 14:34:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684447#M620737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T14:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: detect rows selection in ALV using oops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684448#M620738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;I awarded full points to you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 14:36:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684448#M620738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T14:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: detect rows selection in ALV using oops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684449#M620739</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;THIS IS OK RIGHT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I JUST WANT TO MAKE SURE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: lt_rows type lvc_t_row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    case e_ucomm.&lt;/P&gt;&lt;P&gt;      when 'DELETE'.&lt;/P&gt;&lt;P&gt;        call method g_grid-&amp;gt;get_selected_rows&lt;/P&gt;&lt;P&gt;                 importing et_index_rows = lt_rows.&lt;/P&gt;&lt;P&gt;        call method cl_gui_cfw=&amp;gt;flush.&lt;/P&gt;&lt;P&gt;        if sy-subrc ne 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;add your handling, for example&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         call function 'POPUP_TO_INFORM'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              exporting&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                   titel = g_repid&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                   txt2  = sy-subrc&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                   txt1  = 'Error in Flush'(500).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : WA_LT_ROWS LIKE LINE OF LT_ROWS.&lt;/P&gt;&lt;P&gt;LOOP AT LT_ROWS INTO WA_LT_ROWS.&lt;/P&gt;&lt;P&gt;DELETE I_ZFINAL INDEX WA_LT_ROWS-INDEX.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call method g_grid-&amp;gt;refresh_table_display.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 14:37:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684449#M620739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T14:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: detect rows selection in ALV using oops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684450#M620740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked at SAP sample program BCALV_EDIT_04 (and other ones)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 14:37:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684450#M620740</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-08-09T14:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: detect rows selection in ALV using oops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684451#M620741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suchitra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the suggestions are good and will work.  The returned value from the method get selected rows returns the index of the row number(s) selected.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please be careful to note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the sort command buttons are enabled, the user may have sorted the table prior to using the delete functionality.  Your internal table used to generate the ALV Grid will be in the original order unless you mimic the sort commands the user may have used.  If you fail to consider this, you may delete the incorrect row from your internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just food for thought.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 14:51:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684451#M620741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T14:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: detect rows selection in ALV using oops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684452#M620742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your valuable suugestions and i am trying to understand from SAP standard Programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No offence i have split the points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 14:55:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detect-rows-selection-in-alv-using-oops/m-p/2684452#M620742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T14:55:44Z</dc:date>
    </item>
  </channel>
</rss>

