<?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 PROBLEM IN INNER JOIN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/2711156#M628472</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;can i use directly where condition with out using ON  in query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT A&lt;SUB&gt;VBELN A&lt;/SUB&gt;AUDAT B&lt;SUB&gt;KWMENG B&lt;/SUB&gt;ARKTX B&lt;SUB&gt;WERKS B&lt;/SUB&gt;POSNR &lt;/P&gt;&lt;P&gt;               INTO CORRESPONDING FIELDS OF TABLE INT_VBAK&lt;/P&gt;&lt;P&gt;                  FROM VBAK AS A INNER JOIN VBAP AS B &lt;/P&gt;&lt;P&gt;                  WHERE B~VSTEL IN S_VSTEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Aug 2007 05:58:37 GMT</pubDate>
    <dc:creator>laxman_sankhla3</dc:creator>
    <dc:date>2007-08-24T05:58:37Z</dc:date>
    <item>
      <title>PROBLEM IN INNER JOIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/2711156#M628472</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;can i use directly where condition with out using ON  in query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT A&lt;SUB&gt;VBELN A&lt;/SUB&gt;AUDAT B&lt;SUB&gt;KWMENG B&lt;/SUB&gt;ARKTX B&lt;SUB&gt;WERKS B&lt;/SUB&gt;POSNR &lt;/P&gt;&lt;P&gt;               INTO CORRESPONDING FIELDS OF TABLE INT_VBAK&lt;/P&gt;&lt;P&gt;                  FROM VBAK AS A INNER JOIN VBAP AS B &lt;/P&gt;&lt;P&gt;                  WHERE B~VSTEL IN S_VSTEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 05:58:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/2711156#M628472</guid>
      <dc:creator>laxman_sankhla3</dc:creator>
      <dc:date>2007-08-24T05:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN INNER JOIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/2711157#M628473</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;&amp;lt;b&amp;gt;NO&amp;lt;/b&amp;gt;, you cannot, you need to define ON which fields you want to do the JOIN, else ON WHAT CONDTION do you expect the tables to be joined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is to make sure that the tables you are joining are related in some way, otherwise there is no meaning in JOINING tables which are noway related to each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 06:00:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/2711157#M628473</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-08-24T06:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN INNER JOIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/2711158#M628474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT A&lt;SUB&gt;VBELN A&lt;/SUB&gt;AUDAT B&lt;SUB&gt;KWMENG B&lt;/SUB&gt;ARKTX B&lt;SUB&gt;WERKS B&lt;/SUB&gt;POSNR &lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE INT_VBAK&lt;/P&gt;&lt;P&gt;FROM VBAK AS A INNER JOIN VBAP AS B &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;on A&lt;SUB&gt;VBELN = B&lt;/SUB&gt;VBELN&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;WHERE B~VSTEL IN S_VSTEL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 06:00:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/2711158#M628474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T06:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN INNER JOIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/2711159#M628475</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;No you have to specify the On condition, it will be the key to join both the tables.&lt;/P&gt;&lt;P&gt;use the vbeln ( document number ) to join both the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT A&lt;SUB&gt;VBELN A&lt;/SUB&gt;AUDAT B&lt;SUB&gt;KWMENG B&lt;/SUB&gt;ARKTX B&lt;SUB&gt;WERKS B&lt;/SUB&gt;POSNR &lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE INT_VBAK&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 B~VSTEL IN S_VSTEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 06:02:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/2711159#M628475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T06:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN INNER JOIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/2711160#M628476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;never..&lt;/P&gt;&lt;P&gt;there should be atleast one common field so that u can join two table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And u have to write that in ON statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 06:04:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/2711160#M628476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T06:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN INNER JOIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/2711161#M628477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;at least write 1 where statement on which the two table will be joined.the tables both will contain the same field.....after words u can use ur where IN statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 06:04:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/2711161#M628477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T06:04:57Z</dc:date>
    </item>
  </channel>
</rss>

