<?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 screen width? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-screen-width/m-p/2144873#M452262</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;You might try FM REUSE_ALV_LIST_WIDTH_GET. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not used it myself but when I inspect the code it looks rather promising. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the FM does help - can you please indicate so for others to benefit from?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, Johan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Apr 2007 20:46:04 GMT</pubDate>
    <dc:creator>reedtzj</dc:creator>
    <dc:date>2007-04-15T20:46:04Z</dc:date>
    <item>
      <title>ALV Grid screen width?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-screen-width/m-p/2144872#M452261</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 want to display some date in an ALV popup. The columns and the contents are determined dynamically at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to set the popup columns width (roughly) according to the displayed contents (col_width optimized).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any method to calculate the display width in SAPGUI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA,&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, 13 Apr 2007 16:56:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-screen-width/m-p/2144872#M452261</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-04-13T16:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid screen width?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-screen-width/m-p/2144873#M452262</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;You might try FM REUSE_ALV_LIST_WIDTH_GET. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not used it myself but when I inspect the code it looks rather promising. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the FM does help - can you please indicate so for others to benefit from?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, Johan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 20:46:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-screen-width/m-p/2144873#M452262</guid>
      <dc:creator>reedtzj</dc:creator>
      <dc:date>2007-04-15T20:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid screen width?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-screen-width/m-p/2144874#M452263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried setting the parameter lvc_s_layo-cwidth_opt which can be used in method like this ? &lt;/P&gt;&lt;P&gt;        CALL METHOD go_alvgrid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            is_layout                     = gs_layout&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or am i missing something ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Kareem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 00:42:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-screen-width/m-p/2144874#M452263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T00:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid screen width?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-screen-width/m-p/2144875#M452264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Johan for the FM REUSE_ALV_LIST_WIDTH_GET. Actually this is not what I hoped for - it does regard column width optimization and it does not know about font size and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, customer is satified with fixed size.&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 15:24:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-screen-width/m-p/2144875#M452264</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2008-07-24T15:24:06Z</dc:date>
    </item>
  </channel>
</rss>

