<?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: SELECTION OF MULTIPLE ROWS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-of-multiple-rows/m-p/2188333#M466286</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;declare a variable-name as  'box' of type char in ur internal table which u pass to alv grid fm &lt;/P&gt;&lt;P&gt;sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;layout settings declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wg_gs_layout TYPE slis_layout_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write this stmt befor u call the alv grid fm.&lt;/P&gt;&lt;P&gt;wg_gs_layout-box_fieldname     = 'BOX'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will help u to select multiple row in random from alv report&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 May 2007 12:48:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-08T12:48:54Z</dc:date>
    <item>
      <title>SELECTION OF MULTIPLE ROWS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-of-multiple-rows/m-p/2188329#M466282</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;i am using FM REUSE_ALV_GRID_DISPLAY TO display records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to select only one row ata time .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to use ctrl or shift key to select multiple rows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way that i can select multiple rows with just using mouse and without using shift or ctrl KEYS&lt;/P&gt;&lt;P&gt;tHANKS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 17:50:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-of-multiple-rows/m-p/2188329#M466282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T17:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION OF MULTIPLE ROWS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-of-multiple-rows/m-p/2188330#M466283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can click on one row and drag down to select more rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarsd,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 17:53:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-of-multiple-rows/m-p/2188330#M466283</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-05-07T17:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION OF MULTIPLE ROWS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-of-multiple-rows/m-p/2188331#M466284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to select like random rows .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say like 1 ,3 7, 11---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it posiible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i saw some standard SAP screens similar to this .&lt;/P&gt;&lt;P&gt;where i can select without using CTRL OR shift keys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 17:59:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-of-multiple-rows/m-p/2188331#M466284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T17:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION OF MULTIPLE ROWS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-of-multiple-rows/m-p/2188332#M466285</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;we can use &lt;/P&gt;&lt;P&gt;select upto n rows from table itab where &amp;lt;condition&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example.&lt;/P&gt;&lt;P&gt;data : begin of itab_mara,&lt;/P&gt;&lt;P&gt;           matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;           enum like mara-enum,&lt;/P&gt;&lt;P&gt;           end of itab_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen : begin of block blk1 with frame title text-001.&lt;/P&gt;&lt;P&gt;select-options : s_matnr for mara-matnr,&lt;/P&gt;&lt;P&gt;selection-screen : end of block blk1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select upto 5 rows from table itab_mara where matnr in s_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the rows which u want to select is not random rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward with points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 12:04:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-of-multiple-rows/m-p/2188332#M466285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T12:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION OF MULTIPLE ROWS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-of-multiple-rows/m-p/2188333#M466286</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;declare a variable-name as  'box' of type char in ur internal table which u pass to alv grid fm &lt;/P&gt;&lt;P&gt;sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;layout settings declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wg_gs_layout TYPE slis_layout_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write this stmt befor u call the alv grid fm.&lt;/P&gt;&lt;P&gt;wg_gs_layout-box_fieldname     = 'BOX'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will help u to select multiple row in random from alv report&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 12:48:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-of-multiple-rows/m-p/2188333#M466286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T12:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION OF MULTIPLE ROWS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-of-multiple-rows/m-p/2188334#M466287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But after selecting multiple rows how to retrieve the seelcted rows ? In the user_event , i cld see the field 'selfield' of TYPE slis_selfield which holds only one record info ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 08:45:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-of-multiple-rows/m-p/2188334#M466287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T08:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION OF MULTIPLE ROWS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-of-multiple-rows/m-p/2188335#M466288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use the following function in user_command subroutine to know the selected coloumn in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM user_cmd   USING ucomm1 LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;                       selfield TYPE slis_selfield."#ec *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA ref1 TYPE REF TO cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      e_grid = ref1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD ref1-&amp;gt;check_changed_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CASE ucomm1 .&lt;/P&gt;&lt;P&gt;    WHEN 'SAVE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      UPDATE ekko FROM TABLE itab.&lt;/P&gt;&lt;P&gt;      COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "user_cmd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 08:55:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-of-multiple-rows/m-p/2188335#M466288</guid>
      <dc:creator>former_member491305</dc:creator>
      <dc:date>2007-05-21T08:55:57Z</dc:date>
    </item>
  </channel>
</rss>

