<?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 header refresh problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-header-refresh-problem/m-p/5727608#M1299362</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;The method refresh_table_display should be calles once, if you need to refresh the ALV you have to call the method for refreshing: REFRESH_TABLE_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO u can check the object for container if it's initial u can call method to display the list, else to refresh it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before refreshing the ALV u need to call the method to change the catalog table: SET_FRONTEND_FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2009 12:42:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-01T12:42:57Z</dc:date>
    <item>
      <title>ALV Grid header refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-header-refresh-problem/m-p/5727607#M1299361</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 have a some stupid problem wich I can not solve on my own &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; I'm trying to change ALV header during runtime. I have an ALV grid with 7 columns. Each column header conatins name with corresponding date of a current week. I would like to change date period to previous week together with column names. I mean... when I click a button, grid column name's are changing... I simple tried something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR ws_fieldcat[].&lt;/P&gt;&lt;P&gt;PERFORM build_fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  lvc_s_stbl-row = 1.&lt;/P&gt;&lt;P&gt;  lvc_s_stbl-col = 1.&lt;/P&gt;&lt;P&gt;  CALL METHOD  go_grid_plan-&amp;gt;refresh_table_display&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      is_stable = lvc_s_stbl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but its dont work at all ! I mean even if ws_fieldcat table is filled with correct values column name are not changing &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; Event if ws_fieldcate table is empty (perfom build_fields is commented out) header are not changing &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; Propably I dont know something about OO programing or something like that because in most examples in the internet this lines works fine. I call this method from PBO. Thx a lot for help !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 12:39:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-header-refresh-problem/m-p/5727607#M1299361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T12:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid header refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-header-refresh-problem/m-p/5727608#M1299362</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;The method refresh_table_display should be calles once, if you need to refresh the ALV you have to call the method for refreshing: REFRESH_TABLE_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO u can check the object for container if it's initial u can call method to display the list, else to refresh it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before refreshing the ALV u need to call the method to change the catalog table: SET_FRONTEND_FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 12:42:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-header-refresh-problem/m-p/5727608#M1299362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T12:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid header refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-header-refresh-problem/m-p/5727609#M1299363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use method [set_frontend_fieldcatalog|http://help.sap.com/saphelp_erp2004/helpdata/EN/0a/b5532dd30911d2b467006094192fe3/frameset.htm] before method [refresh_table_display|http://help.sap.com/saphelp_erp2004/helpdata/EN/0a/b5531ed30911d2b467006094192fe3/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- use [get_frontend_fieldcatalog|http://help.sap.com/saphelp_erp2004/helpdata/EN/0a/b55303d30911d2b467006094192fe3/frameset.htm] to get the actual field catalog before updating your data&lt;/P&gt;&lt;P&gt;- Be aware that some changes may require the use of [set_table_for_first_display|http://help.sap.com/saphelp_erp2004/helpdata/EN/0a/b5533cd30911d2b467006094192fe3/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 12:48:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-header-refresh-problem/m-p/5727609#M1299363</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2009-06-01T12:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid header refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-header-refresh-problem/m-p/5727610#M1299364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;exactly ! thx a lot for help !!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 13:17:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-header-refresh-problem/m-p/5727610#M1299364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T13:17:04Z</dc:date>
    </item>
  </channel>
</rss>

