<?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 refresh grid  title in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-grid-title/m-p/2942234#M693606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everybody, &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;        I have done my program in ALV Grid. I have a title in my layout and I have displayed sy-dbcnt in the title. The problem is I have a Refresh button on my grid and when I press the Refresh button the result will gets changed. Now  I also need to get my grid title refreshed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example: initially I get 58 readings in the output the title shows me &amp;lt;b&amp;gt;'Records Found : 58'&amp;lt;/b&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;later when I refresh the grid with refresh button my readings gets changed (like get reduced to 56). now my grid title is not getting refreshed so that I should get it as &amp;lt;b&amp;gt;'Records Found: 56'&amp;lt;/b&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any body help me out in this case? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any doubts please ping me up.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx in advance, &lt;/P&gt;&lt;P&gt;Abhi...!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2007 11:16:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-09T11:16:24Z</dc:date>
    <item>
      <title>refresh grid  title</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-grid-title/m-p/2942234#M693606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everybody, &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;        I have done my program in ALV Grid. I have a title in my layout and I have displayed sy-dbcnt in the title. The problem is I have a Refresh button on my grid and when I press the Refresh button the result will gets changed. Now  I also need to get my grid title refreshed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example: initially I get 58 readings in the output the title shows me &amp;lt;b&amp;gt;'Records Found : 58'&amp;lt;/b&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;later when I refresh the grid with refresh button my readings gets changed (like get reduced to 56). now my grid title is not getting refreshed so that I should get it as &amp;lt;b&amp;gt;'Records Found: 56'&amp;lt;/b&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any body help me out in this case? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any doubts please ping me up.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx in advance, &lt;/P&gt;&lt;P&gt;Abhi...!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 11:16:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-grid-title/m-p/2942234#M693606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T11:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: refresh grid  title</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-grid-title/m-p/2942235#M693607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your logic for Record calculation is in PBO or not?&lt;/P&gt;&lt;P&gt;Check in Debugging mode that wether the FM or Class whatever you are using for displaying total is called when you do refresh or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 11:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-grid-title/m-p/2942235#M693607</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-10-09T11:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: refresh grid  title</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-grid-title/m-p/2942236#M693608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have just given my code as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE it_tab LINES li_lines.&lt;/P&gt;&lt;P&gt;WRITE li_lines TO ls_title LEFT-JUSTIFIED.&lt;/P&gt;&lt;P&gt;CONCATENATE 'RECORDS FOUND :' ls_title INTO ls_title SEPARATED BY space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;even when i perform refresh button I gave the same code there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;abhi...!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 11:58:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-grid-title/m-p/2942236#M693608</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T11:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: refresh grid  title</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-grid-title/m-p/2942237#M693609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abhilash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that you are using class CL_GUI_ALV_GRID then you have to call method &amp;lt;b&amp;gt;go_grid-&amp;gt;set_gridtitle&amp;lt;/b&amp;gt;( 'new title' ) with the new title text.&lt;/P&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, 09 Oct 2007 12:16:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-grid-title/m-p/2942237#M693609</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-10-09T12:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: refresh grid  title</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-grid-title/m-p/2942238#M693610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhilash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Checkout this Blog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;TOP_OF_PAGE in ALV Using CL_GUI_ALV_GRID&lt;/P&gt;&lt;P&gt;/people/vijaybabu.dudla/blog/2006/07/21/topofpage-in-alv-using-clguialvgrid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 13:06:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-grid-title/m-p/2942238#M693610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T13:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: refresh grid  title</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-grid-title/m-p/2942239#M693611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Set Table for first display&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  WRITE sy-datum TO lv_date DD/MM/YYYY.&lt;/P&gt;&lt;P&gt;  WRITE sy-uzeit TO lv_time USING EDIT MASK '__:__:__'.&lt;/P&gt;&lt;P&gt;  CONCATENATE 'Report' 'Date' lv_date text-005 'Time' INTO lv_text RESPECTING BLANKS.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  gs_layo-grid_title = lv_text.&lt;/P&gt;&lt;P&gt;  gs_layo-smalltitle = gc_flag .&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD go_grid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      is_variant      = gs_variant&lt;/P&gt;&lt;P&gt;      i_save          = gc_save&lt;/P&gt;&lt;P&gt;      i_default       = abap_true&lt;/P&gt;&lt;P&gt;      is_layout       = gs_layo&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      it_outtab       = gt_final[]&lt;/P&gt;&lt;P&gt;      it_fieldcatalog = gt_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this way we can place grid title&lt;/P&gt;&lt;P&gt;To refresh it you need to call this again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards if useful..............&lt;/P&gt;&lt;P&gt;Minal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2007 04:57:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-grid-title/m-p/2942239#M693611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-10T04:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: refresh grid  title</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-grid-title/m-p/2942240#M693612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhilash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of writing the logic in refresh button just try triggering the top of page event of the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raise event top_of_page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful,&lt;/P&gt;&lt;P&gt;Aleem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2007 07:06:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-grid-title/m-p/2942240#M693612</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-10T07:06:47Z</dc:date>
    </item>
  </channel>
</rss>

