<?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 Cannot change Column Width in Field Catalog in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-cannot-change-column-width-in-field-catalog/m-p/5452002#M1249668</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;gs_fieldcat-outputlen = '20'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Apr 2009 11:46:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-03T11:46:36Z</dc:date>
    <item>
      <title>ALV Cannot change Column Width in Field Catalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-cannot-change-column-width-in-field-catalog/m-p/5452001#M1249667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an ALV report where I want to specifically set the field widths of the columns because some of the standard domain lengths are very large (e.g. 255 chars).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am building the field catalog like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CLEAR gs_fieldcat.
  gs_fieldcat-col_pos      = 1.
  gs_fieldcat-fieldname    = 'NAME_ORG1'.
  gs_fieldcat-scrtext_m    = 'Employer Name'.
  gs_fieldcat-dd_outlen = 40.
  APPEND gs_fieldcat TO gt_fieldcat.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then calling the ALV like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CALL METHOD go_alv-&amp;gt;set_table_for_first_display
    CHANGING
      it_outtab                     = gt_evm_pm_data
      it_fieldcatalog               = gt_fieldcat .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gt_fieldcat is based on structure LVC_S_FCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this has no effect on the column widths.&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 11:44:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-cannot-change-column-width-in-field-catalog/m-p/5452001#M1249667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T11:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Cannot change Column Width in Field Catalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-cannot-change-column-width-in-field-catalog/m-p/5452002#M1249668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;gs_fieldcat-outputlen = '20'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 11:46:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-cannot-change-column-width-in-field-catalog/m-p/5452002#M1249668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T11:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Cannot change Column Width in Field Catalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-cannot-change-column-width-in-field-catalog/m-p/5452003#M1249669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gs_fieldcat-outputlen = '40'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 11:47:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-cannot-change-column-width-in-field-catalog/m-p/5452003#M1249669</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2009-04-03T11:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Cannot change Column Width in Field Catalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-cannot-change-column-width-in-field-catalog/m-p/5452004#M1249670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I did look for that in the structure and couldn't see it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 11:48:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-cannot-change-column-width-in-field-catalog/m-p/5452004#M1249670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T11:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Cannot change Column Width in Field Catalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-cannot-change-column-width-in-field-catalog/m-p/5452005#M1249671</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 try with that.&lt;/P&gt;&lt;P&gt;It will surely work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;gs_fieldcat-outputlen = '25'.&lt;/STRONG&gt;     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;In quotation u can use any length whateveer u wish to display&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;JAyati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 11:48:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-cannot-change-column-width-in-field-catalog/m-p/5452005#M1249671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T11:48:23Z</dc:date>
    </item>
  </channel>
</rss>

