<?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 in a internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911606#M1146646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating a dynamic internal table where in i have to enter another table. the structure of table is decided by a fieldcatlog of type LVC_S_FCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to know which field has to be filled which will identify the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;text removed by moderator&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on Dec 27, 2008 12:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Dec 2008 09:44:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-26T09:44:11Z</dc:date>
    <item>
      <title>table in a internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911606#M1146646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating a dynamic internal table where in i have to enter another table. the structure of table is decided by a fieldcatlog of type LVC_S_FCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to know which field has to be filled which will identify the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;text removed by moderator&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on Dec 27, 2008 12:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2008 09:44:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911606#M1146646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-26T09:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: table in a internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911607#M1146647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/dynamic%252binternal%252btable" target="test_blank"&gt;https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/dynamic%252binternal%252btable&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aveek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2008 11:24:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911607#M1146647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-26T11:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: table in a internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911608#M1146648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Aveek, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i know to create a simple internal table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its about creating an internal table inside an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: BEGIN OF INTERNALTABLE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           ........................&lt;/P&gt;&lt;P&gt;       table1 TYPE &amp;lt;some table type&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END OF INTERNALTABLE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2008 11:42:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911608#M1146648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-26T11:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: table in a internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911609#M1146649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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="112098"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aveek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2008 11:58:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911609#M1146649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-26T11:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: table in a internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911610#M1146650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi aveek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u have gave me the link to create internal table statically.&lt;/P&gt;&lt;P&gt;how can i do the same (including a table into a internal table) dynamically...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2008 12:03:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911610#M1146650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-26T12:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: table in a internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911611#M1146651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1081805"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aveek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2008 12:30:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911611#M1146651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-26T12:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: table in a internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911612#M1146652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Aveek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i understand the concept of internal table in internal table,&lt;/P&gt;&lt;P&gt;the point is how can i acheive it at runtime.... that is while i create a dynamic internal table.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2008 12:37:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911612#M1146652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-26T12:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: table in a internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911613#M1146653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1052622"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This might solve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aveek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2008 12:52:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911613#M1146653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-26T12:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: table in a internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911614#M1146654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming you've got an outer table something like this: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;field1
field2
field3
inner_table TYPE TABLE OF...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Instead, define it like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;field1
field2
field3
p_inner TYPE REF TO data&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;  Create your inner table dynamically.  Then, where WA is your workarea for the outer table ( i.e. you READ and INSERT using &lt;STRONG&gt;wa&lt;/STRONG&gt; ) use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;GET REFERENCE OF &amp;lt;inner_table&amp;gt; INTO wa-p_inner. " Puts inner table into the outer workarea
* or
ASSIGN wa-p_inner-&amp;gt;* TO &amp;lt;inner_table&amp;gt;. " Gets inner table from outer workarea.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Instead of storing the inner table within the outer table, you are storing a reference (the memory location) of the inner table.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Dec 2008 12:03:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-in-a-internal-table/m-p/4911614#M1146654</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-12-27T12:03:11Z</dc:date>
    </item>
  </channel>
</rss>

