<?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: Conditional MOVE-CORRESPONDING in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-move-corresponding/m-p/2759797#M642431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ferry, hopefully it should work in my case. Points awarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2007 18:49:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-17T18:49:43Z</dc:date>
    <item>
      <title>Conditional MOVE-CORRESPONDING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-move-corresponding/m-p/2759793#M642427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I need to write a piece of code to move records from one internal table to another table. I got to know about the MOVE-CORRESPONDING statement in ABAP. Now my question is: if I use the following, what will the system do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING ITAB1 TO ITAB2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will all the contents of ITAB1 be moved to ITAB2? I want to add a condition to it. Is that possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 18:32:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-move-corresponding/m-p/2759793#M642427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T18:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional MOVE-CORRESPONDING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-move-corresponding/m-p/2759794#M642428</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;Syntax:&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING &amp;lt;sourcestruct&amp;gt; TO &amp;lt;destinationstruct&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement assigns the contents of the components of structure &amp;lt;sourcestruct&amp;gt; to the components of the &amp;lt;destinationstruct&amp;gt; structure that have identical names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to add a condition to, it is better using MOVE statement instead.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 18:38:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-move-corresponding/m-p/2759794#M642428</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-09-17T18:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional MOVE-CORRESPONDING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-move-corresponding/m-p/2759795#M642429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ferry, could you please let me know some more information on MOVE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 18:39:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-move-corresponding/m-p/2759795#M642429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T18:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional MOVE-CORRESPONDING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-move-corresponding/m-p/2759796#M642430</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;You can do someting like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF &amp;lt;sourcestruct-field1&amp;gt; = &amp;lt;condition&amp;gt;
  MOVE &amp;lt;sourcestruct-field2&amp;gt; TO &amp;lt;destinationstruct-field3&amp;gt;.
  MOVE &amp;lt;sourcestruct-field3&amp;gt; TO &amp;lt;destinationstruct-field4&amp;gt;.
  ...
ENDIF.
&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 18:43:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-move-corresponding/m-p/2759796#M642430</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-09-17T18:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional MOVE-CORRESPONDING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-move-corresponding/m-p/2759797#M642431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ferry, hopefully it should work in my case. Points awarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 18:49:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-move-corresponding/m-p/2759797#M642431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T18:49:43Z</dc:date>
    </item>
  </channel>
</rss>

