<?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 Urgent: Object oriented ALV Refresh in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-object-oriented-alv-refresh/m-p/2827414#M661600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl let me know or share a code--- to update multiple lines selected from OO ALV GRID list in the SAP transparent table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to update the data into transparent table. &lt;/P&gt;&lt;P&gt;Using OO ALV .&lt;/P&gt;&lt;P&gt;The lines are getting refreshed ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; PERFORM refresh_grid.          "Refresh the grid with the new data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;FORM refresh_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD grid1-&amp;gt;refresh_table_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; DESCRIBE TABLE GT_OUTTAB LINES LIN1.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL METHOD cl_gui_cfw=&amp;gt;flush.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " REFRESH_GRID&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but based on that refresh need to edit the refreshed line..but this is not working..&lt;/P&gt;&lt;P&gt;it should be iterative process..&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;Sanika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Sep 2007 21:26:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-27T21:26:39Z</dc:date>
    <item>
      <title>Urgent: Object oriented ALV Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-object-oriented-alv-refresh/m-p/2827414#M661600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl let me know or share a code--- to update multiple lines selected from OO ALV GRID list in the SAP transparent table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to update the data into transparent table. &lt;/P&gt;&lt;P&gt;Using OO ALV .&lt;/P&gt;&lt;P&gt;The lines are getting refreshed ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; PERFORM refresh_grid.          "Refresh the grid with the new data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;FORM refresh_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD grid1-&amp;gt;refresh_table_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; DESCRIBE TABLE GT_OUTTAB LINES LIN1.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL METHOD cl_gui_cfw=&amp;gt;flush.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " REFRESH_GRID&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but based on that refresh need to edit the refreshed line..but this is not working..&lt;/P&gt;&lt;P&gt;it should be iterative process..&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;Sanika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 21:26:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-object-oriented-alv-refresh/m-p/2827414#M661600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-27T21:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: Object oriented ALV Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-object-oriented-alv-refresh/m-p/2827415#M661601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following method call is used to refresh the data displayed within an ALV object grid:&lt;/P&gt;&lt;P&gt;	CALL method gd_tree-&amp;gt;REFRESH_TABLE_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL METHOD gd_tree-&amp;gt;set_table_for_first_display
    EXPORTING
      is_layout       = gd_layout
    CHANGING
      it_fieldcatalog = gd_fieldcat
      it_sort         = it_sortcat
      it_outtab       = it_report.      

 CALL method gd_tree-&amp;gt;REFRESH_TABLE_DISPLAY.

 CALL METHOD cl_gui_cfw=&amp;gt;flush&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward  points if it is usefull ....&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 03:33:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-object-oriented-alv-refresh/m-p/2827415#M661601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-28T03:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: Object oriented ALV Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-object-oriented-alv-refresh/m-p/2827416#M661602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sanika&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that you have an editable ALV list (displayed on screen '0100') you should have to following coding in your report:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;1. At beginning of USER_COMMAND module (PAI)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  go_grid-&amp;gt;check_changed_data( ).  " retrieve changes from ALV grid into ABAP itab

" Of course you have to do all necessary validations prior to saving the data into any DB table&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;2. At the beginning of STATUS_0100 module (PBO):&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CALL METHOD go_grid-&amp;gt;refresh_table_display( ).
" In order to keep the current position fill the IS_STABLE parameter.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 10:37:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-object-oriented-alv-refresh/m-p/2827416#M661602</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-10-02T10:37:07Z</dc:date>
    </item>
  </channel>
</rss>

