<?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 Hierarchy in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchy/m-p/2010084#M410171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I want to be able to create a report with 1 header and underneath these I want to be able to have 3 hierarchical items(because they will have more than one line) where I will be able to open it just like in the FM 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help anyone!!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2007 20:11:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-19T20:11:30Z</dc:date>
    <item>
      <title>Hierarchy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchy/m-p/2010084#M410171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I want to be able to create a report with 1 header and underneath these I want to be able to have 3 hierarchical items(because they will have more than one line) where I will be able to open it just like in the FM 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help anyone!!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 20:11:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchy/m-p/2010084#M410171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-19T20:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchy/m-p/2010085#M410172</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;Check this simple example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS: slis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF itab OCCURS 0,&lt;/P&gt;&lt;P&gt;        vbeln TYPE vbeln,&lt;/P&gt;&lt;P&gt;        expand,&lt;/P&gt;&lt;P&gt;      END OF itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF itab1 OCCURS 0,&lt;/P&gt;&lt;P&gt;        vbeln TYPE vbeln,&lt;/P&gt;&lt;P&gt;        posnr TYPE posnr,&lt;/P&gt;&lt;P&gt;        matnr TYPE matnr,&lt;/P&gt;&lt;P&gt;        netpr TYPE netpr,&lt;/P&gt;&lt;P&gt;      END OF itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: t_fieldcatalog TYPE slis_t_fieldcat_alv.&lt;/P&gt;&lt;P&gt;DATA: s_fieldcatalog TYPE slis_fieldcat_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_fieldcatalog-col_pos = '1'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-fieldname = 'VBELN'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-tabname   = 'ITAB'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-rollname  = 'VBELN'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-outputlen = '12'.&lt;/P&gt;&lt;P&gt;APPEND s_fieldcatalog TO t_fieldcatalog.&lt;/P&gt;&lt;P&gt;CLEAR: s_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_fieldcatalog-col_pos = '1'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-fieldname = 'VBELN'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-tabname   = 'ITAB1'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-rollname  = 'VBELN'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-outputlen = '12'.&lt;/P&gt;&lt;P&gt;APPEND s_fieldcatalog TO t_fieldcatalog.&lt;/P&gt;&lt;P&gt;CLEAR: s_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_fieldcatalog-col_pos = '2'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-fieldname = 'POSNR'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-tabname   = 'ITAB1'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-rollname  = 'POSNR'.&lt;/P&gt;&lt;P&gt;APPEND s_fieldcatalog TO t_fieldcatalog.&lt;/P&gt;&lt;P&gt;CLEAR: s_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_fieldcatalog-col_pos = '3'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-fieldname = 'MATNR'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-tabname   = 'ITAB1'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-rollname  = 'MATNR'.&lt;/P&gt;&lt;P&gt;APPEND s_fieldcatalog TO t_fieldcatalog.&lt;/P&gt;&lt;P&gt;CLEAR: s_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_fieldcatalog-col_pos = '4'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-fieldname = 'NETPR'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-tabname   = 'ITAB1'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-rollname  = 'NETPR'.&lt;/P&gt;&lt;P&gt;s_fieldcatalog-do_sum    = 'X'.&lt;/P&gt;&lt;P&gt;APPEND s_fieldcatalog TO t_fieldcatalog.&lt;/P&gt;&lt;P&gt;CLEAR: s_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: s_layout TYPE slis_layout_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_layout-subtotals_text            = 'SUBTOTAL TEXT'.&lt;/P&gt;&lt;P&gt;s_layout-key_hotspot = 'X'.&lt;/P&gt;&lt;P&gt;s_layout-expand_fieldname = 'EXPAND'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT vbeln UP TO 100 ROWS&lt;/P&gt;&lt;P&gt;       FROM&lt;/P&gt;&lt;P&gt;       vbak&lt;/P&gt;&lt;P&gt;       INTO TABLE itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT itab[] IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT vbeln posnr matnr netpr&lt;/P&gt;&lt;P&gt;         FROM vbap&lt;/P&gt;&lt;P&gt;         INTO TABLE itab1&lt;/P&gt;&lt;P&gt;         FOR ALL ENTRIES IN itab&lt;/P&gt;&lt;P&gt;         WHERE vbeln = itab-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: v_repid TYPE syrepid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_repid = sy-repid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: s_keyinfo TYPE slis_keyinfo_alv.&lt;/P&gt;&lt;P&gt;s_keyinfo-header01 = 'VBELN'.&lt;/P&gt;&lt;P&gt;s_keyinfo-item01   = 'VBELN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;          i_callback_program = v_repid&lt;/P&gt;&lt;P&gt;          is_layout          = s_layout&lt;/P&gt;&lt;P&gt;          it_fieldcat        = t_fieldcatalog&lt;/P&gt;&lt;P&gt;          i_tabname_header   = 'ITAB'&lt;/P&gt;&lt;P&gt;          i_tabname_item     = 'ITAB1'&lt;/P&gt;&lt;P&gt;          is_keyinfo         = s_keyinfo&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;          t_outtab_header    = itab&lt;/P&gt;&lt;P&gt;          t_outtab_item      = itab1&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          program_error      = 1&lt;/P&gt;&lt;P&gt;          OTHERS             = 2.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 20:16:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchy/m-p/2010085#M410172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-19T20:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchy/m-p/2010086#M410173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;basically what i want is to have 3 hierachical ALV right after the header.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 20:19:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchy/m-p/2010086#M410173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-19T20:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchy/m-p/2010087#M410174</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;You mean to say..Three sections under one header..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 20:22:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchy/m-p/2010087#M410174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-19T20:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchy/m-p/2010088#M410175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 20:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hierarchy/m-p/2010088#M410175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-19T20:25:49Z</dc:date>
    </item>
  </channel>
</rss>

