<?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: 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/2985510#M704988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii&lt;/P&gt;&lt;P&gt;thank you..&lt;/P&gt;&lt;P&gt;i will do the same..&lt;/P&gt;&lt;P&gt;thank uuuuuuuu&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Nov 2007 12:06:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-14T12:06:43Z</dc:date>
    <item>
      <title>GET_SELECTED_ROWS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-selected-rows/m-p/2985508#M704986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii experts..&lt;/P&gt;&lt;P&gt;i am working on a ALv grid and in that i am selecting a row for for updating the changed valuse to DB table..&lt;/P&gt;&lt;P&gt;i am using GET_SELECTED_ROWS for the same . i want to check this seleced row to a DB table and if key fields are changed then i have to give error mesg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so plz any 1 tell how to check the selected rows against the original DB values..&lt;/P&gt;&lt;P&gt;i tried selcting DB into ITAB &lt;/P&gt;&lt;P&gt;SELECT * FROM Y4ARC_RES_PERIOD INTO CORRESPONDING FIELDS OF TABLE ZT_102.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  loop at ZT_102.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IF ZT_102-RES_ID EQ LT_102-RES_ID.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     MESSAGE E002(ZMSG).&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     EXIT.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and comparing with changed valuse but when we chang key fields and  existing key field ..ie..enter r same that condition will not work..&lt;/P&gt;&lt;P&gt;plz suggest&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 11:52:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-selected-rows/m-p/2985508#M704986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T11:52:28Z</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/2985509#M704987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;GET_SELECTED_ROWS gives you the selected of the final internal table which is used for display&lt;/P&gt;&lt;P&gt;IF you are using it_outtab for final display of your alv &lt;/P&gt;&lt;P&gt;then get_selected_rows gives you the row index of the table it_outab &lt;/P&gt;&lt;P&gt;by this row index you can find the value related in the final output table&lt;/P&gt;&lt;P&gt;it_outab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Reward points if usefull&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 11:56:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-selected-rows/m-p/2985509#M704987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T11:56:22Z</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/2985510#M704988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii&lt;/P&gt;&lt;P&gt;thank you..&lt;/P&gt;&lt;P&gt;i will do the same..&lt;/P&gt;&lt;P&gt;thank uuuuuuuu&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 12:06:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-selected-rows/m-p/2985510#M704988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T12:06:43Z</dc:date>
    </item>
  </channel>
</rss>

