<?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 Formatting Dynamic Internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310950#M1918385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello ABAP Guru's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me on formatting Dynamic Internal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Dynamic Internal table Like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;lf_itab&amp;gt; - It is dynamic Internal Table but we know How many Nodes will come (Some times 4 or 5 or more than 10..n). Currently I have taken 4 Nodes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TBODY style="font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TR&gt;&lt;TH style="text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node1&lt;/TH&gt;&lt;TH style="text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node2&lt;/TH&gt;&lt;TH style="text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node3&lt;/TH&gt;&lt;TH style="text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node4&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current1&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current1.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current1.2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current2&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current3&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-NonCurrent&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-NonCurrent2&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-NonCurrent3&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Explanation about Internal Table&lt;/STRONG&gt;&amp;nbsp; - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asserts contains&amp;nbsp; two Sub nodes&lt;EM&gt; A-Current &lt;/EM&gt; &lt;EM&gt;A-Noncurrent&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A-Current&lt;/EM&gt; Again Contains&lt;EM&gt; A-current 1&lt;/EM&gt; and&lt;EM&gt; A-current2,A-current3 &lt;/EM&gt;sub nodes&lt;/P&gt;&lt;P&gt;A-current1 Again contains A-current1.1,A-current1.2 sub nodes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So finally Under Asserts-&amp;gt;A-current-&amp;gt;A-current1&amp;nbsp; -&amp;gt;A-current1.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to above logic I have to achieve format of&amp;nbsp; my Dynamic Internal table like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TBODY style="font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TR&gt;&lt;TH style="text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node1&lt;/TH&gt;&lt;TH style="text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node2&lt;/TH&gt;&lt;TH style="text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node3&lt;/TH&gt;&lt;TH style="text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node4&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current1&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current1.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current1&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current1.2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current2&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current3&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Noncurrent&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-NonCurrent2&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Noncurrent&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-NonCurrent3&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me to frame logic .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kandulas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2015 08:27:58 GMT</pubDate>
    <dc:creator>former_member298409</dc:creator>
    <dc:date>2015-10-07T08:27:58Z</dc:date>
    <item>
      <title>Formatting Dynamic Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310950#M1918385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello ABAP Guru's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me on formatting Dynamic Internal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Dynamic Internal table Like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;lf_itab&amp;gt; - It is dynamic Internal Table but we know How many Nodes will come (Some times 4 or 5 or more than 10..n). Currently I have taken 4 Nodes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TBODY style="font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TR&gt;&lt;TH style="text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node1&lt;/TH&gt;&lt;TH style="text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node2&lt;/TH&gt;&lt;TH style="text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node3&lt;/TH&gt;&lt;TH style="text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node4&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current1&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current1.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current1.2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current2&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current3&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-NonCurrent&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-NonCurrent2&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-NonCurrent3&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Explanation about Internal Table&lt;/STRONG&gt;&amp;nbsp; - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asserts contains&amp;nbsp; two Sub nodes&lt;EM&gt; A-Current &lt;/EM&gt; &lt;EM&gt;A-Noncurrent&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A-Current&lt;/EM&gt; Again Contains&lt;EM&gt; A-current 1&lt;/EM&gt; and&lt;EM&gt; A-current2,A-current3 &lt;/EM&gt;sub nodes&lt;/P&gt;&lt;P&gt;A-current1 Again contains A-current1.1,A-current1.2 sub nodes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So finally Under Asserts-&amp;gt;A-current-&amp;gt;A-current1&amp;nbsp; -&amp;gt;A-current1.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to above logic I have to achieve format of&amp;nbsp; my Dynamic Internal table like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TBODY style="font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TR&gt;&lt;TH style="text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node1&lt;/TH&gt;&lt;TH style="text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node2&lt;/TH&gt;&lt;TH style="text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node3&lt;/TH&gt;&lt;TH style="text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node4&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current1&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current1.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current1&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current1.2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current2&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Current3&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Noncurrent&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-NonCurrent2&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-Noncurrent&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit; vertical-align: baseline; background-color: transparent;"&gt;A-NonCurrent3&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me to frame logic .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kandulas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 08:27:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310950#M1918385</guid>
      <dc:creator>former_member298409</dc:creator>
      <dc:date>2015-10-07T08:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Dynamic Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310951#M1918386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 12:49:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310951#M1918386</guid>
      <dc:creator>former_member298409</dc:creator>
      <dc:date>2015-10-08T12:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Dynamic Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310952#M1918387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just loop at itab, check change of column and react accordingly inserting record in final table, just insure not to insert when column change if previous value was initial, and clear fields right after the changing column when creating new final record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 08:03:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310952#M1918387</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-10-09T08:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Dynamic Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310953#M1918388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Raymond for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Internal Table not a fixed structure it is &lt;STRONG&gt;dynamic one&lt;/STRONG&gt;! (We can't hard code fields)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so In my Internal Table &lt;STRONG&gt;&amp;lt;lf_tab&amp;gt;&lt;/STRONG&gt; contains data like above mentioned ...if have some Idea kindly give the logic pls&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 09:21:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310953#M1918388</guid>
      <dc:creator>former_member298409</dc:creator>
      <dc:date>2015-10-09T09:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Dynamic Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310954#M1918389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you won't solve it thru AT NEW/END OF field statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you will have to use some ASSIGN of component to field symbols (of the current record in the loop, and of the new record of final table being created) to perform comparison. Only one AT FIRST statement is required to create an initiam record to final table assigned to a FS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 09:43:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310954#M1918389</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-10-09T09:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Dynamic Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310955#M1918390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raymond,&lt;/P&gt;&lt;P&gt;Cam I have sample code pls..It would really helpful to me if you provide some sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kandulas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 10:22:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310955#M1918390</guid>
      <dc:creator>former_member298409</dc:creator>
      <dc:date>2015-10-09T10:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Dynamic Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310956#M1918391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kandulas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure what your requirement exactly is, but I somehow feel that you don't require a dynamic internal table in the first case if you change the approach of logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you have this hierarchy that you need to store, you may have an internal table with just two columns PARENT NODE and CHILD NODE; in every row of this internal table just store the parent node and its child node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may use recursive subroutines/methods to read the data whenever it is required until you don't either find a parent node (while traversing up the line) or a child node (while searching down the line). In this way you may also avoid redundancy of date, unlike in earlier case where you are trying to repeat storing the same data for earlier columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you understood the solution that I am suggesting and I hope that fits to your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 10:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310956#M1918391</guid>
      <dc:creator>former_member185587</dc:creator>
      <dc:date>2015-10-09T10:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Dynamic Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310957#M1918392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Kiran,&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;you didn't understand my question .&lt;/DIV&gt;&lt;DIV&gt;I am getting data like that only (&lt;STRONG&gt;which you talk about Parent and Child but That is not In sequence&lt;/STRONG&gt;)&amp;nbsp; like below.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px solid black;" width="100"&gt;&lt;STRONG&gt;NODE&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border: 0px solid black;" width="100"&gt;&lt;STRONG&gt;SBUNODE&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border: 0px solid black;"&gt;Asserts&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0px 0px medium; border-style: solid solid solid none; border-color: black black black currentColor;"&gt;A-Current&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-width: medium 0px 0px; border-style: none solid solid; border-color: currentColor black black;"&gt;A-Current&lt;/TD&gt;&lt;TD class="xl65" style="border-width: medium 0px 0px medium; border-style: none solid solid none; border-color: currentColor black black currentColor;"&gt;A-Current1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-width: medium 0px 0px; border-style: none solid solid; border-color: currentColor black black;"&gt;A-Current&lt;/TD&gt;&lt;TD class="xl65" style="border-width: medium 0px 0px medium; border-style: none solid solid none; border-color: currentColor black black currentColor;"&gt;A-Current2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-width: medium 0px 0px; border-style: none solid solid; border-color: currentColor black black;"&gt;A-Current&lt;/TD&gt;&lt;TD class="xl65" style="border-width: medium 0px 0px medium; border-style: none solid solid none; border-color: currentColor black black currentColor;"&gt;A-Current3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-width: medium 0px 0px; border-style: none solid solid; border-color: currentColor black black;"&gt;Asserts&lt;/TD&gt;&lt;TD class="xl65" style="border-width: medium 0px 0px medium; border-style: none solid solid none; border-color: currentColor black black currentColor;"&gt;A-Noncurrent&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-width: medium 0px 0px; border-style: none solid solid; border-color: currentColor black black;"&gt;A-Noncurrent&lt;/TD&gt;&lt;TD class="xl65" style="border-width: medium 0px 0px medium; border-style: none solid solid none; border-color: currentColor black black currentColor;"&gt;A-Noncurrent1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-width: medium 0px 0px; border-style: none solid solid; border-color: currentColor black black;"&gt;A-Noncurrent&lt;/TD&gt;&lt;TD class="xl65" style="border-width: medium 0px 0px medium; border-style: none solid solid none; border-color: currentColor black black currentColor;"&gt;A-Noncurrent2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-width: medium 0px 0px; border-style: none solid solid; border-color: currentColor black black;"&gt;A-Noncurrent&lt;/TD&gt;&lt;TD class="xl65" style="border-width: medium 0px 0px medium; border-style: none solid solid none; border-color: currentColor black black currentColor;"&gt;A-Noncurrent3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-width: medium 0px 0px; border-style: none solid solid; border-color: currentColor black black;"&gt;A-Current1&lt;/TD&gt;&lt;TD class="xl65" style="border-width: medium 0px 0px medium; border-style: none solid solid none; border-color: currentColor black black currentColor;"&gt;A-Current1.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-width: medium 0px 0px; border-style: none solid solid; border-color: currentColor black black;"&gt;A-Current1&lt;/TD&gt;&lt;TD class="xl65" style="border-width: medium 0px 0px medium; border-style: none solid solid none; border-color: currentColor black black currentColor;"&gt;A-Current1.2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Business requirement is we have to arranged them in below 2 format's (See above thread how it got arranged)&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;1.&lt;STRONG&gt;Hierarchal ALV&amp;nbsp; (This is already done)&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;TABLE border="1" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TH class="header" style="border: 1px solid currentColor; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node1&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid currentColor; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node2&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid currentColor; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node3&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid currentColor; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node4&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Current&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Current1&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Current1.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Current1.2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Current2&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Current3&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-NonCurrent&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-NonCurrent2&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-NonCurrent3&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;2 . Normal ALV.&lt;/DIV&gt;&lt;TABLE border="1" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TH class="header" style="border: 1px solid currentColor; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node1&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid currentColor; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node2&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid currentColor; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node3&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid currentColor; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Node4&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Current&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Current1&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Current1.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Current&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Current1&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Current1.2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Current&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Current2&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Current&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Current3&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Noncurrent&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-NonCurrent2&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px currentColor; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;Asserts&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-Noncurrent&lt;/TD&gt;&lt;TD style="border: 1px solid currentColor; text-align: left; color: #575757; padding-right: 4px; padding-left: 4px; font-family: arial,helvetica,sans-serif; font-style: inherit;"&gt;A-NonCurrent3&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is pending (This is Normal ALV output format)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this output we want now .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Without Dynamic Table you can't achieve this&lt;/STRONG&gt; . because we don't know how many Nodes will come&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 11:02:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310957#M1918392</guid>
      <dc:creator>former_member298409</dc:creator>
      <dc:date>2015-10-09T11:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Dynamic Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310958#M1918393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Start with a (fast written not checked sample)&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;LOOP&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;AT&lt;/SPAN&gt; dyntable &lt;SPAN style="color: #0000ff;"&gt;ASSIGNING&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;record&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;IF&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;final&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;IS&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;NOT&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;ASSIGNED&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;APPEND&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;INITIAL&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;LINE&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; finaltable &lt;SPAN style="color: #0000ff;"&gt;ASSIGNING&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;final&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;final&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;record&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;ASSIGN&lt;/SPAN&gt; COMPONENT &lt;SPAN style="color: #4da616;"&gt;'NODE1'&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;OF&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;STRUCTURE&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;record&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;node1&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;ASSIGN&lt;/SPAN&gt; COMPONENT &lt;SPAN style="color: #4da616;"&gt;'NODE1'&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;OF&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;STRUCTURE&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;final&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;final1&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;ASSIGN&lt;/SPAN&gt; COMPONENT &lt;SPAN style="color: #4da616;"&gt;'NODE2'&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;OF&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;STRUCTURE&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;record&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;node2&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;ASSIGN&lt;/SPAN&gt; COMPONENT &lt;SPAN style="color: #4da616;"&gt;'NODE2'&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;OF&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;STRUCTURE&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;final&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;final2&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM style="color: #808080;"&gt;" etc.&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;IF&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;node1&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;NE&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;final1&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;APPEND&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;INITIAL&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;LINE&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; finaltable &lt;SPAN style="color: #0000ff;"&gt;ASSIGNING&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;final&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;final&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;record&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;IF&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;node2&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;NE&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;final2&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;IF&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;final2&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;IS&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;INITIAL&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt; &lt;EM style="color: #808080;"&gt;"same record&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;final2&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;node2&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt; &lt;EM style="color: #808080;"&gt;" build new record from previous one&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;APPEND&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;final&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; finaltable &lt;SPAN style="color: #0000ff;"&gt;ASSIGNING&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;final&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;CLEAR&lt;/SPAN&gt;: &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;final3&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;final4&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM style="color: #808080;"&gt;" Adapt and add your logic, etc.&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Add also check of failed assign, optimize the code, and from level 3 start to find a solution for kind of recursive code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 11:23:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310958#M1918393</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-10-09T11:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Dynamic Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310959#M1918394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's the issue I can't hard code the Field names (Node1,Node2..Noden).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me on this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kandulas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 09:52:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-dynamic-internal-table/m-p/11310959#M1918394</guid>
      <dc:creator>former_member298409</dc:creator>
      <dc:date>2015-10-12T09:52:16Z</dc:date>
    </item>
  </channel>
</rss>

