<?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: Dynamically changing Grid title  in alv using class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-changing-grid-title-in-alv-using-class/m-p/1485423#M226569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When user presses a button on the application toolbar....with function code ( say TITL ) then the grid_title field can be changed manually and can be reflected in the display by refreshing the table using the method below.. &lt;/P&gt;&lt;P&gt;please try this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flag = 1.&lt;/P&gt;&lt;P&gt;FORM user_command USING u_ucomm   LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;                     us_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;    CASE u_ucomm.&lt;/P&gt;&lt;P&gt;     WHEN 'TITL'.&lt;/P&gt;&lt;P&gt;        IF flag EQ 1.&lt;/P&gt;&lt;P&gt;           flag = 2.&lt;/P&gt;&lt;P&gt;           grid_title = 'ALV_DISPLAY_1'.&lt;/P&gt;&lt;P&gt;           CALL METHOD grid-&amp;gt;refresh_table_display&lt;/P&gt;&lt;P&gt;             EXPORTING&lt;/P&gt;&lt;P&gt;               IS_STABLE      =&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             I_SOFT_REFRESH =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;             EXCEPTIONS&lt;/P&gt;&lt;P&gt;               FINISHED       = 1&lt;/P&gt;&lt;P&gt;               others         = 2.                  &lt;/P&gt;&lt;P&gt;         elseif flag eq 2.&lt;/P&gt;&lt;P&gt;           flag = 1.&lt;/P&gt;&lt;P&gt;           grid_title = 'ALV_DISPLAY_2'.&lt;/P&gt;&lt;P&gt;           CALL METHOD grid-&amp;gt;refresh_table_display&lt;/P&gt;&lt;P&gt;             EXPORTING&lt;/P&gt;&lt;P&gt;               IS_STABLE      =&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             I_SOFT_REFRESH =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;             EXCEPTIONS&lt;/P&gt;&lt;P&gt;               FINISHED       = 1&lt;/P&gt;&lt;P&gt;               others         = 2.&lt;/P&gt;&lt;P&gt;          endif.&lt;/P&gt;&lt;P&gt;     ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jul 2006 10:00:29 GMT</pubDate>
    <dc:creator>Shivaji16</dc:creator>
    <dc:date>2006-07-26T10:00:29Z</dc:date>
    <item>
      <title>Dynamically changing Grid title  in alv using class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-changing-grid-title-in-alv-using-class/m-p/1485422#M226568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get grid title dynamically for single screen for user actions through buttons.What is the option available in cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in reuse_alv_grid_display one field grid_title is  available .but here i could not able to find anything like this .how to solve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2006 09:16:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-changing-grid-title-in-alv-using-class/m-p/1485422#M226568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-26T09:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically changing Grid title  in alv using class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-changing-grid-title-in-alv-using-class/m-p/1485423#M226569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When user presses a button on the application toolbar....with function code ( say TITL ) then the grid_title field can be changed manually and can be reflected in the display by refreshing the table using the method below.. &lt;/P&gt;&lt;P&gt;please try this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flag = 1.&lt;/P&gt;&lt;P&gt;FORM user_command USING u_ucomm   LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;                     us_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;    CASE u_ucomm.&lt;/P&gt;&lt;P&gt;     WHEN 'TITL'.&lt;/P&gt;&lt;P&gt;        IF flag EQ 1.&lt;/P&gt;&lt;P&gt;           flag = 2.&lt;/P&gt;&lt;P&gt;           grid_title = 'ALV_DISPLAY_1'.&lt;/P&gt;&lt;P&gt;           CALL METHOD grid-&amp;gt;refresh_table_display&lt;/P&gt;&lt;P&gt;             EXPORTING&lt;/P&gt;&lt;P&gt;               IS_STABLE      =&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             I_SOFT_REFRESH =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;             EXCEPTIONS&lt;/P&gt;&lt;P&gt;               FINISHED       = 1&lt;/P&gt;&lt;P&gt;               others         = 2.                  &lt;/P&gt;&lt;P&gt;         elseif flag eq 2.&lt;/P&gt;&lt;P&gt;           flag = 1.&lt;/P&gt;&lt;P&gt;           grid_title = 'ALV_DISPLAY_2'.&lt;/P&gt;&lt;P&gt;           CALL METHOD grid-&amp;gt;refresh_table_display&lt;/P&gt;&lt;P&gt;             EXPORTING&lt;/P&gt;&lt;P&gt;               IS_STABLE      =&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             I_SOFT_REFRESH =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;             EXCEPTIONS&lt;/P&gt;&lt;P&gt;               FINISHED       = 1&lt;/P&gt;&lt;P&gt;               others         = 2.&lt;/P&gt;&lt;P&gt;          endif.&lt;/P&gt;&lt;P&gt;     ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2006 10:00:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-changing-grid-title-in-alv-using-class/m-p/1485423#M226569</guid>
      <dc:creator>Shivaji16</dc:creator>
      <dc:date>2006-07-26T10:00:29Z</dc:date>
    </item>
  </channel>
</rss>

