<?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  display for a deep structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-for-a-deep-structure/m-p/1663600#M293941</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 have an internal table with a structure in it as a field along with other fields . &lt;/P&gt;&lt;P&gt;I want to create a dynamic alv display out of this internal table by assigning field symbols .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to assign fields of a structure  under the structure name and to display it in alv ? Other fields are assigned properly .&lt;/P&gt;&lt;P&gt;under the structer name it should move in a loop to assign each field of the structure .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help !! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance .&lt;/P&gt;&lt;P&gt;SA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Nov 2006 19:31:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-04T19:31:27Z</dc:date>
    <item>
      <title>alv  display for a deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-for-a-deep-structure/m-p/1663600#M293941</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 have an internal table with a structure in it as a field along with other fields . &lt;/P&gt;&lt;P&gt;I want to create a dynamic alv display out of this internal table by assigning field symbols .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to assign fields of a structure  under the structure name and to display it in alv ? Other fields are assigned properly .&lt;/P&gt;&lt;P&gt;under the structer name it should move in a loop to assign each field of the structure .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help !! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance .&lt;/P&gt;&lt;P&gt;SA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Nov 2006 19:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-for-a-deep-structure/m-p/1663600#M293941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-04T19:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: alv  display for a deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-for-a-deep-structure/m-p/1663601#M293942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Get an description object of your structure, i.e.&lt;/P&gt;&lt;P&gt;call &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lo_struct = cl_abap_structdescr=&amp;gt;describe_by_data( ... ).&lt;/P&gt;&lt;P&gt;lt_comp = lo_struct-&amp;gt;get_components( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at lt_comp assigning &amp;lt;wa_comp&amp;gt;.&lt;/P&gt;&lt;P&gt;try.&lt;/P&gt;&lt;P&gt;cl_abap_structdescr=&amp;gt;describe_by_data( &amp;lt;wa_comp&amp;gt; ).&lt;/P&gt;&lt;P&gt;if &amp;lt;wa_comp&amp;gt; is bound.&lt;/P&gt;&lt;P&gt; The game starts again...&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;catch cx_root.&lt;/P&gt;&lt;P&gt;endtry.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a natural way you get a tree of structures and parent structures. Display that tree as a cl_column_model_tree. Via double click on a final node of this tree the user gets displayed the struture data in an ALV. (As file explorer in windows).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Nov 2006 20:20:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-for-a-deep-structure/m-p/1663601#M293942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-04T20:20:03Z</dc:date>
    </item>
  </channel>
</rss>

