<?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: update teh internal table from the grid data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-teh-internal-table-from-the-grid-data/m-p/4303391#M1026146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi abap gurus,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt;  I am trying to use the class cl_gui_alv_grid . Im that class there is one method called SAVE_DATA . This is a protected method .  SoI am not able to use that .&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; My queries are :&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; 1&amp;gt; How to use a protected method from a class ?&lt;/P&gt;&lt;P&gt;&amp;gt; 2&amp;gt; Is there any other way to update the output internal table according to the changes done in the grid ?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table contents are automatically updated when you use the public method &lt;STRONG&gt;check_changed_data&lt;/STRONG&gt;. (This actually calls the SAVE_DATA method).  So no need to use the protected method directly.  A protected method can only be used within the class, or one of its subclasses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK_CHANGED_DATA also does the FLUSH for you as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2008 08:37:35 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2008-08-11T08:37:35Z</dc:date>
    <item>
      <title>update teh internal table from the grid data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-teh-internal-table-from-the-grid-data/m-p/4303390#M1026145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abap gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am trying to use the class cl_gui_alv_grid . Im that class there is one method called SAVE_DATA . This is a protected method .  SoI am not able to use that .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My queries are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;gt; How to use a protected method from a class ?&lt;/P&gt;&lt;P&gt;2&amp;gt; Is there any other way to update the output internal table according to the changes done in the grid ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 08:33:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-teh-internal-table-from-the-grid-data/m-p/4303390#M1026145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T08:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: update teh internal table from the grid data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-teh-internal-table-from-the-grid-data/m-p/4303391#M1026146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi abap gurus,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt;  I am trying to use the class cl_gui_alv_grid . Im that class there is one method called SAVE_DATA . This is a protected method .  SoI am not able to use that .&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; My queries are :&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; 1&amp;gt; How to use a protected method from a class ?&lt;/P&gt;&lt;P&gt;&amp;gt; 2&amp;gt; Is there any other way to update the output internal table according to the changes done in the grid ?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table contents are automatically updated when you use the public method &lt;STRONG&gt;check_changed_data&lt;/STRONG&gt;. (This actually calls the SAVE_DATA method).  So no need to use the protected method directly.  A protected method can only be used within the class, or one of its subclasses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK_CHANGED_DATA also does the FLUSH for you as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 08:37:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-teh-internal-table-from-the-grid-data/m-p/4303391#M1026146</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-08-11T08:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: update teh internal table from the grid data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-teh-internal-table-from-the-grid-data/m-p/4303392#M1026147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 11:03:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-teh-internal-table-from-the-grid-data/m-p/4303392#M1026147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T11:03:55Z</dc:date>
    </item>
  </channel>
</rss>

