<?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 display in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633227#M282462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to Read for every field and fill the catalog.&lt;/P&gt;&lt;P&gt;do same for all the columns you require.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Awards points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Oct 2006 12:12:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-11T12:12:52Z</dc:date>
    <item>
      <title>ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633216#M282451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to minimise the column width in ALV display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx in Advance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Johnn.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 08:20:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633216#M282451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T08:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633217#M282452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johnn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set the parameter colwidth_optimize in the layout as 'X'.&lt;/P&gt;&lt;P&gt;or refer standard ALV Programs that starts with BCALV*.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suchi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 08:33:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633217#M282452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T08:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633218#M282453</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;In the SLIS_LAYOUT_ALV, there is a property called COLWIDTH_OPTIMIZE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set his property as COLWIDTH_OPTIMIZE = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Automatically your column width will get reduced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JLN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 08:35:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633218#M282453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T08:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633219#M282454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using this method.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   CALL METHOD GRID-&amp;gt;SET_TABLE_FOR_FIRST_DISPLAY&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_BUFFER_ACTIVE               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_BYPASSING_BUFFER            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_CONSISTENCY_CHECK           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    I_STRUCTURE_NAME              = 'gt_STRUCT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IS_VARIANT                    = GS_LAYOUT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    I_SAVE                        = X_SAVE&lt;/P&gt;&lt;P&gt;    I_DEFAULT                     = LV_DEF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IS_LAYOUT                     = GS_LAYOUT&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IS_PRINT                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_SPECIAL_GROUPS             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_TOOLBAR_EXCLUDING          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_HYPERLINK                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_ALV_GRAPHICS               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_EXCEPT_QINFO               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IR_SALV_ADAPTER               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    IT_OUTTAB                     = GT_BPSTAB[]&lt;/P&gt;&lt;P&gt;    IT_FIELDCATALOG               = GT_FIELDCATALOG[]&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_SORT                       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_FILTER                     =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    INVALID_PARAMETER_COMBINATION = 1&lt;/P&gt;&lt;P&gt;    PROGRAM_ERROR                 = 2&lt;/P&gt;&lt;P&gt;    TOO_MANY_LINES                = 3&lt;/P&gt;&lt;P&gt;    OTHERS                        = 4&lt;/P&gt;&lt;P&gt;        .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; where can i set the colwidth_optimize.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 08:45:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633219#M282454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T08:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633220#M282455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It can be done by using the fielcat variable &amp;lt;b&amp;gt;outputlen&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 08:48:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633220#M282455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T08:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633221#M282456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello vasanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am going to display nearly 15 columns.&lt;/P&gt;&lt;P&gt; First column should be of length 15.&lt;/P&gt;&lt;P&gt; Second &amp;amp; third column be of lenght 10.&lt;/P&gt;&lt;P&gt; Fourth column should be of length 15.&lt;/P&gt;&lt;P&gt; fifth &amp;amp; sixth column be of length 10.&lt;/P&gt;&lt;P&gt; ..........&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; outputlen has value '00000' in debugging mode.&lt;/P&gt;&lt;P&gt; How to set the length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 08:56:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633221#M282456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T08:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633222#M282457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johnn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can write like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fiedcattab-outputlen = '15'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this wud help u.&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Seema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 08:59:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633222#M282457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T08:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633223#M282458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot assign like this....&lt;/P&gt;&lt;P&gt; gt_fieldcatalog is a table without header line.&lt;/P&gt;&lt;P&gt; i declared it like this&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Data : GT_FIELDCATALOG TYPE LVC_T_FCAT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 09:10:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633223#M282458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T09:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633224#M282459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi john &lt;/P&gt;&lt;P&gt;use like this &lt;/P&gt;&lt;P&gt;DATA:  I_FCAT TYPE SLIS_T_FIELDCAT_ALV,&lt;/P&gt;&lt;P&gt;        WA_FCAT LIKE LINE OF I_FCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE I_FCAT INTO WA_FCAT WITH KEY FIELDNAME = 'NDAYS'.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;    WA_FCAT-REPTEXT_DDIC = 'X'.&lt;/P&gt;&lt;P&gt;    WA_FCAT-SELTEXT_S = TEXT-007.&lt;/P&gt;&lt;P&gt;    WA_FCAT-SELTEXT_M = TEXT-007.&lt;/P&gt;&lt;P&gt;    WA_FCAT-SELTEXT_L = TEXT-007.&lt;/P&gt;&lt;P&gt;    WA_FCAT-OUTPUTLEN = 12.&lt;/P&gt;&lt;P&gt;    WA_FCAT-JUST = 'L'.&lt;/P&gt;&lt;P&gt;    MODIFY  I_FCAT FROM WA_FCAT INDEX SY-TABIX.&lt;/P&gt;&lt;P&gt;    CLEAR WA_FCAT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so change the length here ..&lt;/P&gt;&lt;P&gt;declate fcat like above...it will work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 09:22:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633224#M282459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T09:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633225#M282460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johnn,&lt;/P&gt;&lt;P&gt;  You can set the parameter CWIDTH_OPT in the structure for layout (LVC_S_LAYO - Passed in the method against IS_LAYOUT under EXPORTING) as 'X' and the column width will get adjusted automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  If you want to set the column width for each of the columns you can do so at the time of populating the Field Catalog with the parameter OUTPUTLEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 09:22:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633225#M282460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T09:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633226#M282461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i can adjust the width only for column on monday,&lt;/P&gt;&lt;P&gt; How can i do it for other columns with days like tues,thurs, wed....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA : WA_FIELDCATALOG LIKE LINE OF GT_FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT GT_FIELDCATALOG INTO WA_FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; READ TABLE GT_FIELDCATALOG  INTO  WA_FIELDCATALOG WITH KEY FIELDNAME = 'MONDAY' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; WA_FIELDCATALOG-OUTPUTLEN = 20.&lt;/P&gt;&lt;P&gt; MODIFY GT_FIELDCATALOG FROM WA_FIELDCATALOG INDEX SY-TABIX .&lt;/P&gt;&lt;P&gt; CLEAR WA_FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 12:04:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633226#M282461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T12:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633227#M282462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to Read for every field and fill the catalog.&lt;/P&gt;&lt;P&gt;do same for all the columns you require.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Awards points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 12:12:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1633227#M282462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T12:12:52Z</dc:date>
    </item>
  </channel>
</rss>

