<?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: update internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-internal-table/m-p/6627578#M1441392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a [SELECT - join|http://help.sap.com/abapdocu_70/en/ABAPSELECT_JOIN.htm], the choice between JOIN or two SELECT (second via [FOR ALL ENTRIES|http://help.sap.com/abapdocu_70/en/ABENWHERE_LOGEXP_ITAB.htm] or[ WHERE|http://help.sap.com/abapdocu_70/en/ABAPWHERE.htm] option) depends on factor like volume of data and selection criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Feb 2010 08:40:40 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2010-02-18T08:40:40Z</dc:date>
    <item>
      <title>update internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-internal-table/m-p/6627577#M1441391</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 have an internal table with structure as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MANDT&lt;/P&gt;&lt;P&gt;KDMAT&lt;/P&gt;&lt;P&gt;VBELN&lt;/P&gt;&lt;P&gt;POSNR&lt;/P&gt;&lt;P&gt;VBTYP&lt;/P&gt;&lt;P&gt;CHARG&lt;/P&gt;&lt;P&gt;ERDAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to fill this table from 2 different database tables:&lt;/P&gt;&lt;P&gt;VBAK: VBELN, VBTYP, ERDAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBAP: KDMAT, POSNR, CHARG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I have 2 itabs for VBAK and VBAP. And fill the final itab looping thru VBAK and VBAP itabs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the best way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sriram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 08:28:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-internal-table/m-p/6627577#M1441391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-18T08:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: update internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-internal-table/m-p/6627578#M1441392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a [SELECT - join|http://help.sap.com/abapdocu_70/en/ABAPSELECT_JOIN.htm], the choice between JOIN or two SELECT (second via [FOR ALL ENTRIES|http://help.sap.com/abapdocu_70/en/ABENWHERE_LOGEXP_ITAB.htm] or[ WHERE|http://help.sap.com/abapdocu_70/en/ABAPWHERE.htm] option) depends on factor like volume of data and selection criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 08:40:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-internal-table/m-p/6627578#M1441392</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-02-18T08:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: update internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-internal-table/m-p/6627579#M1441393</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 can use Join statement to fetch data from different DB table at once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select A&lt;SUB&gt;VBELN A&lt;/SUB&gt;VBTYP  A&lt;SUB&gt;ERDAT B&lt;/SUB&gt;KDMAT B&lt;SUB&gt;POSNR B&lt;/SUB&gt;CHARG&lt;/P&gt;&lt;P&gt;into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;from VBAK as A inner join VBAP as B&lt;/P&gt;&lt;P&gt;ON A&lt;SUB&gt;vbeln = B&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;Where &amp;lt;condition&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;N3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 10:05:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-internal-table/m-p/6627579#M1441393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-18T10:05:44Z</dc:date>
    </item>
  </channel>
</rss>

