<?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: Problem in Move-Corresponding in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-move-corresponding/m-p/3908237#M937196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this also. move the refresh outof loop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REFRESH LT_LIPOV.  
LOOP AT LT_LIPOV1. "move records back to LT_LIPOV for further verification
MOVE-CORRESPONDING LT_LIPOV1 TO LT_LIPOV.
APPEND LT_LIPOV.
clear lt_lipov.
ENDLOOP&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 May 2008 06:58:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-27T06:58:31Z</dc:date>
    <item>
      <title>Problem in Move-Corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-move-corresponding/m-p/3908233#M937192</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;Move-corresponding is not working in the following coding.&lt;/P&gt;&lt;P&gt;after move lt_lipov-komau  value is disappear. Rest of the fields OK. Pls help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM get_vbrp_data.&lt;/P&gt;&lt;P&gt;  SELECT * INTO CORRESPONDING FIELDS OF TABLE lt_vbrp&lt;/P&gt;&lt;P&gt;  FROM vbrp  WHERE vbeln IN s_invno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                               " get_vbrp_data&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;FORM get_asn_data_invno.&lt;/P&gt;&lt;P&gt;  SORT lt_vbrp BY vgbel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT lt_vbrp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    input         = lt_vbrp-vgbel&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   output        = lt_vbrp-vgbel&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Read in ASN&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT  vbeln  verur bolnr erdat ernam&lt;/P&gt;&lt;P&gt;  FROM likp INTO TABLE it_likp&lt;/P&gt;&lt;P&gt;    WHERE bolnr = lt_vbrp-vgbel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF it_likp[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;READ TABLE it_likp WITH KEY bolnr = lt_vbrp-vgbel.&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;lt_lipov-vbeln    = it_likp-vbeln.&lt;/P&gt;&lt;P&gt;lt_lipov-bolnr    = it_likp-bolnr.&lt;/P&gt;&lt;P&gt;lt_lipov-lddat    = it_likp-erdat.&lt;/P&gt;&lt;P&gt;lt_lipov-ernam    = it_likp-ernam.&lt;/P&gt;&lt;P&gt;ELSE.                                           "No ASN records found for the invoice&lt;/P&gt;&lt;P&gt;CLEAR LT_REP-VBELN.&lt;/P&gt;&lt;P&gt;CLEAR LT_REP-LFDAT.&lt;/P&gt;&lt;P&gt;CLEAR LT_REP-VERUR.&lt;/P&gt;&lt;P&gt;CLEAR LT_REP-BOLNR.&lt;/P&gt;&lt;P&gt;LT_REP-KOMAU = IT_LIPS-KOMAU.             "Inv no&lt;/P&gt;&lt;P&gt;LV_MESSAGE = TEXT-504.&lt;/P&gt;&lt;P&gt;PERFORM CREATE_REPORT_RECORD_LIN01.&lt;/P&gt;&lt;P&gt;LT_REP-LINE_COLOUR = 'C610'.  " red Intensified&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;lt_lipov-komau = lt_vbrp-vbeln.&lt;/P&gt;&lt;P&gt;APPEND lt_lipov.&lt;/P&gt;&lt;P&gt;CLEAR lt_lipov.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&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;LOOP AT lt_lipov.&lt;/P&gt;&lt;P&gt; SELECT * FROM lips INTO&lt;/P&gt;&lt;P&gt;CORRESPONDING FIELDS OF TABLE  it_lips&lt;/P&gt;&lt;P&gt;            WHERE vbeln = lt_lipov-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF it_lips[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE it_lips WITH KEY vbeln = lt_lipov-vbeln.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt; lt_lipov1-vbeln    = it_lips-vbeln.&lt;/P&gt;&lt;P&gt;      lt_lipov1-posnr    = it_lips-posnr.&lt;/P&gt;&lt;P&gt;      lt_lipov1-matnr    = it_lips-matnr.&lt;/P&gt;&lt;P&gt;      lt_lipov1-lddat    = it_lips-erdat.&lt;/P&gt;&lt;P&gt;      lt_lipov1-lfimg    = it_lips-lfimg.&lt;/P&gt;&lt;P&gt;      lt_lipov1-ernam    = it_lips-ernam.&lt;/P&gt;&lt;P&gt;      lt_lipov1-werks    = it_lips-werks.&lt;/P&gt;&lt;P&gt;      lt_lipov1-vgbel    = it_lips-vgbel.&lt;/P&gt;&lt;P&gt;      lt_lipov1-vgpos    = it_lips-vgpos.&lt;/P&gt;&lt;P&gt;      lt_lipov1-bolnr    = lt_lipov-bolnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; APPEND lt_lipov1.&lt;/P&gt;&lt;P&gt; CLEAR  lt_lipov1.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&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;  LOOP AT LT_LIPOV1.        "move records back to LT_LIPOV for further verification&lt;/P&gt;&lt;P&gt;    REFRESH LT_LIPOV.&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;MOVE-CORRESPONDING LT_LIPOV1 TO LT_LIPOV.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    APPEND LT_LIPOV.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 06:54:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-move-corresponding/m-p/3908233#M937192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T06:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Move-Corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-move-corresponding/m-p/3908234#M937193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT LT_LIPOV1. "move records back to LT_LIPOV for further verification
