<?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: regarding ALVs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alvs/m-p/5241530#M1211147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;you can use this FM ''REUSE_ALV_HIERSEQ_LIST_DISPLAY''&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer these programs in se38&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_TEST_HIERSEQ_LIST&lt;/P&gt;&lt;P&gt;BCALV_TEST_HIERSEQ_LIST_EVENTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Komal Prakashlal Lakhwani on Feb 27, 2009 7:02 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Feb 2009 13:30:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-27T13:30:46Z</dc:date>
    <item>
      <title>regarding ALVs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alvs/m-p/5241529#M1211146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;          please could you help let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; hoiw to display the hierachical list for the data using alv eports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:  header having the item details in the below .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in adv.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 13:22:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alvs/m-p/5241529#M1211146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T13:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: regarding ALVs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alvs/m-p/5241530#M1211147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;you can use this FM ''REUSE_ALV_HIERSEQ_LIST_DISPLAY''&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer these programs in se38&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_TEST_HIERSEQ_LIST&lt;/P&gt;&lt;P&gt;BCALV_TEST_HIERSEQ_LIST_EVENTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Komal Prakashlal Lakhwani on Feb 27, 2009 7:02 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 13:30:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alvs/m-p/5241530#M1211147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T13:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: regarding ALVs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alvs/m-p/5241531#M1211148</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 code .This will give you ALV TREE structure and now make the changes &lt;/P&gt;&lt;P&gt;according to your needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  zalv_tree.
DATA:
 t_node TYPE snodetext.

DATA:
 it_node LIKE TABLE OF t_node,
 wa_node LIKE LINE OF it_node.


DATA:
 t_spfli LIKE TABLE OF spfli,
 wa_spfli LIKE LINE OF t_spfli,
 t_sflight LIKE TABLE OF sflight,
 wa_sflight LIKE LINE OF t_sflight.


SELECT * FROM spfli INTO TABLE t_spfli.

SELECT * FROM sflight INTO TABLE t_sflight.


  wa_node-type = 'T'.
  wa_node-name = 'SPFLI'.
  wa_node-tlevel = '01'.
  wa_node-nlength = '15'.
  wa_node-color = '4'.
  wa_node-text = wa_spfli-carrid.
  wa_node-tlength ='20'.
  wa_node-tcolor = 3.
  APPEND wa_node TO it_node.
  CLEAR wa_node.
LOOP AT t_spfli INTO wa_spfli.

  LOOP AT t_sflight INTO wa_sflight WHERE carrid = wa_spfli-carrid.
    wa_node-type = 'P'.
    wa_node-name = 'SFLIGHT'.
    wa_node-tlevel = '02'.
    wa_node-nlength = '8'.
    wa_node-color = '1'.
    wa_node-text = wa_sflight-carrid.

    wa_node-tlength ='20'.
    wa_node-tcolor = 4.
    APPEND wa_node TO it_node.
    CLEAR wa_node.


 wa_node-type = 'P'.
    wa_node-name = 'CONNID'.
    wa_node-nlength = '8'.
    wa_node-color = '1'.
    wa_node-text = wa_sflight-connid.

    wa_node-tlength ='20'.
    wa_node-tcolor = 4.
    APPEND wa_node TO it_node.
    CLEAR wa_node.


  ENDLOOP.
ENDLOOP.
CALL FUNCTION 'RS_TREE_CONSTRUCT'
  TABLES
    nodetab = it_node.
CALL FUNCTION 'RS_TREE_LIST_DISPLAY'
  EXPORTING
    callback_program     = sy-repid
    check_duplicate_name = '1'
    color_of_node        = '4'
    color_of_mark        = '3'
    color_of_link        = '1'
    color_of_match       = '5'
    node_length          = 30
    text_length          = 75
    use_control          = 'L'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Hareesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;PLS DONT FORGET TO CLOSE THE THREAD&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 13:32:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alvs/m-p/5241531#M1211148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T13:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: regarding ALVs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alvs/m-p/5241532#M1211149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk these prg:&lt;/P&gt;&lt;P&gt;BCALV_TEST_HIERSEQ_LIST &lt;/P&gt;&lt;P&gt;BCALV_TEST_HIERSEQ_LIST_EVENTS&lt;/P&gt;&lt;P&gt;these help you to undertsand how to display hierarchical ALVs.&lt;/P&gt;&lt;P&gt;u can search in SCN . there are a lot of posts reg the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 13:33:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alvs/m-p/5241532#M1211149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T13:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: regarding ALVs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alvs/m-p/5241533#M1211150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;over&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 13:56:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alvs/m-p/5241533#M1211150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-11T13:56:33Z</dc:date>
    </item>
  </channel>
</rss>

