<?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 Hierarchical - multiple header lines - grouping in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchical-multiple-header-lines-grouping/m-p/7921481#M1598756</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;I was extensively searching SDN and did not get any suitable answers, so I'm posting. Maybe I'm sure what keywords to use. This is my requirement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a hierarchical list display.&lt;/P&gt;&lt;P&gt;One header and one item. However I want to change the layout programmatically, so that the header is grouped according to various fields in 4 lines. I created a simple hierarchical list display and manually changed the layout on the screen (using change layout button). I can choose maximum upto 3 header lines, hence grouping is possible upto 3 levels.&lt;/P&gt;&lt;P&gt;Unfortunately my requirement is to group upto 4 levels. Also my last level should contain the fields including key fields (but layout is not allowing me to move the key field to the 3rd line).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current output:&lt;/P&gt;&lt;P&gt;Header: Shipmentdocno(this is key field) ShipmentType Route Carrier ShippingPoint Description Destination&lt;/P&gt;&lt;P&gt;Item: Shipmentdocno Delivery Customer Name1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Required output:&lt;/P&gt;&lt;P&gt;Header:&lt;/P&gt;&lt;P&gt;Line 1: Carrier&lt;/P&gt;&lt;P&gt;Line 2: Route&lt;/P&gt;&lt;P&gt;Line3: ShippingPoint&lt;/P&gt;&lt;P&gt;Line4: Shipmentdocno(key field) ShipmentType Description Destination&lt;/P&gt;&lt;P&gt;Item: Shipmentdocno Delivery Customer Name1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: ALV tree also does not serve my purpose as there is no provision to display both header and item text on top, with data below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is basically a grouping requirement and needs to be visually grouped in separate lines at header level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 May 2011 10:56:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-27T10:56:05Z</dc:date>
    <item>
      <title>Hierarchical - multiple header lines - grouping</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchical-multiple-header-lines-grouping/m-p/7921481#M1598756</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;I was extensively searching SDN and did not get any suitable answers, so I'm posting. Maybe I'm sure what keywords to use. This is my requirement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a hierarchical list display.&lt;/P&gt;&lt;P&gt;One header and one item. However I want to change the layout programmatically, so that the header is grouped according to various fields in 4 lines. I created a simple hierarchical list display and manually changed the layout on the screen (using change layout button). I can choose maximum upto 3 header lines, hence grouping is possible upto 3 levels.&lt;/P&gt;&lt;P&gt;Unfortunately my requirement is to group upto 4 levels. Also my last level should contain the fields including key fields (but layout is not allowing me to move the key field to the 3rd line).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current output:&lt;/P&gt;&lt;P&gt;Header: Shipmentdocno(this is key field) ShipmentType Route Carrier ShippingPoint Description Destination&lt;/P&gt;&lt;P&gt;Item: Shipmentdocno Delivery Customer Name1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Required output:&lt;/P&gt;&lt;P&gt;Header:&lt;/P&gt;&lt;P&gt;Line 1: Carrier&lt;/P&gt;&lt;P&gt;Line 2: Route&lt;/P&gt;&lt;P&gt;Line3: ShippingPoint&lt;/P&gt;&lt;P&gt;Line4: Shipmentdocno(key field) ShipmentType Description Destination&lt;/P&gt;&lt;P&gt;Item: Shipmentdocno Delivery Customer Name1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: ALV tree also does not serve my purpose as there is no provision to display both header and item text on top, with data below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is basically a grouping requirement and needs to be visually grouped in separate lines at header level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 10:56:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchical-multiple-header-lines-grouping/m-p/7921481#M1598756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-27T10:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchical - multiple header lines - grouping</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchical-multiple-header-lines-grouping/m-p/7921482#M1598757</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  REUSE_ALV_HIERSEQ_LIST_DISPLAY   did you checked it_special_groups parameter " for grouping Columns., &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this may server your requirement., I may be wrong.  wait for Experts reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 11:17:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchical-multiple-header-lines-grouping/m-p/7921482#M1598757</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-05-27T11:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchical - multiple header lines - grouping</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchical-multiple-header-lines-grouping/m-p/7921483#M1598758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes i checked special groups too.. it does not serve my purpose.&lt;/P&gt;&lt;P&gt;thre is a sample screenshot given to us but it is the result of a SAP query, they want the grouping like this in the hierarchical output as well. any ideas?? LINK to screenshot: [Hier_query|http://postimage.org/image/48bi2nok/] (data blurred for privacy)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 13:12:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchical-multiple-header-lines-grouping/m-p/7921483#M1598758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-27T13:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchical - multiple header lines - grouping</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchical-multiple-header-lines-grouping/m-p/7921484#M1598759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abapfreak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've made some tests, and if you populate the row number in the field catalog, you are able to get 4 or more lines on the header. I've even debugged the function module REUSE&lt;STRONG&gt;HIERSEQ&lt;/STRONG&gt;DISPLAY (sorry, I have no SAP right now, so I can't tell the full name of the FM &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;  ), and the popup which allows you to show/hide columns has up to 9 tabs, one for each row... but unfortunately I was not able to activate all of them.&lt;/P&gt;&lt;P&gt;So: you may begin your list with more than 4 header rows (if you populate the field catalog properly), but as soon as you want to change the layout, you may lose that info...&lt;/P&gt;&lt;P&gt;...at least this is what I've found out...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2011 17:51:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchical-multiple-header-lines-grouping/m-p/7921484#M1598759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-28T17:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchical - multiple header lines - grouping</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchical-multiple-header-lines-grouping/m-p/7921485#M1598760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved it by grouping at header level using the sorting internal table it_sort. by giving it_sort-group = '*' and by populating top_of_page in events.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 10:31:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchical-multiple-header-lines-grouping/m-p/7921485#M1598760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-07T10:31:43Z</dc:date>
    </item>
  </channel>
</rss>

