<?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: Combining two internal tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1599957#M269407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for ur code , its really helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BALU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Oct 2006 06:55:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-18T06:55:47Z</dc:date>
    <item>
      <title>Combining two internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1599953#M269403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi any body plz send me the code for combining two internal tables( ITAB_vbap and ITAB_vbkd) and filling the final data to final one internal table(ITAB_final)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 06:40:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1599953#M269403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T06:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1599954#M269404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sort itab_vbap by vbeln posnr.&lt;/P&gt;&lt;P&gt;sort itab_vbkd by vbeln posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab_vbap into wa_vbap.&lt;/P&gt;&lt;P&gt;read table itab_vbkd into wa_vbkd with key vbeln = wa_vbap-vbeln posnr = wa_vbap-posnr binary search.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;move corresponding wa_vbap to wa_final.&lt;/P&gt;&lt;P&gt;move corresponding wa_vbkd to wa_final.&lt;/P&gt;&lt;P&gt;append wa_final to itab_final.&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;For move corresponding statement the name of the fields should match in both the work areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 06:46:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1599954#M269404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T06:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1599955#M269405</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;Loop at itab1 into wa1.&lt;/P&gt;&lt;P&gt;read table itab2 into wa2 with key f1 = wa1-f1 &lt;/P&gt;&lt;P&gt;f2 = wa1-fa2.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;move-corresponding wa1 to wa3.&lt;/P&gt;&lt;P&gt;move-corresponding wa2 to wa3.&lt;/P&gt;&lt;P&gt;append wa3 to itab3.&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;Regards,&lt;/P&gt;&lt;P&gt;Laxmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 06:51:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1599955#M269405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T06:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1599956#M269406</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;loop at itab_vbap into wa_vbap.&lt;/P&gt;&lt;P&gt;move-corresponding wa_vbap to wa_final.&lt;/P&gt;&lt;P&gt;loop at itab_vbkd into wa_vbkd where vbeln = wa_vbap and posnr = wa_posnr.&lt;/P&gt;&lt;P&gt;move-corresponding wa_vbkd to wa_final.&lt;/P&gt;&lt;P&gt;append wa_final to itab_final.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 06:55:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1599956#M269406</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-10-18T06:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1599957#M269407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for ur code , its really helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BALU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 06:55:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1599957#M269407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T06:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1599958#M269408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gud code thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 06:56:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1599958#M269408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T06:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1599959#M269409</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;If tables are of the same type, try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;INSERT LINES OF itab1 INTO TABLE itab3.
INSERT LINES OF itab2 INTO TABLE itab3.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joris Bots&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 07:03:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1599959#M269409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T07:03:56Z</dc:date>
    </item>
  </channel>
</rss>

