<?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 ALV double HEADERS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-double-headers/m-p/5886682#M1325803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the necessity to develo an ALV with two Headers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;|             Plant 1100             |             Plant 1600             |
| Date |    Value    |    Qty     | Date |    Value    |    Qty     |&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't use Hierarchical because it doesn't do this kind of rappresentation; It works only like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;|             Plant 1100             | 
    | Date |    Value    |    Qty     |

|            Plant 1600              |
    | Date |    Value    |    Qty     |&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead I need to display double headers in a single row..&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2009 12:03:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-15T12:03:50Z</dc:date>
    <item>
      <title>ALV double HEADERS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-double-headers/m-p/5886682#M1325803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the necessity to develo an ALV with two Headers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;|             Plant 1100             |             Plant 1600             |
| Date |    Value    |    Qty     | Date |    Value    |    Qty     |&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't use Hierarchical because it doesn't do this kind of rappresentation; It works only like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;|             Plant 1100             | 
    | Date |    Value    |    Qty     |

|            Plant 1600              |
    | Date |    Value    |    Qty     |&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead I need to display double headers in a single row..&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 12:03:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-double-headers/m-p/5886682#M1325803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T12:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: ALV double HEADERS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-double-headers/m-p/5886683#M1325804</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;U should create an internal table for output having all fields twice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA BEGIN OF T_OUTPUT OCCURS 0,
             DATE_1,
             VALUE_1,
             QTY_1,
             DATE_2
             VALUE_2,
             QTY_2,
         END OF T_OUTPUT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the first block of flied u can insert the data for the first plant, in the second one u can insert the data of the second plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second header line (the field label) will be managed by ALV, the first line has to be write in TOP-OF-PAGE event:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;.FORM TOP_OF_PAGE.
  WRITE: SY-VLINE,    PLANT1,......
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 12:16:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-double-headers/m-p/5886683#M1325804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T12:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: ALV double HEADERS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-double-headers/m-p/5886684#M1325805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks, but probably It's not enoght because if the user change the dimension of the ALV headers, the top headers doesn't folllow the news lengh..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably doesn't exist an integrated solution in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 13:04:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-double-headers/m-p/5886684#M1325805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T13:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: ALV double HEADERS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-double-headers/m-p/5886685#M1325806</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;Yes I know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But u can use the event TOP_OF_LIST here you can call the fm REUSE_ALV_LIST_LAYOUT_INFO_GET in order to get the layout status after the user has changed it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This fm return the catalog table (ET_FIELDCAT) and the layout structure (ES_LAYOUT) where u can pick all information you need to write the header correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've just done it and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 13:13:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-double-headers/m-p/5886685#M1325806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T13:13:34Z</dc:date>
    </item>
  </channel>
</rss>

