<?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: Nested internal table with header line in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573268#M587783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;False - It can contain a HEADER LINE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jul 2007 06:40:07 GMT</pubDate>
    <dc:creator>gopi_narendra</dc:creator>
    <dc:date>2007-07-26T06:40:07Z</dc:date>
    <item>
      <title>Nested internal table with header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573265#M587780</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 am preparing for the certification on ABAP and i encountered a question :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An internal table that is nested within another internal table should not contain a header line , state whetehre it is true or false.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you guys help me ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anubhav jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 06:37:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573265#M587780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T06:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Nested internal table with header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573266#M587781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these 2 Internal tables may contain the Headers also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 06:38:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573266#M587781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T06:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Nested internal table with header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573267#M587782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;true&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 06:39:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573267#M587782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T06:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Nested internal table with header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573268#M587783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;False - It can contain a HEADER LINE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 06:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573268#M587783</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-07-26T06:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Nested internal table with header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573269#M587784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TRUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;becuase  the  outer  loop internal  table  should  be clear  of the header   so that   the   your  data will be looped   properly ...  otherwise  Duplicate of the   last data  ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;" means  the  outerloop will  have   last time   the  last data  in the header  ... so that  it 
" will retrieve the   data   as first time in the  inner loop  ..  and once  again    it will  
" retrive the   as  second time   last in  the outer  loop and last in the   inner  loop .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;reward  points if it is usefull .....&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 06:41:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573269#M587784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T06:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Nested internal table with header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573270#M587785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;False - It can contain a header line&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 06:42:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573270#M587785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T06:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Nested internal table with header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573271#M587786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example would be useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anubhav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 07:38:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573271#M587786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T07:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Nested internal table with header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573272#M587787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am changing my answer after confirmation from few of the threads : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nested internal tables can't have header lines :true .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go through the following links so that the idea will be more clearer with examples .&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="459041"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be of help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ranjita Kar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 07:44:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573272#M587787</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-07-26T07:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Nested internal table with header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573273#M587788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think question is not talking about nested loop but the complex structures in which table is nested in strcuture.. In that case nested internal tabel cannot have header line&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 08:18:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573273#M587788</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2007-07-26T08:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Nested internal table with header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573274#M587789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ranjita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the thread given by you thers an exaplme of code as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF TYPE_DEEP,&lt;/P&gt;&lt;P&gt;MATNR TYPE MATNR, &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;T_MARC TYPE MARC OCCURS 0,&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;END OF TYPE_DEEP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: T_DEEP TYPE STANDARD TABLE OF TYPE_DEEP.&lt;/P&gt;&lt;P&gt;DATA: WA_DEEP TYPE TYPE_DEEP.&lt;/P&gt;&lt;P&gt;DATA: T_MARC TYPE TABLE OF MARC.&lt;/P&gt;&lt;P&gt;DATA: S_MARC TYPE MARC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Populating data.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;WA_DEEP-MATNR = 'TEST'.&lt;/P&gt;&lt;P&gt;S_MARC-MATNR = 'TEST'.&lt;/P&gt;&lt;P&gt;S_MARC-WERKS = '9090'.&lt;/P&gt;&lt;P&gt;APPEND S_MARC TO T_MARC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Append second level internal table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;WA_DEEP-T_MARC[] = T_MARC[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Append.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;APPEND WA_DEEP TO T_DEEP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Process the internal table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT T_DEEP INTO WA_DEEP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / WA_DEEP-MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PROCESS the second level internal table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LOOP AT WA_DEEP-T_MARC INTO S_MARC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: S_MARC-WERKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here nested internal table T_MARC contains a header line.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 08:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573274#M587789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T08:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Nested internal table with header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573275#M587790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please read and analise from all the threads about nested internal tables and their use , I think that will help you in solving your querry .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are even 2 more examples with the bit of descriptions . you need to analise from there &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this one :&lt;/P&gt;&lt;P&gt;Nested internal tables are when you make a field which is TYPED with a TABLE TYPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is one of your strucutre field is a TABLE TYPE so when you create a INTENRAL TABLE of this Strucutre this internal table field containes one of its field as another INTERNAL table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are also concidered DEEP STRUCUTRES as we will not the size of the internal table at the decleration time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: begin of NES_STRUCT,&lt;/P&gt;&lt;P&gt;field1(10) type C,&lt;/P&gt;&lt;P&gt;nested_tab type table of SPFLI,&lt;/P&gt;&lt;P&gt;end of NES_STRUCT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now NES_STRUCT is a strcutre which has an internal table in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now &lt;/P&gt;&lt;P&gt;DATA: IT_NES_STRUCT LIKE TABLE OF NES_STRUCT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now IT_NES_STRUCT is an intenral table with each record of it having a field with name "nested_tab" which is an internal table itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example it is clearly shown that Nested internal tables can not have a header line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check for this link from help.sap.com for the use of nested internal tables :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9eaa35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9eaa35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ranjita Kar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 09:13:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-internal-table-with-header-line/m-p/2573275#M587790</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-07-26T09:13:10Z</dc:date>
    </item>
  </channel>
</rss>

