<?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: capturing selected rows from output in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504809#M1065709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you have to. Otherwise you won't be able to know which rows were selected.&lt;/P&gt;&lt;P&gt;It is best to use it in AT USER-COMMAND event block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AT USER-COMMAND.

if sy-ucomm = "here your fcode for some pushbutton like i.e. GET_NO_ROWS 
 call method alv-&amp;gt;get_selected_rows importing et_row_no = lt_rows.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setting layout to 'A' value is just indicating that multipy rows selection can be performed, &lt;/P&gt;&lt;P&gt;but the activity of gettting selected rows itself is different and must be explicitly used (by calling the method get_selected_rows).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Oct 2008 08:01:33 GMT</pubDate>
    <dc:creator>MarcinPciak</dc:creator>
    <dc:date>2008-10-01T08:01:33Z</dc:date>
    <item>
      <title>capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504799#M1065699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to capture selcted rows from alv grid display.(oops)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 07:03:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504799#M1065699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T07:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504800#M1065700</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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 07:05:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504800#M1065700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T07:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504801#M1065701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may use get cursor for a single row and accordingly modify the flag corresponding to that row and thus for each selection the internal table is populated with the flag checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then on the basis of the flag u can make the selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 07:06:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504801#M1065701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T07:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504802#M1065702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I WANT FOR MULTIPLE SELECTIONS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 07:20:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504802#M1065702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T07:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504803#M1065703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how can i select multiple rows in oops alv control&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 07:22:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504803#M1065703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T07:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504804#M1065704</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;EM&gt;Get the Selected record.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : w_grid_cont   type ref to cl_gui_container.&lt;/P&gt;&lt;P&gt;data : w_alv         type ref to cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  create object w_alv&lt;/P&gt;&lt;P&gt;   exporting&lt;/P&gt;&lt;P&gt;     i_parent          = w_grid_cont.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;call method w_alv-&amp;gt;check_changed_data.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select Multiple record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;itab-xflag = 'X'.&lt;/P&gt;&lt;P&gt;modify itab.&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;&lt;/P&gt;&lt;P&gt;Try this Method,&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;&lt;/P&gt;&lt;P&gt;Durai.V&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Durai V on Oct 1, 2008 9:23 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 07:22:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504804#M1065704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T07:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504805#M1065705</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;Do like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) in layout structure set selection mode for multiple rows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ls_layout-sel_mode = 'A'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) then just call this method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call method alv-&amp;gt;get_selected_rows importing et_row_no = lt_rows.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter u201Cet_row_nou201D is of type &lt;STRONG&gt;LVC_T_ROID&lt;/STRONG&gt; and returns row indexes for selected rows (but not cells or columns) in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 07:27:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504805#M1065705</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-10-01T07:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504806#M1065706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Though iam using 'A' for multiple selections its not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 07:37:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504806#M1065706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T07:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504807#M1065707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please ensure you are passing &lt;STRONG&gt;ls_layout&lt;/STRONG&gt; to &lt;STRONG&gt;set_table_for_first_display&lt;/STRONG&gt; method.&lt;/P&gt;&lt;P&gt;Where do you call &lt;STRONG&gt;GET_SELECTED_ROWS&lt;/STRONG&gt; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 07:51:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504807#M1065707</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-10-01T07:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504808#M1065708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;    YES  I AM  PASSING IS_LAYOUT IN SET_FIRST_DISPLAY..... DO I NEED TO CALL GET_SELECTED ROWS  ALSO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 07:53:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504808#M1065708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T07:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504809#M1065709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you have to. Otherwise you won't be able to know which rows were selected.&lt;/P&gt;&lt;P&gt;It is best to use it in AT USER-COMMAND event block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AT USER-COMMAND.

if sy-ucomm = "here your fcode for some pushbutton like i.e. GET_NO_ROWS 
 call method alv-&amp;gt;get_selected_rows importing et_row_no = lt_rows.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setting layout to 'A' value is just indicating that multipy rows selection can be performed, &lt;/P&gt;&lt;P&gt;but the activity of gettting selected rows itself is different and must be explicitly used (by calling the method get_selected_rows).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 08:01:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504809#M1065709</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-10-01T08:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504810#M1065710</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 did  ls_layout-sel_mode = 'A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as well as i caleed method get selected data  but its not getting anyrows filled in t_rows...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 08:44:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504810#M1065710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T08:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504811#M1065711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;  i am able to select only single row  n am able to get the index of that row  using  gt_select_data ......&lt;/P&gt;&lt;P&gt;but i need for multiple selection  i folowed what u said that is   V_LAYOUT-SEL_MODE = 'A'.&lt;/P&gt;&lt;P&gt;  can u plz guide me for multiple row selection&lt;/P&gt;&lt;P&gt;   thank u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 08:53:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504811#M1065711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T08:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504812#M1065712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please give us your code. Maybe it will be easier to help you then.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 08:57:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504812#M1065712</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-10-01T08:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504813#M1065713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;V_LAYOUT TYPE LVC_S_LAYO,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_LAYOUT-SEL_MODE = 'A'.&lt;/P&gt;&lt;P&gt;      V_LAYOUT-zebra = 'X'.&lt;/P&gt;&lt;P&gt;      V_LAYOUT-EDIT = 'X'.&lt;/P&gt;&lt;P&gt;        V_LAYOUT-NO_TOOLBAR = 'X'.&lt;/P&gt;&lt;P&gt;         V_LAYOUT-GRID_TITLE = 'stock in warehouse'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD GRID2-&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_BUFFER_ACTIVE               =&lt;/P&gt;&lt;/LI&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_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                     = V_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          =&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;LI level="1" type="ul"&gt;&lt;P&gt;   IT_EXCEPT_QINFO               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    IT_OUTTAB                     = IT_FINAL_RAW&lt;/P&gt;&lt;P&gt;    IT_FIELDCATALOG               = IT_FIELDCAT1&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;LI level="1" type="ul"&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   INVALID_PARAMETER_COMBINATION = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   PROGRAM_ERROR                 = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   TOO_MANY_LINES                = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   others                        = 4&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " STATUS_0100  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  USER_COMMAND_0100  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0100 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'OPTIMIZE'.&lt;/P&gt;&lt;P&gt;data : it_rows type  LVC_T_ROID..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD GRID2-&amp;gt;GET_SELECTED_ROWS&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ET_INDEX_ROWS =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    ET_ROW_NO     =  it_rows&lt;/P&gt;&lt;P&gt;    .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 09:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504813#M1065713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T09:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504814#M1065714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;   any sugestions to  modify&lt;/P&gt;&lt;P&gt;   thank u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 09:19:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504814#M1065714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T09:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504815#M1065715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One point to notice here is that if you set your ALV Grid as to be editable, it may override your selection mode regardless of your layout settings. Please try with removing edit mode from layout structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 09:27:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504815#M1065715</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-10-01T09:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504816#M1065716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;   i removed that but still multiple selections is not possible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 09:30:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504816#M1065716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T09:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504817#M1065717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi marcin,&lt;/P&gt;&lt;P&gt;     i added checkboxes to each row and atleast can we capture the row indexes which are selected using the check boxes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 09:34:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504817#M1065717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T09:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: capturing selected rows from output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504818#M1065718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, strange to me, I have very similar code and it works fine. Maybe try different selection modes. Use either u2018Cu2019 or u2018Du2019 as they both work with get_selected_rows method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 09:35:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-selected-rows-from-output/m-p/4504818#M1065718</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-10-01T09:35:51Z</dc:date>
    </item>
  </channel>
</rss>

