<?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 get selected rows in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-selected-rows/m-p/10735400#M1874427</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 am using get_selected_rows method to fetch the edited columns in alv. My task is to update the edited data in alv into database table but i am not getting it. anybody help me with this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;hari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Dec 2014 07:16:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-12-01T07:16:12Z</dc:date>
    <item>
      <title>get selected rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-selected-rows/m-p/10735400#M1874427</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 am using get_selected_rows method to fetch the edited columns in alv. My task is to update the edited data in alv into database table but i am not getting it. anybody help me with this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;hari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 07:16:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-selected-rows/m-p/10735400#M1874427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-01T07:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: get selected rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-selected-rows/m-p/10735401#M1874428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Hari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you getting the changed data in get_selected_rows method while debugging?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, in order to modify the database table, make sure that key field data is also available. I am assuming lead id is the key field, but please ensure. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 08:06:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-selected-rows/m-p/10735401#M1874428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-01T08:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: get selected rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-selected-rows/m-p/10735402#M1874429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi susmitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made lead id as key in feld-catalog. but while debugging i am not getting the edited row index from get_selected_rows. i am not getting where is the mistake.&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, 01 Dec 2014 10:24:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-selected-rows/m-p/10735402#M1874429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-01T10:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: get selected rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-selected-rows/m-p/10735403#M1874430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the rows in get_selected_rows, you need to select the records as shown in figure. Have you selected the records ?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" style="max-width: 1200px; max-height: 900px;" /&gt;&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/597496" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option to get those records whose values have been changed, you need to implement handle_data_changed method.&lt;/P&gt;&lt;P&gt;Here all the data that has been changed will be in the table for method implemented for event handle_data_changed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 10:41:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-selected-rows/m-p/10735403#M1874430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-01T10:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: get selected rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-selected-rows/m-p/10735404#M1874431</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;My question is same as Susmita, are you selecting the records using buttons on the left of the records ?&lt;/P&gt;&lt;P&gt;But I think you wont be able to see those buttons as of now according to your code. To make those select buttons visible you will have to make your ALV editable by calling method o_grid-&amp;gt;SET_READY_FOR_INPUT&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;I_READY_FOR_INPUT = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call this method before displaying the grid i.e before method SET_TABLE_FOR_FIRST_DISPLAY.&lt;/P&gt;&lt;P&gt;&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;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 11:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-selected-rows/m-p/10735404#M1874431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-01T11:01:23Z</dc:date>
    </item>
  </channel>
</rss>

