<?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 &amp; Column Width doesn't work in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-width-doesn-t-work/m-p/6055369#M1353060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Aryan,&lt;/P&gt;&lt;P&gt;As I post before, I set the layout too.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; kind regards,&lt;/P&gt;&lt;P&gt;Marce.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Sep 2009 18:34:29 GMT</pubDate>
    <dc:creator>marcela_martinez</dc:creator>
    <dc:date>2009-09-04T18:34:29Z</dc:date>
    <item>
      <title>ALV Grid &amp; Column Width doesn't work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-width-doesn-t-work/m-p/6055365#M1353056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an ALG Grid in which I set column width value at field catalogue, and also set column width optimize at layout structure. But in spite of all it doesn't work. I have a few columns that are showing a half of its value. Am I missing something or adding anything that I don't need?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I stick a piece of my catalogue update:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
        gs_fldcat-outputlen = 5.
        gs_fldcat-key = 'X'
        gs_fldcat-seltext_s    = text-018.
        gs_fldcat-seltext_m    = text-018.
        gs_fldcat-seltext_l    = text-018.
        gs_fldcat-reptext_ddic = text-018.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I look at other threads but I couldn't find the answer or may be I didn't reach to the correct one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reading.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;MM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2009 16:44:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-width-doesn-t-work/m-p/6055365#M1353056</guid>
      <dc:creator>marcela_martinez</dc:creator>
      <dc:date>2009-09-04T16:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid &amp; Column Width doesn't work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-width-doesn-t-work/m-p/6055366#M1353057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the output length from the fieldcat overrides the optimize setting in the layout, did you try commenting out the output length in the fieldcat and use the optimize only?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2009 17:17:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-width-doesn-t-work/m-p/6055366#M1353057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-04T17:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid &amp; Column Width doesn't work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-width-doesn-t-work/m-p/6055367#M1353058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello dear &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to use this i think u will get the solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: LAYOUT TYPE SLIS_LAYOUT_ALV.

LAYOUT-COLWIDTH_OPTIMIZE = 'X'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx aryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2009 17:49:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-width-doesn-t-work/m-p/6055367#M1353058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-04T17:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid &amp; Column Width doesn't work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-width-doesn-t-work/m-p/6055368#M1353059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michael for the answer. I have tried what you suggest before but it doesn't work.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Marce.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2009 18:33:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-width-doesn-t-work/m-p/6055368#M1353059</guid>
      <dc:creator>marcela_martinez</dc:creator>
      <dc:date>2009-09-04T18:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid &amp; Column Width doesn't work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-width-doesn-t-work/m-p/6055369#M1353060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Aryan,&lt;/P&gt;&lt;P&gt;As I post before, I set the layout too.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; kind regards,&lt;/P&gt;&lt;P&gt;Marce.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2009 18:34:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-width-doesn-t-work/m-p/6055369#M1353060</guid>
      <dc:creator>marcela_martinez</dc:creator>
      <dc:date>2009-09-04T18:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid &amp; Column Width doesn't work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-width-doesn-t-work/m-p/6055370#M1353061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am on ECC 6.0 using the OO ALV (class cl_gui_alv_grid). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one column with text which I set to 50 char =&amp;gt; ALV displays 50.&lt;/P&gt;&lt;P&gt;I comment out the outputlen in the fieldcat (field is empty) =&amp;gt; ALV displays 10 characters&lt;/P&gt;&lt;P&gt;I set the ls_layout-cwidth_opt = 'X' =&amp;gt; ALV displays the full text width&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 13:09:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-width-doesn-t-work/m-p/6055370#M1353061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-08T13:09:07Z</dc:date>
    </item>
  </channel>
</rss>

