<?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: Moving Incompactible Internal Table without loop... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-incompactible-internal-table-without-loop/m-p/8542892#M1657506</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you could change the types from string to a fixed char width, e.g. char1024 instead of string, than you could assign the tables to each other.&lt;/P&gt;&lt;P&gt;As long as you use string as type, ABAP is talking about deep structures. Only flat structures can directly be assigned. So for me, using ABAP, there's no way around looping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For somebody used to other languages also, this seems quite strange, but unfortunately is the fact.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jan 2012 13:13:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-01-27T13:13:35Z</dc:date>
    <item>
      <title>Moving Incompactible Internal Table without loop...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-incompactible-internal-table-without-loop/m-p/8542891#M1657505</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 need to move the incompactible internal table using field symbol, (without loop statement)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a internal table &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;lt_itab TYPE TABLE OF string&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above internal table should be moved to internal table with different field, for instance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF ty_tab,
                 Name  TYPE string,
             END OF ty_tab.

DATA lt_maintab  TYPE TABLE OF ty_tab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to to assign lt_tab to lt_maintab without loop statement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 11:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-incompactible-internal-table-without-loop/m-p/8542891#M1657505</guid>
      <dc:creator>benu_mariantony2</dc:creator>
      <dc:date>2012-01-27T11:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Incompactible Internal Table without loop...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-incompactible-internal-table-without-loop/m-p/8542892#M1657506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you could change the types from string to a fixed char width, e.g. char1024 instead of string, than you could assign the tables to each other.&lt;/P&gt;&lt;P&gt;As long as you use string as type, ABAP is talking about deep structures. Only flat structures can directly be assigned. So for me, using ABAP, there's no way around looping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For somebody used to other languages also, this seems quite strange, but unfortunately is the fact.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 13:13:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-incompactible-internal-table-without-loop/m-p/8542892#M1657506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-27T13:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Incompactible Internal Table without loop...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-incompactible-internal-table-without-loop/m-p/8542893#M1657507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Benu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately based on the definition of the structures you have it is not possible without the use of the LOOP construct.  The definition would have to be altered or a LOOP must be used to achieve this.&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;&lt;/P&gt;&lt;P&gt;Ryan Crosby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 16:24:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-incompactible-internal-table-without-loop/m-p/8542893#M1657507</guid>
      <dc:creator>Ryan-Crosby</dc:creator>
      <dc:date>2012-01-27T16:24:51Z</dc:date>
    </item>
  </channel>
</rss>

