<?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: Multiple line header for ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-header-for-alv/m-p/5894644#M1326933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please guide me hw to put internal table field at report header in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my field catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_fieldcat-row_pos = 1.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-col_pos = 1.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-tabname = 'ITAB'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-fieldname = 'VBELN'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-seltext_m = 'SalesOrderNo'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-outputlen = '10'.&lt;/P&gt;&lt;P&gt;  APPEND wa_fieldcat TO i_fieldcat.&lt;/P&gt;&lt;P&gt;  CLEAR wa_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also i wnt to total 4 field at header level and other is detail level.&lt;/P&gt;&lt;P&gt;Please guide me hw to do.&lt;/P&gt;&lt;P&gt;thnks&lt;/P&gt;&lt;P&gt;Bhavesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Sep 2009 06:38:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-01T06:38:35Z</dc:date>
    <item>
      <title>Multiple line header for ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-header-for-alv/m-p/5894641#M1326930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using  CL_SALV_TABLE (List_Display = X) to create a ALV report. I am willing to change it to function module REUSE_ALV_LIST_DISPLAY if it serves my requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The header for the report needs to be multiple lines (8 lines). How can I accomplish this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked into the possibility of using TOP_OF_PAGE event but I will have to hard code the vertical positions of the headers and since it is ALV and you can remove columns at will, I dont think this solution will work. Also if the columns are optimized or output length changed by the user, the positioning of the headers will be ruined. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently the header can only be of one line, how can we make the header to display a table of contents. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;H1-L1		H2-L1		H3-L1
H1-L2		H2-L2		H3-L2
H1-L3		H2-L3		H3-L3
H1-L4		H2-L4		H3-L4
H1-L5		H2-L5		H3-L5
H1-L6		H2-L6		H3-L6
H1-L7		H2-L7		H3-L7
H1-L8		H2-L8		H3-L8&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 16:00:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-header-for-alv/m-p/5894641#M1326930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T16:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple line header for ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-header-for-alv/m-p/5894642#M1326931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is possible to achieve by using the CL_SALV_TABLE approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to get the Top of page object which is type of the CL_SALV_FORM_LAYOUT_GRID. Than you have to use the method SET_TOP_OF_LIST method of the class CL_SALV_TABLE to set it back to ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this article: &lt;A href="http://help-abap.blogspot.com/2008/09/salv-model-5-add-header-top-of-page.html" target="test_blank"&gt;http://help-abap.blogspot.com/2008/09/salv-model-5-add-header-top-of-page.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 16:45:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-header-for-alv/m-p/5894642#M1326931</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2009-07-08T16:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple line header for ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-header-for-alv/m-p/5894643#M1326932</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&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/fu037.htm" target="test_blank"&gt;http://www.sap-img.com/fu037.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 16:50:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-header-for-alv/m-p/5894643#M1326932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T16:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple line header for ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-header-for-alv/m-p/5894644#M1326933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please guide me hw to put internal table field at report header in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my field catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_fieldcat-row_pos = 1.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-col_pos = 1.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-tabname = 'ITAB'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-fieldname = 'VBELN'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-seltext_m = 'SalesOrderNo'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-outputlen = '10'.&lt;/P&gt;&lt;P&gt;  APPEND wa_fieldcat TO i_fieldcat.&lt;/P&gt;&lt;P&gt;  CLEAR wa_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also i wnt to total 4 field at header level and other is detail level.&lt;/P&gt;&lt;P&gt;Please guide me hw to do.&lt;/P&gt;&lt;P&gt;thnks&lt;/P&gt;&lt;P&gt;Bhavesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2009 06:38:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-header-for-alv/m-p/5894644#M1326933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-01T06:38:35Z</dc:date>
    </item>
  </channel>
</rss>

