<?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: Query regarding Expand all functionality in hier seq list. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-expand-all-functionality-in-hier-seq-list/m-p/4923535#M1148868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this document for reference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/scn/wiki?path=/display/profile/using%252bhierarchically%252b-sequential%252btable%252bfactory%252bmethod" target="test_blank"&gt;https://www.sdn.sap.com/irj/scn/wiki?path=/display/profile/using%252bhierarchically%252b-sequential%252btable%252bfactory%252bmethod&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aveek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Dec 2008 10:37:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-25T10:37:19Z</dc:date>
    <item>
      <title>Query regarding Expand all functionality in hier seq list.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-expand-all-functionality-in-hier-seq-list/m-p/4923533#M1148866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Every body,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Application&lt;/STRONG&gt;: I am displaying a list(Hier seq) using cl_salv_hierseq_table method.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Important peices of code&lt;/STRONG&gt;:-&lt;/P&gt;&lt;P&gt; cl_salv_hierseq_table=&amp;gt;factory(&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    t_binding_level1_level2 = gt_binding&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    r_hierseq = gt_table&lt;/P&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    t_table_level1 = gt_final_h&lt;/P&gt;&lt;P&gt;    t_table_level2 = gt_final_i ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;... set expand column&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  gt_columns-&amp;gt;set_expand_column( 'EXPAND' ).&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;... set items expanded&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  gt_level = gt_table-&amp;gt;get_level( 1 ).&lt;/P&gt;&lt;P&gt;  gt_level-&amp;gt;set_items_expanded( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;register to the event on_user_command&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  SET HANDLER gt_events-&amp;gt;on_user_command FOR lt_events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i had added Refresh button in the application toolbar of the above ALV which is not in the standard one.&lt;/P&gt;&lt;P&gt;        PERFORM refresh_list_info USING e_salv_function.&lt;/P&gt;&lt;P&gt;        inside this perform the main peice of code is:&lt;/P&gt;&lt;P&gt;        gt_table-&amp;gt;refresh( ).             "Refresh: Rebuilds the display list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;QUERY&lt;/STRONG&gt;: The first display show all the header and items records as expanded by default.&lt;/P&gt;&lt;P&gt;              when i am trying to refresh the list, its displaying me the list with updated data in it &lt;/P&gt;&lt;P&gt;             properly BUT the only problem is the items are closed by default after refresh.&lt;/P&gt;&lt;P&gt;             so every time user needs to click the Expand option to view item records after refresh.&lt;/P&gt;&lt;P&gt;             &lt;/P&gt;&lt;P&gt;             &lt;STRONG&gt;Here I would like to have the items records expanded as well by default after Refresh.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;             &lt;STRONG&gt;how to acheive this?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            Any suggestions to use any more methods or so.. &lt;/P&gt;&lt;P&gt;           Your help will be highly appreciable.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pavan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 07:51:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-expand-all-functionality-in-hier-seq-list/m-p/4923533#M1148866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-16T07:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding Expand all functionality in hier seq list.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-expand-all-functionality-in-hier-seq-list/m-p/4923534#M1148867</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 would have to explicitly expand the node again before the refresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*... set items expanded&lt;/P&gt;&lt;P&gt;gt_level = gt_table-&amp;gt;get_level( 1 ).&lt;/P&gt;&lt;P&gt;gt_level-&amp;gt;set_items_expanded( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kritesh Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2008 14:47:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-expand-all-functionality-in-hier-seq-list/m-p/4923534#M1148867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-24T14:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding Expand all functionality in hier seq list.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-expand-all-functionality-in-hier-seq-list/m-p/4923535#M1148868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this document for reference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/scn/wiki?path=/display/profile/using%252bhierarchically%252b-sequential%252btable%252bfactory%252bmethod" target="test_blank"&gt;https://www.sdn.sap.com/irj/scn/wiki?path=/display/profile/using%252bhierarchically%252b-sequential%252btable%252bfactory%252bmethod&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aveek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Dec 2008 10:37:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-expand-all-functionality-in-hier-seq-list/m-p/4923535#M1148868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-25T10:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding Expand all functionality in hier seq list.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-expand-all-functionality-in-hier-seq-list/m-p/4923536#M1148869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kritesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you , I had tried to explicitly define them again before refresh method.&lt;/P&gt;&lt;P&gt;But still that doesnt solved the purpose.&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;Pavan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 12:21:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-expand-all-functionality-in-hier-seq-list/m-p/4923536#M1148869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T12:21:28Z</dc:date>
    </item>
  </channel>
</rss>

