<?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: MOVE-CORRESPONDING in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-corresponding/m-p/4649932#M1094299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Anuj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, i know. i used it as an example. by the way, in your program you can determine which fields are not used in the computation. so, you can easily assign those fields into a field symbol and use ito to copy the contents of those fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Oct 2008 07:06:38 GMT</pubDate>
    <dc:creator>peter_ruiz2</dc:creator>
    <dc:date>2008-10-17T07:06:38Z</dc:date>
    <item>
      <title>MOVE-CORRESPONDING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-corresponding/m-p/4649927#M1094294</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;I hve two different dynamic tables with same structure &amp;lt;dyn_table_IN&amp;gt; and &amp;lt;dyn_table_OUT&amp;gt;.&lt;/P&gt;&lt;P&gt;I'm loop in &amp;lt;dyn_table_IN&amp;gt; for calculate the values of some fields of &amp;lt;dyn_table_OUT&amp;gt;.&lt;/P&gt;&lt;P&gt; but i want to move only particuler fields of &amp;lt;dyn_table_IN&amp;gt; into &amp;lt;dyn_table_OUT&amp;gt;. whose i'm not calculated in select(dynamically)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT &amp;lt;dyn_table_IN&amp;gt; INTO &amp;lt;WA&amp;gt;.( suppose struct of dyn_table_IN  is &lt;STRONG&gt;matnr pstat matnr&lt;/STRONG&gt; same as &amp;lt;dyn_table_OUT&amp;gt;. )&lt;/P&gt;&lt;P&gt;   data : dy_line1  type ref to data.&lt;/P&gt;&lt;P&gt;  create data dy_line1 like line of &amp;lt;dyn_table_OUT&amp;gt;.&lt;/P&gt;&lt;P&gt;  assign dy_line1-&amp;gt;* to &amp;lt;wa1&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT   (QLIST) FROM (QFROM)  (suppose qlist is matnr  matnr)&lt;/P&gt;&lt;P&gt;    INTO  corresponding fields of &amp;lt;WA1&amp;gt;&lt;/P&gt;&lt;P&gt;    WHERE (QWHERE1) .&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING &amp;lt;WA&amp;gt; TO &amp;lt;WA1&amp;gt;. here i want to transfer the values of &lt;STRONG&gt;only&lt;/STRONG&gt; pstat into &amp;lt;wa1&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls help me.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 06:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-corresponding/m-p/4649927#M1094294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T06:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: MOVE-CORRESPONDING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-corresponding/m-p/4649928#M1094295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can any one give their views?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 06:43:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-corresponding/m-p/4649928#M1094295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T06:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: MOVE-CORRESPONDING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-corresponding/m-p/4649929#M1094296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Anuj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;  ld_field type char20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbols:&lt;/P&gt;&lt;P&gt;  &amp;lt;fs_field1&amp;gt; type any,&lt;/P&gt;&lt;P&gt;  &amp;lt;fs_field2&amp;gt; type any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move 'PSTAT' to ld_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign component ld_field of structure &amp;lt;wa&amp;gt; to &amp;lt;fs_field1&amp;gt;.&lt;/P&gt;&lt;P&gt;assign component ld_field of structure &amp;lt;wa_1&amp;gt; to &amp;lt;fs_field2&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move &amp;lt;fs_field2&amp;gt; to &amp;lt;fs_field1&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 06:50:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-corresponding/m-p/4649929#M1094296</guid>
      <dc:creator>peter_ruiz2</dc:creator>
      <dc:date>2008-10-17T06:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: MOVE-CORRESPONDING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-corresponding/m-p/4649930#M1094297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didnt get your requirement exactly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after select the statement, append ll the values into it_wa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT &amp;lt;dyn_table_IN&amp;gt; INTO &amp;lt;WA&amp;gt;

READ TABLE IT_WA1 WHERE (GIVE THE FIELD NAMES YOU WANT TO COMPARE)
IF SY-SUBRC &amp;lt;&amp;gt; 0.
MOVE-CORRESPONDING &amp;lt;WA&amp;gt; TO &amp;lt;WA1&amp;gt;.
ENDIF

ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REVERT BACK FOR QUERIES&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 06:55:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-corresponding/m-p/4649930#M1094297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T06:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: MOVE-CORRESPONDING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-corresponding/m-p/4649931#M1094298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks peter,&lt;/P&gt;&lt;P&gt;but i just give PSTST as an example i want to move that fields which r different between qlist &amp;amp; &amp;lt;dyn_in&amp;gt; .&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 06:55:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-corresponding/m-p/4649931#M1094298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T06:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: MOVE-CORRESPONDING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-corresponding/m-p/4649932#M1094299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Anuj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, i know. i used it as an example. by the way, in your program you can determine which fields are not used in the computation. so, you can easily assign those fields into a field symbol and use ito to copy the contents of those fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 07:06:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-corresponding/m-p/4649932#M1094299</guid>
      <dc:creator>peter_ruiz2</dc:creator>
      <dc:date>2008-10-17T07:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: MOVE-CORRESPONDING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-corresponding/m-p/4649933#M1094300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use assigning in Loop statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT &amp;lt;dyn_table_IN&amp;gt; ASSIGNING &amp;lt;WA&amp;gt;.   &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rest is ok, I checked and works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 07:07:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-corresponding/m-p/4649933#M1094300</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-10-17T07:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: MOVE-CORRESPONDING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-corresponding/m-p/4649934#M1094301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Peter ,&lt;/P&gt;&lt;P&gt;you gave me a right directions to achieve my goal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Oct 2008 13:05:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-corresponding/m-p/4649934#M1094301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-19T13:05:14Z</dc:date>
    </item>
  </channel>
</rss>

