<?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: FUNCTION 'REUSE_ALV_GRID_DISPLAY' - Fieldcat modify in user_command? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-reuse-alv-grid-display-fieldcat-modify-in-user-command/m-p/1622875#M278558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Under the the event USERCOMMAND you can&lt;/P&gt;&lt;P&gt;&amp;gt; you can modify the fieldcatalog but to see the result&lt;/P&gt;&lt;P&gt;&amp;gt; you will have the REUSE_ALV_GRID_DISPLAY again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't need to call REUSE_ALV_GRID_DISPLAY again. Try REUSE_ALV_GRID_LAYOUT_INFO_GET/REUSE_ALV_GRID_LAYOUT_INFO_SET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Hendrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Oct 2006 13:37:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-06T13:37:50Z</dc:date>
    <item>
      <title>FUNCTION 'REUSE_ALV_GRID_DISPLAY' - Fieldcat modify in user_command?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-reuse-alv-grid-display-fieldcat-modify-in-user-command/m-p/1622873#M278556</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;with ALV function call, is it possible to modify the field catalog when processing the event form 'USER_COMMAND'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before calling the display, I generate the field catalog. Then I set all unpopulated columns (field is initial in all lines) to 'TECH'. So I see only 'active' columns. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the user can do some interaction which will change the lines values. In event routine for 'USER_COMMAND, I set the selfield-refresh = 'X'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now, for some fields, I want to remove the 'TECH' attribute of the field catalog because they get populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 12:10:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-reuse-alv-grid-display-fieldcat-modify-in-user-command/m-p/1622873#M278556</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2006-10-06T12:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION 'REUSE_ALV_GRID_DISPLAY' - Fieldcat modify in user_command?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-reuse-alv-grid-display-fieldcat-modify-in-user-command/m-p/1622874#M278557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;        Under the the event USERCOMMAND you can modify the fieldcatalog but to see the result you will have the REUSE_ALV_GRID_DISPLAY again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 12:56:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-reuse-alv-grid-display-fieldcat-modify-in-user-command/m-p/1622874#M278557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-06T12:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION 'REUSE_ALV_GRID_DISPLAY' - Fieldcat modify in user_command?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-reuse-alv-grid-display-fieldcat-modify-in-user-command/m-p/1622875#M278558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Under the the event USERCOMMAND you can&lt;/P&gt;&lt;P&gt;&amp;gt; you can modify the fieldcatalog but to see the result&lt;/P&gt;&lt;P&gt;&amp;gt; you will have the REUSE_ALV_GRID_DISPLAY again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't need to call REUSE_ALV_GRID_DISPLAY again. Try REUSE_ALV_GRID_LAYOUT_INFO_GET/REUSE_ALV_GRID_LAYOUT_INFO_SET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Hendrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 13:37:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-reuse-alv-grid-display-fieldcat-modify-in-user-command/m-p/1622875#M278558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-06T13:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION 'REUSE_ALV_GRID_DISPLAY' - Fieldcat modify in user_command?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-reuse-alv-grid-display-fieldcat-modify-in-user-command/m-p/1622876#M278559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ha!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't remember who gave me this hint - thank you so uch!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function group SLVC_FULLSCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hast the FMs&lt;/P&gt;&lt;P&gt;REUSE_ALV_GRID_DISPLAY,&lt;/P&gt;&lt;P&gt;REUSE_ALV_GRID_DISPLAY_LVC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET_GLOBALS_FROM_SLVC_FULLSCR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you have the exporting parameter E_GRID as a reference of current instance of CL_GUI_ALV_GRID. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may use this to access all the methods as i.e. GET_FRONTEND_FIELDCATALOG and SET_FRONTEND_FIELDCATALOG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and whatever more you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Makes use of OO technology almost obsolete &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 16:10:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-reuse-alv-grid-display-fieldcat-modify-in-user-command/m-p/1622876#M278559</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2008-07-24T16:10:46Z</dc:date>
    </item>
  </channel>
</rss>

