<?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: Increase ALV Header length in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/increase-alv-header-length/m-p/935001#M61763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all - I would NOT change any of these objects!!  You are changing SAP core and placing your implememtation at great risk as this code is run by hundreds/thousands of programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would start by making a clone of all objects (including the LVC_TITLE) as Z or Y objects.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From there... make sure that data element LVC_TITLE is tied to a domain of greater than 70 chars long.  You can create a custom domain of your liking as well for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Aug 2005 17:32:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-30T17:32:44Z</dc:date>
    <item>
      <title>Increase ALV Header length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/increase-alv-header-length/m-p/935000#M61762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does anybody know, How to increase the Header length in ALV Report?&lt;/P&gt;&lt;P&gt;The standard function module and class holds the length upto 70 Characters.&lt;/P&gt;&lt;P&gt;The FM - REUSE_ALV_GRID_DISPLAY has the parameter called 'I_GRID_TITLE' and it referes the data type 'LVC_TITLE'. When I increased this length to 255 in FM as well as in the class 'CL_GUI_ALV_GRID'. It did not display. Is there any other way to increase the length?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 16:03:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/increase-alv-header-length/m-p/935000#M61762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-30T16:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Increase ALV Header length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/increase-alv-header-length/m-p/935001#M61763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all - I would NOT change any of these objects!!  You are changing SAP core and placing your implememtation at great risk as this code is run by hundreds/thousands of programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would start by making a clone of all objects (including the LVC_TITLE) as Z or Y objects.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From there... make sure that data element LVC_TITLE is tied to a domain of greater than 70 chars long.  You can create a custom domain of your liking as well for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 17:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/increase-alv-header-length/m-p/935001#M61763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-30T17:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Increase ALV Header length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/increase-alv-header-length/m-p/935002#M61764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U may not be able to increase the length of the column header.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF cl_gui_alv_grid=&amp;gt;offline( ) IS INITIAL.

    CREATE OBJECT o_dockingcontainer
      EXPORTING
&amp;lt;b&amp;gt;        ratio                       = '95'&amp;lt;/b&amp;gt;
     EXCEPTIONS
      cntl_error                  = 1
      cntl_system_error           = 2
      create_error                = 3
      lifetime_error              = 4
      lifetime_dynpro_dynpro_link = 5
      others                      = 6.

    IF sy-subrc NE 0.
*      MESSAGE i001 WITH text-e01.
      LEAVE LIST-PROCESSING.
    ENDIF.

  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is the max size of the docking container.&lt;/P&gt;&lt;P&gt;U can specify in the layout&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM f9400_layout.

  w_layout-grid_title = sy-title.
  w_layout-zebra      = 'X'.
  w_layout-sel_mode   = 'B'.
 &amp;lt;b&amp;gt; w_layout-cwidth_opt = 'X'.&amp;lt;/b&amp;gt; (Autamatically set the width according to the length of the header)
  w_variant-report    = sy-repid.
 ENDFORM.                    " f9400_layout&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward points for the helpful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 03:38:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/increase-alv-header-length/m-p/935002#M61764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T03:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Increase ALV Header length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/increase-alv-header-length/m-p/935003#M61765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function REUSE_ALV_GRID_DISPLAY has a Parameter I_CALLBACK_HTML_TOP_OF_PAGE &lt;/P&gt;&lt;P&gt;You can use this parameter to display a header of arbitrary length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See SAP Demo BCALV_VERIFY_DATATYPES, especially Form Routine F01_ALV_EVENT_HTML_TOP_OF_PAGE for the methods creating extended header.&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;C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 08:59:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/increase-alv-header-length/m-p/935003#M61765</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2005-08-31T08:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Increase ALV Header length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/increase-alv-header-length/m-p/935004#M61766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Guys for the related answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually BCALV_GRID_01 this standard SAP report does the same work what I was trying to. We need to design the screen in such a way. i. e in the top, Design the Fields to show and in the bottom create custom control.&lt;/P&gt;&lt;P&gt;Using the Method SET_TABLE_FOR_FIRST_DISPLAY I was able to bring the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again thanks a lot guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2005 18:41:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/increase-alv-header-length/m-p/935004#M61766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-07T18:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Increase ALV Header length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/increase-alv-header-length/m-p/935005#M61767</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1. Instead of TOP_OF_PAGE event, use I_CALLBACK_HTML_TOP_OF_PAGE and CL_DD_DOCUMENT to add header content.&lt;/P&gt;&lt;P&gt;2. Use FM RSDG_WORD_WRAP to split the lengthy lines into multiple smaller ones and pass it to REUSE_ALV_COMMENTARY_WRITE.&lt;/P&gt;&lt;P&gt;Best regards, Sudhakaran&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 17:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/increase-alv-header-length/m-p/935005#M61767</guid>
      <dc:creator>Sudhakaran</dc:creator>
      <dc:date>2021-01-16T17:59:06Z</dc:date>
    </item>
  </channel>
</rss>

