<?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 Table structuree inside a Internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-structuree-inside-a-internal-table/m-p/5547703#M1266624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an internal table declared with a table structure inside it. i have the declration as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: begin of itab1,
           field1,
           field2,
           end of itab1.

          begin of Itab2,
          field3
          itab type table of itab1
          end of itab2.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now how will i access filed1 of Itab1 from itab2 ?? what is the syntax for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried itab2-itab1-field1 but it gives me a error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 May 2009 11:12:26 GMT</pubDate>
    <dc:creator>bharath_mohan2</dc:creator>
    <dc:date>2009-05-01T11:12:26Z</dc:date>
    <item>
      <title>Table structuree inside a Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-structuree-inside-a-internal-table/m-p/5547703#M1266624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an internal table declared with a table structure inside it. i have the declration as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: begin of itab1,
           field1,
           field2,
           end of itab1.

          begin of Itab2,
          field3
          itab type table of itab1
          end of itab2.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now how will i access filed1 of Itab1 from itab2 ?? what is the syntax for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried itab2-itab1-field1 but it gives me a error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2009 11:12:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-structuree-inside-a-internal-table/m-p/5547703#M1266624</guid>
      <dc:creator>bharath_mohan2</dc:creator>
      <dc:date>2009-05-01T11:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Table structuree inside a Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-structuree-inside-a-internal-table/m-p/5547704#M1266625</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;PRE&gt;&lt;CODE&gt;DATA: begin of itab1,
           field1,
           field2,
           end of itab1.
 
          begin of Itab2,
          field3
          itab type table of itab1
          end of itab2.

DATA : itab3 type table of itab1.

" Declare the internal of type itab1and pass the itab2-itab data to itab3 and process itab3.
itab3[] = itab2-itab[]

LOOP AT ITAB3 INTO ITAB1.
WRITE:/ ITAB1-FIELD1.
ENDLOOP.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2009 11:19:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-structuree-inside-a-internal-table/m-p/5547704#M1266625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-01T11:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Table structuree inside a Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-structuree-inside-a-internal-table/m-p/5547705#M1266626</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;Instead of declaring a new table type and extending memory with the same records, you can do it this way also...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at itab2-itab into itab1.
  write itab1-field1.
  write itab1-field2.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2009 11:24:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-structuree-inside-a-internal-table/m-p/5547705#M1266626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-01T11:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Table structuree inside a Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-structuree-inside-a-internal-table/m-p/5547706#M1266627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it was really useful, points awarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2009 11:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-structuree-inside-a-internal-table/m-p/5547706#M1266627</guid>
      <dc:creator>bharath_mohan2</dc:creator>
      <dc:date>2009-05-01T11:59:06Z</dc:date>
    </item>
  </channel>
</rss>

