<?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: Acessing internal table inside another internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/acessing-internal-table-inside-another-internal-table/m-p/323421#M4981</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Yes, every record of table IT_ROW is a table too, so you can read the record of the first table and loop the records of the second one&lt;/P&gt;&lt;P&gt;READ TABLE IT_ROW INTO IT_COLUMN INDEX 2.&lt;/P&gt;&lt;P&gt;LOOP AT IT_COLUNM INTO .....&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2016 17:59:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-10-20T17:59:53Z</dc:date>
    <item>
      <title>Acessing internal table inside another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/acessing-internal-table-inside-another-internal-table/m-p/323420#M4980</link>
      <description>&lt;P&gt;Hello guys&lt;/P&gt;&lt;P&gt;I'm starting to learn abap and have some doubts about internal tables access.&lt;/P&gt;&lt;P&gt;I have the following code:&lt;/P&gt;&lt;P&gt;TYPES:&lt;BR /&gt;
 t_column TYPE STANDARD TABLE OF string WITH EMPTY KEY,&lt;BR /&gt;
 t_row TYPE STANDARD TABLE OF t_column WITH EMPTY KEY.&lt;BR /&gt;
&lt;BR /&gt;
DATA: columns TYPE i VALUE 3,&lt;BR /&gt;
 rows TYPE i VALUE 3.&lt;BR /&gt;
&lt;BR /&gt;
DATA: it_column TYPE t_column,&lt;BR /&gt;
 it_row TYPE t_row.&lt;BR /&gt;
&lt;BR /&gt;
 DO rows TIMES.&lt;BR /&gt;
 CLEAR it_column.&lt;BR /&gt;
 DO columns TIMES.&lt;BR /&gt;
 APPEND sy-index TO it_column.&lt;BR /&gt;
 ENDDO.&lt;BR /&gt;
 APPEND it_column TO it_row.&lt;BR /&gt;
 ENDDO.&lt;/P&gt;&lt;P&gt;Basically I'm trying to simulate a matrix, using tables inside tables.&lt;/P&gt;&lt;P&gt;What I wanna do is to access specific data from it_column which is inside it_row. For example: I wanna set a value for Row 2, Column 2 (according to the code above it currently contains the value 2). Line 2 of it_row contains a table it_column containing 3 lines. This is the values I wanna access. &lt;/P&gt;&lt;P&gt; Is there anyway to loop into it_column from the second line of it_row?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 17:01:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/acessing-internal-table-inside-another-internal-table/m-p/323420#M4980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-20T17:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Acessing internal table inside another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/acessing-internal-table-inside-another-internal-table/m-p/323421#M4981</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Yes, every record of table IT_ROW is a table too, so you can read the record of the first table and loop the records of the second one&lt;/P&gt;&lt;P&gt;READ TABLE IT_ROW INTO IT_COLUMN INDEX 2.&lt;/P&gt;&lt;P&gt;LOOP AT IT_COLUNM INTO .....&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 17:59:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/acessing-internal-table-inside-another-internal-table/m-p/323421#M4981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-20T17:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Acessing internal table inside another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/acessing-internal-table-inside-another-internal-table/m-p/323422#M4982</link>
      <description>&lt;P&gt;If you want to just loop at 2nd line, you can try.....&lt;/P&gt;&lt;P&gt;loop at it_row into work_area from 2 to 2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;If you want to loop from 2nd line till end of the table then&lt;/P&gt;&lt;P&gt;loop at it_row into work_area from 2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;-Chandra&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 18:05:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/acessing-internal-table-inside-another-internal-table/m-p/323422#M4982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-20T18:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Acessing internal table inside another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/acessing-internal-table-inside-another-internal-table/m-p/323423#M4983</link>
      <description>&lt;P&gt;Cool. I used modify table later in order to send it_column back to it_row. That worked, thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 18:30:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/acessing-internal-table-inside-another-internal-table/m-p/323423#M4983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-20T18:30:59Z</dc:date>
    </item>
  </channel>
</rss>

