<?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: CL_SALV_TABLE  Column in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-column/m-p/1445925#M211711</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Optimize column, I think, depends on two things, either on the length of the data or on the length of the heading of the column. So, probably you have lengthier heading because of which full length of the column is being displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. It is not possible to have multi line heading for the columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jul 2006 05:59:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-12T05:59:19Z</dc:date>
    <item>
      <title>CL_SALV_TABLE  Column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-column/m-p/1445924#M211710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Is seems like it is not possible to optimize columns selectively with the new OO ALV.  Ive tried switching on the optimize flag for selected columns in my table but they still appear in full column width.  Any one has any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, is it possible to build a multi-line column header?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Audrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2006 05:54:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-column/m-p/1445924#M211710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-12T05:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE  Column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-column/m-p/1445925#M211711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Optimize column, I think, depends on two things, either on the length of the data or on the length of the heading of the column. So, probably you have lengthier heading because of which full length of the column is being displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. It is not possible to have multi line heading for the columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2006 05:59:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-column/m-p/1445925#M211711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-12T05:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE  Column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-column/m-p/1445926#M211712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Try this one for optimizing column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA LR_COLUMNS      TYPE REF TO CL_SALV_COLUMNS_TABLE.&lt;/P&gt;&lt;P&gt;    lr_columns = r_salv_table-&amp;gt;get_columns( ).&lt;/P&gt;&lt;P&gt;    lr_columns-&amp;gt;set_optimize(abap_true). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To my knowledge u can't create a multi line column in OOALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2006 06:01:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-column/m-p/1445926#M211712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-12T06:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE  Column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-column/m-p/1445927#M211713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for all the replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anand,&lt;/P&gt;&lt;P&gt;That optimizes the entire table (ie. ALL columns).  What I hope to do is to optimize selected columns.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Audrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2006 06:32:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-column/m-p/1445927#M211713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-12T06:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE  Column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-column/m-p/1445928#M211714</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;For optimizing selected columns.&lt;/P&gt;&lt;P&gt; here i tried it for single column  matnr. u can try for all the selected columns. &lt;/P&gt;&lt;P&gt;try this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   DATA LR_COLUMNS      TYPE REF TO CL_SALV_COLUMNS_TABLE.&lt;/P&gt;&lt;P&gt;   DATA LR_COLUMN       TYPE REF TO CL_SALV_COLUMN_TABLE.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;   LR_COLUMNS = r_salv_table-&amp;gt;GET_COLUMNS( ).&lt;/P&gt;&lt;P&gt;   LR_COLUMNS-&amp;gt;SET_OPTIMIZE( ABAP_FALSE ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   TRY.&lt;/P&gt;&lt;P&gt;     LR_COLUMN ?= LR_COLUMNS-&amp;gt;GET_COLUMN( 'MATNR' ).&lt;/P&gt;&lt;P&gt;     LR_COLUMN-&amp;gt;SET_OPTIMIZED(ABAP_TRUE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CATCH CX_SALV_NOT_FOUND.&lt;/P&gt;&lt;P&gt;   CATCH CX_SALV_EXISTING.&lt;/P&gt;&lt;P&gt;   CATCH CX_SALV_DATA_ERROR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDTRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2006 07:00:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-column/m-p/1445928#M211714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-12T07:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE  Column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-column/m-p/1445929#M211715</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 tried your suggestion and it did not work.  I found one of the demo program SALV_TEST_TABLE and selective column optimization didnt work there too.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Audrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2006 00:06:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-column/m-p/1445929#M211715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-13T00:06:30Z</dc:date>
    </item>
  </channel>
</rss>

