<?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: column width in ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-width-in-alv/m-p/3526066#M848311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pass &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; is_layout-colwidth_optimize = 'X'. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will allow the ALV to display each column to the max width of data for each column. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2008 10:44:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-10T10:44:47Z</dc:date>
    <item>
      <title>column width in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-width-in-alv/m-p/3526065#M848310</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;is there a way to fix the width of the colums of alv even while displaying vertical seperators.&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;Tarun Bahal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 10:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-width-in-alv/m-p/3526065#M848310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T10:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: column width in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-width-in-alv/m-p/3526066#M848311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pass &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; is_layout-colwidth_optimize = 'X'. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will allow the ALV to display each column to the max width of data for each column. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 10:44:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-width-in-alv/m-p/3526066#M848311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T10:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: column width in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-width-in-alv/m-p/3526067#M848312</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;Please refer to the code below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  gs_fieldcat-fieldname = 'BLART'.
*  gs_fieldcat-coltext   = 'Doc type'.
  gs_fieldcat-seltext_s = 'Doc type'.
  gs_fieldcat-seltext_l = 'Doc type'.
  gs_fieldcat-seltext_m = 'Doc type'.
  gs_fieldcat-fix_column  = 'X'.
  gs_fieldcat-outputlen = '4'.
  gs_fieldcat-tabname = 'GT_OUTPUT'.
  APPEND gs_fieldcat TO gt_fieldcat.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 10:47:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-width-in-alv/m-p/3526067#M848312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T10:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: column width in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-width-in-alv/m-p/3526068#M848313</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;use like this for restricting the output length,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; fieldcatalog-outputlen   = 7 like..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it is always better to use the like this i think..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcat-reptext_ddic = 'Material no'. &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;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 10:51:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-width-in-alv/m-p/3526068#M848313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T10:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: column width in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-width-in-alv/m-p/3526069#M848314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;width can stikl be changed by used even if i use fix_column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 11:04:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-width-in-alv/m-p/3526069#M848314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T11:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: column width in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-width-in-alv/m-p/3526070#M848315</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;&lt;/P&gt;&lt;P&gt;ya its not possible to freeze column width.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 11:06:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-width-in-alv/m-p/3526070#M848315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T11:06:55Z</dc:date>
    </item>
  </channel>
</rss>

