<?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: Table control multiple line selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972282#M69975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this methos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD go_grid-&amp;gt;get_selected_rows&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      et_index_rows = gi_index_rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Aug 2005 04:47:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-03T04:47:18Z</dc:date>
    <item>
      <title>Table control multiple line selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972276#M69969</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 a table control where i have to select multiple lines and pass the selected line data into another internal table. &lt;/P&gt;&lt;P&gt;Example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have table control which displays 20 rowss. I can randomly select the rows in the 20. If suppose i have selected 1,2,5,8,9,13,16,19,20 rows. then i need to pass these rows data into another internal table pls guide me on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2005 16:03:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972276#M69969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-02T16:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table control multiple line selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972277#M69970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There should be a "MARK" field in your internal table.  This is how you know which ones are selected.  Loop at the internal table where MARK = 'X'.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Loop at itab where mark = 'X'.
move-coresponding fields of itab to itab2.
append itab2.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2005 16:05:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972277#M69970</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-08-02T16:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Table control multiple line selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972278#M69971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This MARK field should be part of the table control parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2005 16:09:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972278#M69971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-02T16:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Table control multiple line selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972279#M69972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To clarify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "mark" field is part of the internal table which is shown in the table control.  If you generated the table control with the wizard,  most likely it wanted to know what your "MARK" field is in the internal table.  If you said MARK, then there has to be a field in your internal table named MARK.  The wizard would have then generated this module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

module itabcon_mark input.
  modify &amp;lt;b&amp;gt;itab&amp;lt;/b&amp;gt;    index itabcon-current_line
    transporting &amp;lt;b&amp;gt;MARK&amp;lt;/b&amp;gt; .
endmodule.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This module is the code that actually updates the internal table when you select it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, its just a matter of LOOPing and check this MARK = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2005 16:14:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972279#M69972</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-08-02T16:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Table control multiple line selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972280#M69973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If these answers have been helpful, please don't forget to awared points accordingly. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2005 16:15:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972280#M69973</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-08-02T16:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Table control multiple line selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972281#M69974</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;Check this link for details about selecting multiple lines in table control.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/table" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/table&lt;/A&gt; control in abap.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is useful,click the star on the left of the reply.If you need clarifications,kindly get back.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2005 04:16:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972281#M69974</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-08-03T04:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Table control multiple line selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972282#M69975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this methos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD go_grid-&amp;gt;get_selected_rows&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      et_index_rows = gi_index_rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2005 04:47:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972282#M69975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-03T04:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table control multiple line selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972283#M69976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vamsi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope u r doing fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sample program:&lt;/P&gt;&lt;P&gt;  DEMO_DYNPRO_TABCONT_LOOP_AT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2005 05:05:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972283#M69976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-03T05:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Table control multiple line selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972284#M69977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot......Rich Heilman .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have strugled with the same problem from past 4 hours and its solved with your logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks SDN and alll&lt;/P&gt;&lt;P&gt;Sridhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 07:43:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-multiple-line-selection/m-p/972284#M69977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T07:43:53Z</dc:date>
    </item>
  </channel>
</rss>

