<?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: Inserting dynamic internal table inside table field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-dynamic-internal-table-inside-table-field/m-p/5864205#M1322096</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;This won't work.Becasue the the dynamic internal table has some set of fields and data.So types are different.I tried and it is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2009 09:17:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-27T09:17:35Z</dc:date>
    <item>
      <title>Inserting dynamic internal table inside table field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-dynamic-internal-table-inside-table-field/m-p/5864203#M1322094</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 have a table which has a field(which can have a table inside). The internal table has declared as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types:begin of test,&lt;/P&gt;&lt;P&gt;          dyn_table               TYPE  ref to data occurs 0,&lt;/P&gt;&lt;P&gt;          end if test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:itab type standard table of test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my requirement is to fill one dynamic internal table inside dyn_table each time. I have declared the dynamic internal table as follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;gfs_tab&amp;gt;    TYPE STANDARD TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me how to move &amp;lt;gfs_tab&amp;gt; into dyn_table ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 07:20:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-dynamic-internal-table-inside-table-field/m-p/5864203#M1322094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T07:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting dynamic internal table inside table field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-dynamic-internal-table-inside-table-field/m-p/5864204#M1322095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Do as follows:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a field symbols of type any table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FIELD-SYMBOLS :  &amp;lt;y_f_cell_tab_field&amp;gt; type any table.

LOOP AT ITAB assigning &amp;lt;WA&amp;gt;.


ASSIGN COMPONENT 'DYN_TABLE' of STRUCTURE &amp;lt;WA&amp;gt; to &amp;lt;y_f_cell_tab_field&amp;gt;.

If &amp;lt;y_f_cell_tab_field&amp;gt; is assigned.
INSERT LINES OF &amp;lt;gfs_tab&amp;gt; INTO TABLE &amp;lt;y_f_cell_tab_field&amp;gt;.
ENDIF.
UNASSIGN : &amp;lt;y_f_cell_tab_field&amp;gt;.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur Parab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ankur Parab on Jul 27, 2009 1:02 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ankur Parab on Jul 27, 2009 1:03 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 07:32:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-dynamic-internal-table-inside-table-field/m-p/5864204#M1322095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T07:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting dynamic internal table inside table field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-dynamic-internal-table-inside-table-field/m-p/5864205#M1322096</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;This won't work.Becasue the the dynamic internal table has some set of fields and data.So types are different.I tried and it is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 09:17:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-dynamic-internal-table-inside-table-field/m-p/5864205#M1322096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T09:17:35Z</dc:date>
    </item>
  </channel>
</rss>

