<?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: selecting fields from 2 different tables with single select query.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-fields-from-2-different-tables-with-single-select-query/m-p/1026055#M82463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;You can do in ABAP Very well using Joins...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECT a~kunnr&lt;/P&gt;&lt;P&gt;       a~name1&lt;/P&gt;&lt;P&gt;       b~pernr&lt;/P&gt;&lt;P&gt;       INTO TABLE itab&lt;/P&gt;&lt;P&gt;       FROM kna1 AS a&lt;/P&gt;&lt;P&gt;       INNER JOIN knvk AS b&lt;/P&gt;&lt;P&gt;       ON a&lt;SUB&gt;kunnr = b&lt;/SUB&gt;kunnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2005 07:59:18 GMT</pubDate>
    <dc:creator>abdul_hakim</dc:creator>
    <dc:date>2005-11-30T07:59:18Z</dc:date>
    <item>
      <title>selecting fields from 2 different tables with single select query..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-fields-from-2-different-tables-with-single-select-query/m-p/1026053#M82461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi...&lt;/P&gt;&lt;P&gt;can we select fields from two different tables in a single select query... under some where condition for both the tables... &lt;/P&gt;&lt;P&gt;the same thing can be done in sql what about in abap...&lt;/P&gt;&lt;P&gt;thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 07:56:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-fields-from-2-different-tables-with-single-select-query/m-p/1026053#M82461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T07:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: selecting fields from 2 different tables with single select query..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-fields-from-2-different-tables-with-single-select-query/m-p/1026054#M82462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&lt;/P&gt;&lt;P&gt;By using joins we can select feilds from 2 different tables, criteria is the tables must have a common key amontg them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 07:57:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-fields-from-2-different-tables-with-single-select-query/m-p/1026054#M82462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T07:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: selecting fields from 2 different tables with single select query..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-fields-from-2-different-tables-with-single-select-query/m-p/1026055#M82463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;You can do in ABAP Very well using Joins...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECT a~kunnr&lt;/P&gt;&lt;P&gt;       a~name1&lt;/P&gt;&lt;P&gt;       b~pernr&lt;/P&gt;&lt;P&gt;       INTO TABLE itab&lt;/P&gt;&lt;P&gt;       FROM kna1 AS a&lt;/P&gt;&lt;P&gt;       INNER JOIN knvk AS b&lt;/P&gt;&lt;P&gt;       ON a&lt;SUB&gt;kunnr = b&lt;/SUB&gt;kunnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 07:59:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-fields-from-2-different-tables-with-single-select-query/m-p/1026055#M82463</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2005-11-30T07:59:18Z</dc:date>
    </item>
  </channel>
</rss>

