<?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: Select statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871849#M366994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u'll hav to use two select statements for fetching data but da results can b stored in 1 internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Feb 2007 11:25:35 GMT</pubDate>
    <dc:creator>former_member188827</dc:creator>
    <dc:date>2007-02-01T11:25:35Z</dc:date>
    <item>
      <title>Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871845#M366990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to read data from 2 tables. There is no relation between the tables. One is user-defined table. I am trying with the inner joins but getting an error. How can I write the Select statement for these two tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Rajendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 11:21:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871845#M366990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T11:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871846#M366991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if there is no link then you have to fetch the data in two select staement in two itab but after that how can you process and what is the requirement i dont know.&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;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 11:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871846#M366991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T11:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871847#M366992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajendra Prasad,&lt;/P&gt;&lt;P&gt;   If there is no relation between the two tables, it is not possible to join them(Or even if it is possible, it doesn't make any sense ..does it?).&lt;/P&gt;&lt;P&gt;There must be atleast one common field between the two tables, then only you can join them.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 11:23:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871847#M366992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T11:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871848#M366993</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;look for a third table which is having the common field &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you wish, send the tables i will try to find the relation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 11:23:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871848#M366993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T11:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871849#M366994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u'll hav to use two select statements for fetching data but da results can b stored in 1 internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 11:25:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871849#M366994</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2007-02-01T11:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871850#M366995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is no any common field between the two tables you can not write joins. In that case you will have to select data using two select statements. For more details please let me know the fields in two tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 11:25:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871850#M366995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T11:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871851#M366996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;U can select using joins when there is a common primary key between them, only then the data will be correct and consistent,,.,,... but it depends on the requirement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As u r saying that thers no relation....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First select one table data into an internal table ..say itab1...&lt;/P&gt;&lt;P&gt;Then use  FOR ALL ENTRIES  to select data from the other table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a good approach...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHeers&lt;/P&gt;&lt;P&gt;Rajiv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 11:26:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871851#M366996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T11:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871852#M366997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for fetching data from 2 tables u need to have some sort of field which is similar in both the tables. without this the reporting is incomplete. specify the tables which ur using and if standard table no problem but if it is a custom table, specify even the fields and data elements been used so that the link can be specified.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 11:27:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871852#M366997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T11:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871853#M366998</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;use two different select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 11:50:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1871853#M366998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T11:50:29Z</dc:date>
    </item>
  </channel>
</rss>

