<?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 appending fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/appending-fields/m-p/2545657#M579004</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 two internal tables.&lt;/P&gt;&lt;P&gt;one table have Mandt key extra comparing to other internal table.&lt;/P&gt;&lt;P&gt;and both have remaining all the fields same.&lt;/P&gt;&lt;P&gt;Now i want to insert all the fields from the internal table which dont have mandt key to another internal table which have mandt key.&lt;/P&gt;&lt;P&gt;i dont want to use loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i insert the fields.???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;CSR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jul 2007 10:47:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-11T10:47:37Z</dc:date>
    <item>
      <title>appending fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/appending-fields/m-p/2545657#M579004</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 two internal tables.&lt;/P&gt;&lt;P&gt;one table have Mandt key extra comparing to other internal table.&lt;/P&gt;&lt;P&gt;and both have remaining all the fields same.&lt;/P&gt;&lt;P&gt;Now i want to insert all the fields from the internal table which dont have mandt key to another internal table which have mandt key.&lt;/P&gt;&lt;P&gt;i dont want to use loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i insert the fields.???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;CSR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 10:47:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/appending-fields/m-p/2545657#M579004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T10:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: appending fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/appending-fields/m-p/2545658#M579005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the below  code  which  is  inserting data from work area to internal table  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF connection, 
        cityfrom TYPE spfli-cityfrom, 
        cityto   TYPE spfli-cityto, 
        distid   TYPE spfli-distid, 
        distance TYPE spfli-distance, 
      END OF connection. 

DATA connection_tab LIKE SORTED TABLE OF connection 
                    WITH UNIQUE KEY cityfrom cityto 
                                    distid distance. 

SELECT cityfrom cityto distid distance 
       FROM spfli 
       INTO connection. 
  INSERT connection INTO TABLE connection_tab. 
ENDSELECT. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward  points if it is usefull....&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 11:26:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/appending-fields/m-p/2545658#M579005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T11:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: appending fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/appending-fields/m-p/2545659#M579006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Example let say your internal tables has following structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   ITAB1.&lt;/P&gt;&lt;P&gt;       FLD01&lt;/P&gt;&lt;P&gt;       FLD02&lt;/P&gt;&lt;P&gt;       FLD03&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;   ITAB2. &lt;/P&gt;&lt;P&gt;       FLD01&lt;/P&gt;&lt;P&gt;       FLD02&lt;/P&gt;&lt;P&gt;       FLD03&lt;/P&gt;&lt;P&gt;       EXTRA_FIELD.  "This should be the last field in your internal table.&lt;/P&gt;&lt;P&gt;                               "in both internal table all identical fields(name, type) fields&lt;/P&gt;&lt;P&gt;                               "should be in the same order and position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Moving one table contents to another.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ITAB2[] = ITAB1[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your contents will be copied as desired by you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;A.Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 02:42:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/appending-fields/m-p/2545659#M579006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T02:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: appending fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/appending-fields/m-p/2545660#M579007</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;Try this. The mandt field should be listed atlast in the internal table.&lt;/P&gt;&lt;P&gt;data : begin of ty1 occurs 0,&lt;/P&gt;&lt;P&gt;       b ,&lt;/P&gt;&lt;P&gt;       mandt(3) ,&lt;/P&gt;&lt;P&gt;       end of ty1.&lt;/P&gt;&lt;P&gt;data : begin of ty2 occurs 0,&lt;/P&gt;&lt;P&gt;       b ,&lt;/P&gt;&lt;P&gt;       end of ty2.&lt;/P&gt;&lt;P&gt;ty2-b = 'B'.&lt;/P&gt;&lt;P&gt;append ty2.&lt;/P&gt;&lt;P&gt;ty2-b = 'C'.&lt;/P&gt;&lt;P&gt;append ty2.&lt;/P&gt;&lt;P&gt;ty1[] = ty2[].&lt;/P&gt;&lt;P&gt;ty1-a = '300'.&lt;/P&gt;&lt;P&gt;modify ty1 transporting a where not b is initial.&lt;/P&gt;&lt;P&gt;loop at ty1.&lt;/P&gt;&lt;P&gt;write : / ty1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 03:04:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/appending-fields/m-p/2545660#M579007</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-07-12T03:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: appending fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/appending-fields/m-p/2545661#M579008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://abapcode.blogspot.com" target="test_blank"&gt;http://abapcode.blogspot.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 04:22:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/appending-fields/m-p/2545661#M579008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T04:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: appending fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/appending-fields/m-p/2545662#M579009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 10:11:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/appending-fields/m-p/2545662#M579009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-06T10:11:06Z</dc:date>
    </item>
  </channel>
</rss>

