<?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 Join between two tables with the same column name in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-between-two-tables-with-the-same-column-name/m-p/11846008#M1957810</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 want to use the JOIN statement to select the fields VBAP-NETWR and VBAK-NETWR from tables VBAP and VBAK.&lt;/P&gt;&lt;P&gt;I can achieve this by using AS and &lt;SPAN style="font-size: 13.3333px;"&gt;(VBAP~NETWR and VBAK~NETWR) but the problem is in the table that is going to hold the results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in: INTO CORRESPONDING FIELDS OF TABLE itab&lt;/P&gt;&lt;P&gt;itab can't have the field NETWR more than once !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, how can I solve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advace.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2016 21:26:31 GMT</pubDate>
    <dc:creator>former_member355261</dc:creator>
    <dc:date>2016-07-20T21:26:31Z</dc:date>
    <item>
      <title>Join between two tables with the same column name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-between-two-tables-with-the-same-column-name/m-p/11846008#M1957810</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 want to use the JOIN statement to select the fields VBAP-NETWR and VBAK-NETWR from tables VBAP and VBAK.&lt;/P&gt;&lt;P&gt;I can achieve this by using AS and &lt;SPAN style="font-size: 13.3333px;"&gt;(VBAP~NETWR and VBAK~NETWR) but the problem is in the table that is going to hold the results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in: INTO CORRESPONDING FIELDS OF TABLE itab&lt;/P&gt;&lt;P&gt;itab can't have the field NETWR more than once !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, how can I solve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advace.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 21:26:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-between-two-tables-with-the-same-column-name/m-p/11846008#M1957810</guid>
      <dc:creator>former_member355261</dc:creator>
      <dc:date>2016-07-20T21:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Join between two tables with the same column name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-between-two-tables-with-the-same-column-name/m-p/11846009#M1957811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may simply name them differently in the itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: for instance name them netwr1 and netwr2, and in the SELECT do: select VBAP~NETWR as netwr1, VBAK~NETWR as netwr2 ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 21:37:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-between-two-tables-with-the-same-column-name/m-p/11846009#M1957811</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-07-20T21:37:12Z</dc:date>
    </item>
  </channel>
</rss>

