<?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/1810139#M347386</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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Dec 2006 11:54:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-29T11:54:25Z</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/1810137#M347384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you combine two internal tables(not by append statement)...if any one knws please let me know..thanks in advance..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2006 11:46:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1810137#M347384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-29T11:46:59Z</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/1810138#M347385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;without append statement, its not possible to combine two internal tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2006 11:48:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1810138#M347385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-29T11:48:57Z</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/1810139#M347386</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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2006 11:54:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1810139#M347386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-29T11:54:25Z</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/1810140#M347387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really thanks for the effort taken for me...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2006 11:59:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combining-two-internal-tables/m-p/1810140#M347387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-29T11:59:20Z</dc:date>
    </item>
  </channel>
</rss>