REFRESH LT_LIPOV.  "this is wrong. use clear lt_lipov instead
MOVE-CORRESPONDING LT_LIPOV1 TO LT_LIPOV.
APPEND LT_LIPOV.
ENDLOOP&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 06:57:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-move-corresponding/m-p/3908234#M937193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T06:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Move-Corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-move-corresponding/m-p/3908235#M937194</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 overwrite it with space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: dkomau like lt_lipov-komau.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT LT_LIPOV1. "move records back to LT_LIPOV for further verification&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dkomau = lt_lipov-komau.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH LT_LIPOV.&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING LT_LIPOV1 TO LT_LIPOV.&lt;/P&gt;&lt;P&gt;lt-komau = dkomau.&lt;/P&gt;&lt;P&gt;clear dkomau.&lt;/P&gt;&lt;P&gt;APPEND LT_LIPOV.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nicole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 06:57:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-move-corresponding/m-p/3908235#M937194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T06:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Move-Corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-move-corresponding/m-p/3908236#M937195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to copy of a internal table to another table of same type the you do not need loop and move. Use the folloeing : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 LT_LIPOV[]  =  LT_LIPOV1[].
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still want to follow your approach then use the following: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CLEAR : LT_LIPOV[].  
LOOP AT LT_LIPOV1. 
   MOVE-CORRESPONDING LT_LIPOV1 TO LT_LIPOV.
   APPEND LT_LIPOV.
   CLEAR :  LT_LIPOV,  LT_LIPOV1.
ENDLOOP
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 06:57:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-move-corresponding/m-p/3908236#M937195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T06:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Move-Corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-move-corresponding/m-p/3908237#M937196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this also. move the refresh outof loop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REFRESH LT_LIPOV.  
LOOP AT LT_LIPOV1. "move records back to LT_LIPOV for further verification
MOVE-CORRESPONDING LT_LIPOV1 TO LT_LIPOV.
APPEND LT_LIPOV.
clear lt_lipov.
ENDLOOP&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 06:58:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-move-corresponding/m-p/3908237#M937196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T06:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Move-Corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-move-corresponding/m-p/3908238#M937197</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;Don't give refresh inside the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT LT_LIPOV1. "move records back to LT_LIPOV for further verification&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING LT_LIPOV1 TO LT_LIPOV.&lt;/P&gt;&lt;P&gt;APPEND LT_LIPOV.&lt;/P&gt;&lt;P&gt;CLEAR LT_LIPOV.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points, if it is useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 06:58:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-move-corresponding/m-p/3908238#M937197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T06:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Move-Corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-move-corresponding/m-p/3908239#M937198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If both the internal tables are of the same structure then no need of loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just code it like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH LT_LIPOV.&lt;/P&gt;&lt;P&gt;LT_LIPOV[] = LT_LIPOV1[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of :&lt;/P&gt;&lt;P&gt;LOOP AT LT_LIPOV1. "move records back to LT_LIPOV for further verification&lt;/P&gt;&lt;P&gt;REFRESH LT_LIPOV.&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING LT_LIPOV1 TO LT_LIPOV.&lt;/P&gt;&lt;P&gt;APPEND LT_LIPOV.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 06:59:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-move-corresponding/m-p/3908239#M937198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T06:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Move-Corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-move-corresponding/m-p/3908240#M937199</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;I tried all the solutions. But still not working. Anyone pls help me out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 07:12:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-move-corresponding/m-p/3908240#M937199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T07:12:33Z</dc:date>
    </item>
  </channel>
</rss>

