<?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: ALV GRID in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1075918#M96275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kam,&lt;/P&gt;&lt;P&gt;       U r true for get_selected_rows,&lt;/P&gt;&lt;P&gt;but my requirement is i am giving  user an editable grid and the user will not select any single row to change instead it ill make changes where ever required ,&lt;/P&gt;&lt;P&gt;So i thought if there is a method that will read modified row would make my work easy.&lt;/P&gt;&lt;P&gt;or is there a method tat will give u all the rows of the grid.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Azee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2005 16:43:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-10T16:43:15Z</dc:date>
    <item>
      <title>ALV GRID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1075914#M96271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a Method in CL_gui_alv_grid to read  the rows that are modified or all the rows in an alv grid? &lt;/P&gt;&lt;P&gt;As i can update the changes in database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Azee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 16:32:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1075914#M96271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T16:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1075915#M96272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Azee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Use method &amp;lt;b&amp;gt;get_selected_rows&amp;lt;/b&amp;gt; of Class cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This method exports a Table to us that contains the row id of the selected row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: iRowIndex type LVC_T_ROID,&lt;/P&gt;&lt;P&gt;       waRowIndex like line of iRowIndex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method&lt;/P&gt;&lt;P&gt;        grid-&amp;gt;get_selected_rows(&lt;/P&gt;&lt;P&gt;              importing&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                 et_index_rows =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                   et_row_no     = iRowIndex ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Check the no of rows selected.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      describe table iRowIndex lines sy-tfill.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Read the Row Number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      read table iRowIndex into waRowIndex index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    get the corresponding record&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  read table iQdql into waQdql index &lt;/P&gt;&lt;P&gt;      waRowIndex-row_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Modify the database&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      modify qdql from waQdql.&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;Thanks&lt;/P&gt;&lt;P&gt;Kam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Allot points for all the worthful helps!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Kam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 16:34:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1075915#M96272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T16:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1075916#M96273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  CALL METHOD W_GRID1-&amp;gt;CHECK_CHANGED_DATA&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      E_VALID = L_VALID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before calling the method store the internal table data to be displayed in the grid in a temporary internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If L_VALID = 'X'.&lt;/P&gt;&lt;P&gt;  the records in the internal table will be changed with ur changed data. Then u can compare the temporary internal table with the current internal table and the changed contents u can save in the database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;sharmistha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 16:36:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1075916#M96273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T16:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1075917#M96274</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; there is one method for get_selected_rows.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Siri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 16:38:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1075917#M96274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T16:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1075918#M96275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kam,&lt;/P&gt;&lt;P&gt;       U r true for get_selected_rows,&lt;/P&gt;&lt;P&gt;but my requirement is i am giving  user an editable grid and the user will not select any single row to change instead it ill make changes where ever required ,&lt;/P&gt;&lt;P&gt;So i thought if there is a method that will read modified row would make my work easy.&lt;/P&gt;&lt;P&gt;or is there a method tat will give u all the rows of the grid.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Azee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 16:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1075918#M96275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T16:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1075919#M96276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Azee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Then go with the method CHECK_CHANGED_DATA.&lt;/P&gt;&lt;P&gt; This method will Verify for Changes and Triggers an event DATA_CHANGED automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I think,u could also use GET_CHANGED_DATA method too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;&lt;P&gt;Kam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 16:50:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1075919#M96276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T16:50:01Z</dc:date>
    </item>
  </channel>
</rss>

