<?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: moving data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data/m-p/3025264#M715269</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;U can use join and move the values to another internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vasudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Oct 2007 04:01:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-29T04:01:17Z</dc:date>
    <item>
      <title>moving data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data/m-p/3025263#M715268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I have some data in one internal table say itab.&lt;/P&gt;&lt;P&gt;Ex: in itab i am having ebeln and ihrez fields data from EKKO.&lt;/P&gt;&lt;P&gt;And in another internal table jtab i am having ebeln,ebelp,werks data from ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to move ebeln,ihrez,werks into another internal table to ktab.&lt;/P&gt;&lt;P&gt;What is the efficient way for doing it.The ebeln from ekko may have mutiple items in ekpo.&lt;/P&gt;&lt;P&gt;&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, 29 Oct 2007 03:51:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data/m-p/3025263#M715268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T03:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: moving data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data/m-p/3025264#M715269</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;U can use join and move the values to another internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vasudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 04:01:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data/m-p/3025264#M715269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T04:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: moving data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data/m-p/3025265#M715270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;itab -&amp;gt;ebeln and ihrez &lt;/P&gt;&lt;P&gt;jtab-&amp;gt;ebeln,ebelp,werks &lt;/P&gt;&lt;P&gt; define one extra field in jitab with ihrez                 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Loop at jitab.&lt;/P&gt;&lt;P&gt;Read table itab with key ebeln = jitab-ebeln.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;move itab-ihrez to jitab-ihrez.&lt;/P&gt;&lt;P&gt;modify jitab.&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;now you will get all in jitab no need to go for new table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If still you want to go for kitab then check below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at jitab.&lt;/P&gt;&lt;P&gt;move jitab-ebeln to kitab-ebeln&lt;/P&gt;&lt;P&gt;move jitab-werks to kitab-werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read table itab with key ebeln = jitab-ebeln.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;move itab-ihrez to kitab-ihrez.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;Append kitab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will get all data in kitab&lt;/P&gt;&lt;P&gt;Rewards if useful...........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Minal Nampalliwar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 04:06:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data/m-p/3025265#M715270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T04:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: moving data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data/m-p/3025266#M715271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can do it many ways.....&lt;/P&gt;&lt;P&gt;for ex:&lt;/P&gt;&lt;P&gt;DATA:wk_ihrez type EKKO-ihrez.&lt;/P&gt;&lt;P&gt;sort jtab by ebeln ascending.&lt;/P&gt;&lt;P&gt;LOOp at jtab.&lt;/P&gt;&lt;P&gt;at new ebeln.&lt;/P&gt;&lt;P&gt;read table itab into wa_itab with key ebeln = jtab-ebeln binary search.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;wk_ihrez = wa_itab-ihrez.&lt;/P&gt;&lt;P&gt;clear wa_itab.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;move:wk_ihrez to ktab-ihrez.&lt;/P&gt;&lt;P&gt;move corresponding jtab to ktab.&lt;/P&gt;&lt;P&gt;append ktab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 04:10:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data/m-p/3025266#M715271</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2007-10-29T04:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: moving data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data/m-p/3025267#M715272</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&lt;/P&gt;&lt;P&gt;itab --&amp;gt;ebeln ihrez.&lt;/P&gt;&lt;P&gt;Jtab --&amp;gt; ebeln,ebelp,werks&lt;/P&gt;&lt;P&gt;Ktab --&amp;gt; ebeln, ihrez,werks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;Loop at jtab where ebeln = itab-ebeln.&lt;/P&gt;&lt;P&gt;Move itab-ebeln to ktab-ebeln.&lt;/P&gt;&lt;P&gt;Move itab-iherz  to ktab-ihrez.&lt;/P&gt;&lt;P&gt;Move jtab-werks to ktab-werks.&lt;/P&gt;&lt;P&gt;Append ktab.&lt;/P&gt;&lt;P&gt;Endloop.&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;Ruthra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sundaresan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sundaresan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 04:13:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data/m-p/3025267#M715272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T04:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: moving data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data/m-p/3025268#M715273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rewards points if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 04:19:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-data/m-p/3025268#M715273</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2007-10-29T04:19:06Z</dc:date>
    </item>
  </channel>
</rss>

