<?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 Queyr about move-corresponding in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/queyr-about-move-corresponding/m-p/4005342#M956814</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is move-corresponding capable of moving all entries of internal table w/o headerline to another internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or is it only capable of moving one entry?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jun 2008 04:02:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-23T04:02:35Z</dc:date>
    <item>
      <title>Queyr about move-corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/queyr-about-move-corresponding/m-p/4005342#M956814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is move-corresponding capable of moving all entries of internal table w/o headerline to another internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or is it only capable of moving one entry?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 04:02:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/queyr-about-move-corresponding/m-p/4005342#M956814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T04:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Queyr about move-corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/queyr-about-move-corresponding/m-p/4005343#M956815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;moves all entries of internal table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 04:03:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/queyr-about-move-corresponding/m-p/4005343#M956815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T04:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Queyr about move-corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/queyr-about-move-corresponding/m-p/4005344#M956816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It moves all entries of internal table.In case of work areas,where their structures are different then move -corresponding will move the data between the corresponding fields of those two work areas.However,it will give a warning in SLIN check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 04:29:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/queyr-about-move-corresponding/m-p/4005344#M956816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T04:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Queyr about move-corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/queyr-about-move-corresponding/m-p/4005345#M956817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it only moves content of header at a time..so to transfer complete internal table to another one of different structure u need to have a loop on the source table and either source table shud have header or u have to use work area to move the corresponding enteries to the destination table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 04:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/queyr-about-move-corresponding/m-p/4005345#M956817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T04:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Queyr about move-corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/queyr-about-move-corresponding/m-p/4005346#M956818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Move corresponding is to move a filed to another filed only.&lt;/P&gt;&lt;P&gt;for all entries you can use:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;append lines of itab to itab1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vipin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 04:30:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/queyr-about-move-corresponding/m-p/4005346#M956818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T04:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Queyr about move-corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/queyr-about-move-corresponding/m-p/4005347#M956819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically Move corresponding is used to move data between internal tables or workareas of different structures.&lt;/P&gt;&lt;P&gt;It does field to field comerisan for this reson field name of both the structures must be same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As this performs a field to field comperisan, it consume a lot of processing time so performance wise it is recommened "Not to use Move-corresponding statment" .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 04:45:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/queyr-about-move-corresponding/m-p/4005347#M956819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T04:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Queyr about move-corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/queyr-about-move-corresponding/m-p/4005348#M956820</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;To move values between the components of structures, use the statement :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MOVE-CORRESPONDING &amp;lt;struct1&amp;gt; TO &amp;lt;struct2&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement moves the contents of the components of structure &amp;lt;struct1&amp;gt; to the components of &amp;lt;struct2&amp;gt; that have identical names. The other fields remain unchanged. &lt;/P&gt;&lt;P&gt;When it is executed, it is broken down into a set of MOVE statements, one for each pair of fields with identical names, as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MOVE STRUCT1-&amp;lt;ci&amp;gt; TO STRUCT2-&amp;lt;ci&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any necessary type conversions occur at this level. This process is different to that used when you assign a whole structure using the MOVE statement, where the conversion rules for structures apply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF ADDRESS,
          FIRSTNAME(20) VALUE 'Fred',
          SURNAME(20) VALUE 'Flintstone',
          INITIALS(4) VALUE 'FF',
          STREET(20) VALUE 'Cave Avenue,
          NUMBER TYPE I VALUE '11'.
          POSTCODE TYPE N VALUE '98765'.
         CITY(20) VALUE 'Bedrock',
         END OF ADDRESS.

DATA: BEGIN OF NAME,
           SURNAME(20),
           FIRSTNAME(20),
           INITIALS(4),
           TITLE(10) VALUE 'Mister',
          END OF NAME.

MOVE-CORRESPONDING ADDRESS TO NAME.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes all the values are moved to the corresponding fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhanashri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 04:46:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/queyr-about-move-corresponding/m-p/4005348#M956820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T04:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Queyr about move-corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/queyr-about-move-corresponding/m-p/4005349#M956821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;One thing I want to clear you that Header line is a work area that has a same name that of an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move corresponding is used to move corresponding data between work areas.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;you can move data between two internal table ,having same structure. For e.g. &lt;/P&gt;&lt;P&gt;itab1[] = itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per your requirement you want to move corresponding records from one internal table to other .For that you have to write some codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For e.g. &lt;/P&gt;&lt;P&gt;Data: itab type table of struc1 wiht header line,&lt;/P&gt;&lt;P&gt;       itab2 type table of struc2 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;move-corresponding from itab1 to itab2.&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way you can move your corresponding data between itab1 and itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help children of U.N World Food Program by rewarding  points and encourage others to answer your queries&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 06:13:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/queyr-about-move-corresponding/m-p/4005349#M956821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T06:13:44Z</dc:date>
    </item>
  </channel>
</rss>

