<?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: Selecting multiple rows in an ALV without using control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843963#M1684449</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 have suggestion, working around why don't you use ALV checkboxes instead? &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/797/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;By ticking those checkboxes in every row will indicate that the user selected the line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jake&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2012 02:04:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-06-22T02:04:12Z</dc:date>
    <item>
      <title>Selecting multiple rows in an ALV without using control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843954#M1684440</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 trying to find a way to select multiple items from an alv without needing to use the CTRL key. The popup to select a maintenance package that appears when you attempt to manually call a strategy-based maintenance plan using transaction IP10 appears to have such functionality, but I don't think it uses an ALV grid. Answers on these forums were split between "set the box_fname field of the layout" (which almost always ended in the person giving up and simply calling get_selected_rows( ) ), and "it can't be done".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have three related questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) How can I select multiple rows in an ALV without needing the control key? &lt;/P&gt;&lt;P&gt;2) What kind of control is that popup using if its not an ALV?&lt;/P&gt;&lt;P&gt;3) What does the box_fname field of the layout actually do? Most people seem to think that it can replace get_selected_rows( ) and then it never works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 21:45:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843954#M1684440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-20T21:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting multiple rows in an ALV without using control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843955#M1684441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please &lt;STRONG&gt;SEARCH&lt;/STRONG&gt; in SCN before posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This has been asked many times here.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/1515175"&gt;http://scn.sap.com/thread/1515175&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 05:13:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843955#M1684441</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2012-06-21T05:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting multiple rows in an ALV without using control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843956#M1684442</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;you can create checkbox,assign HOTSPOT to that ,YOu can select ALV entries without comtrol,,you can pass those values for further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create internal table with CHECKBOX with all other required fields,then from alv_grid assign HOTSPOT to CHECKBOX,,IN OOABA you can use DOUBLE_CLICK event to know which line pressed...from that you can achieve easily,,,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In normal alv grid you can write in USER_COMMAND&amp;nbsp; form to update CHECKBOX field,,,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help you,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lingaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 05:24:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843956#M1684442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-21T05:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting multiple rows in an ALV without using control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843957#M1684443</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;For selecting multiple lines without using control you can use the class 'CL_GUI_ALV_GRID' and method 'SET_TABLE_FOR_FIRST_DISPLAY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here after the ALV is generated. you can left click and drag the rows that you want to select. Refer the screen shot below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/112560" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you . Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 05:37:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843957#M1684443</guid>
      <dc:creator>Kartik2</dc:creator>
      <dc:date>2012-06-21T05:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting multiple rows in an ALV without using control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843958#M1684444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Former Member,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The suggestion of &lt;A __default_attr="200980" __jive_macro_name="user" class="jive_macro jive_macro_user" href="https://community.sap.com/"&gt; and&amp;nbsp; &lt;/A&gt;&lt;A __default_attr="74031" __jive_macro_name="user" class="jive_macro jive_macro_user" href="https://community.sap.com/"&gt; will work as per your requirements to select multiple lines in ALV. Yes, by using "layout BOX_FIELDNAME of ALV" or using this method 'SET_TABLE_FOR_FIRST_DISPLAY'. You can select multiple lines without using CTRL key by dragging down or up those box of the ALV report. But I have a question, what if I select lines with gap each other(Like this image below)? if this is the case, dragging will not be effective to achieve this.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/112582" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Worth thinking of, isn't it? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jake&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 06:46:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843958#M1684444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-21T06:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting multiple rows in an ALV without using control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843959#M1684445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this if it helps:&lt;/P&gt;&lt;P&gt;in the layout of method set_table_for_first_display of class cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;if u set the parameter &lt;STRONG&gt;sel_mode &lt;/STRONG&gt;then its value will decide ur selection.&lt;/P&gt;&lt;P&gt;whether u will be able to slect multiple rows with ctrl or only single rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also check link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46b/helpdata/en/bf/3bd1369f2d280ee10000009b38f889/frameset.htm"&gt;http://help.sap.com/saphelp_46b/helpdata/en/bf/3bd1369f2d280ee10000009b38f889/frameset.htm&lt;/A&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/112595" width="450" /&gt;&lt;/P&gt;&lt;P&gt;revert back if still feel confusion in any concept of ALV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 07:07:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843959#M1684445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-21T07:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting multiple rows in an ALV without using control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843960#M1684446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't want to sound like a jerk here, but I think it's pretty obvious that I did &lt;STRONG&gt;SEARCH&lt;/STRONG&gt; before posting. As a matter of fact, I reported the results of my search in my post. The thread you linked to says exactly what I said that I already found, that it can't be done and that you should use get_selected_rows( ). Rather than being rude and implying that I didn't put forth due diligence before asking my question and offering no new information, perhaps you should either take a stab at the part that hasn't been answered in many other threads (how the maintenance package selection popup works) or just refrain from posting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 12:12:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843960#M1684446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-21T12:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting multiple rows in an ALV without using control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843961#M1684447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a developer, "it can't be done" isn't something I will accept easily. However, I will accept that this can't be done with the level of efficiency required for production code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, by handling to the DELAYED_CHANGED_SEL_CALLBACK event of cl_gui_alv grid and manually keeping track of which rows had been previously selected I could manually call set_selected_rows to provide my desired functionality. However, this presents a two-fold problem. First, this should be a quick front end only deal and not require trips to the back end. Second, the delay event is delayed. I could lower the delay timer (either by calling some higher level set_property or by extending cl_gui_alv_grid so that I can access its private methods) but I don't believe it's worth the effort to do that instead of just training the end user to use the CTRL key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 13:56:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843961#M1684447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-21T13:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting multiple rows in an ALV without using control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843962#M1684448</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'll have a "stab" at (1) and (2). &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/797/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I can't give you a definitive answer but I suspect that if the question has been asked numerous times but hasn't been answered then the answer probably is that "it can't be done"... &lt;EM&gt;with ALV&lt;/EM&gt;&lt;STRONG&gt;&lt;EM&gt;.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2) Plant Maintenance hasn't been implemented in my current system so I can't run IP10 to confirm this but I strongly suspect that the maintenance package selection popup you mentioned is implemented using a dynpro table control, not ALV.&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably not the answers you were hoping for but I hope it helps a little.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 01:00:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843962#M1684448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-22T01:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting multiple rows in an ALV without using control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843963#M1684449</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 have suggestion, working around why don't you use ALV checkboxes instead? &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/797/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;By ticking those checkboxes in every row will indicate that the user selected the line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jake&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 02:04:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-multiple-rows-in-an-alv-without-using-control/m-p/8843963#M1684449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-22T02:04:12Z</dc:date>
    </item>
  </channel>
</rss>

