<?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: Dynamic ALV + deep structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-deep-structure/m-p/3101105#M735883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well we might need some more explanation as to what you are trying to do... however the "color" table occurs once per row but can contain settings for several (all) columns in that row... and as for varying the number of columns, can we assume there is a &lt;SPAN __jive_macro_name="reasonable"&gt;&lt;/SPAN&gt; maximum number you might need for your "horizon"..?  If so, just define this max number in your ALV structure then just hide the ones you don't need before you display the ALV report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2007 11:52:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-29T11:52:49Z</dc:date>
    <item>
      <title>Dynamic ALV + deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-deep-structure/m-p/3101104#M735882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to use dynamic ALV with the color table.&lt;/P&gt;&lt;P&gt;The number of ALV columns depend on the Time Horizon selected &lt;/P&gt;&lt;P&gt;i.e 10Days will display 10 columns or 14Days will display 14 columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you dynamically create an internal table with a deep structure? &lt;/P&gt;&lt;P&gt;The deep structure is required because I need the color table in the field catalog to color individual cells of the ALV!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 09:54:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-deep-structure/m-p/3101104#M735882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T09:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic ALV + deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-deep-structure/m-p/3101105#M735883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well we might need some more explanation as to what you are trying to do... however the "color" table occurs once per row but can contain settings for several (all) columns in that row... and as for varying the number of columns, can we assume there is a &lt;SPAN __jive_macro_name="reasonable"&gt;&lt;/SPAN&gt; maximum number you might need for your "horizon"..?  If so, just define this max number in your ALV structure then just hide the ones you don't need before you display the ALV report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 11:52:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-deep-structure/m-p/3101105#M735883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T11:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic ALV + deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-deep-structure/m-p/3101106#M735884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add a component COLOR_TYPE type LVC_T_SCOL to your structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: it_color type type table of lvc_s_scol.&lt;/P&gt;&lt;P&gt;data: wa_color type lvc_s_scol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if condition.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;set color to green&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    move '5' to wa_color-color-col.&lt;/P&gt;&lt;P&gt;    move '0' to wa_color-color-int.&lt;/P&gt;&lt;P&gt;    move '0' to wa_color-color-inv.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;or set to yellow&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    move '3' to wa_color-color-col.&lt;/P&gt;&lt;P&gt;    move '1' to wa_color-color-int.&lt;/P&gt;&lt;P&gt;    move '0' to wa_color-color-inv.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;or set to red&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    move '6' to wa_color-color-col.&lt;/P&gt;&lt;P&gt;    move '0' to wa_color-color-int.&lt;/P&gt;&lt;P&gt;    move '0' to wa_color-color-inv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    append wa_color to it_color.&lt;/P&gt;&lt;P&gt;    wa_alv_data-color_cell[] = it_color[].&lt;/P&gt;&lt;P&gt;    clear wa_color.&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 11:59:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-deep-structure/m-p/3101106#M735884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T11:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic ALV + deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-deep-structure/m-p/3101107#M735885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am aware of the suggestion but I wonder if it is possible to create dynamic deep structures in abap. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I define a dynamic work area of TYPE ANY and assign an internal table to one of it's columns the program short dumps with error type h cannot be assigned to type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 08:20:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-deep-structure/m-p/3101107#M735885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T08:20:02Z</dc:date>
    </item>
  </channel>
</rss>

