<?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 query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475059#M1059807</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select bseg&lt;SUB&gt;bukrs......bseg&lt;/SUB&gt;bzdat &amp;lt;tablename&amp;gt;&lt;SUB&gt;waers &amp;lt;tablename&amp;gt;&lt;/SUB&gt;haew2 into table itab from bseg inner join table &amp;lt;tablename&amp;gt; on condition &lt;/P&gt;&lt;P&gt;where input condition also u need to mention&lt;/P&gt;&lt;P&gt;hope this will help u&lt;/P&gt;&lt;P&gt;but the thing is both table should have a common field with same domain check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and u should now the table name&lt;/P&gt;&lt;P&gt; here  all &amp;lt;tablename&amp;gt; are same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Sep 2008 12:20:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-08T12:20:52Z</dc:date>
    <item>
      <title>Select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475053#M1059801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi in my requirement i want to get the o/p which contains the fields bukrs,belnr,gjahr,koart,shkzg,anln2,bzdat and also waers and hwae2.All the fields are present in bseg table except the 2 fields waers and hwae2.For the field dmbtr the ref field is waers and for the field BDIF2 the ref field is hwae2.How to write the select query to fetch these 2 fields.Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 11:28:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475053#M1059801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T11:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475054#M1059802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls explain it again..&lt;/P&gt;&lt;P&gt;will try to help u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 11:54:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475054#M1059802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T11:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475055#M1059803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi in my o/p i want to fetch waers and hwae2 fields along with some other fields  from bseg table.The fields waere and hwae2 is not present in bseg table but when you look in the bseg table these are the fields DMBTR and BDIF2 which contains waers and hwae2 as ref field(inorder to see the ref field you can double click on the fields dmbtr and bdif2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 11:59:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475055#M1059803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T11:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475056#M1059804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what are the selection parameters so i can add it in the where clause.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 12:01:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475056#M1059804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T12:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475057#M1059805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    Try to look at this message it might help you, it gives you the alternate tables to fetch all the fields you specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6035530"&gt;&lt;/A&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;Bala Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 12:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475057#M1059805</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2008-09-08T12:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475058#M1059806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the where codn I have to put the report date which I have fetched.Can you please tell the select query part excluding the where codn.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 12:10:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475058#M1059806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T12:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475059#M1059807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select bseg&lt;SUB&gt;bukrs......bseg&lt;/SUB&gt;bzdat &amp;lt;tablename&amp;gt;&lt;SUB&gt;waers &amp;lt;tablename&amp;gt;&lt;/SUB&gt;haew2 into table itab from bseg inner join table &amp;lt;tablename&amp;gt; on condition &lt;/P&gt;&lt;P&gt;where input condition also u need to mention&lt;/P&gt;&lt;P&gt;hope this will help u&lt;/P&gt;&lt;P&gt;but the thing is both table should have a common field with same domain check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and u should now the table name&lt;/P&gt;&lt;P&gt; here  all &amp;lt;tablename&amp;gt; are same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 12:20:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475059#M1059807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T12:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475060#M1059808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; select bseg&lt;SUB&gt;bukrs......bseg&lt;/SUB&gt;bzdat &amp;lt;tablename&amp;gt;&lt;SUB&gt;waers &amp;lt;tablename&amp;gt;&lt;/SUB&gt;haew2 into table itab from bseg inner join table &amp;lt;tablename&amp;gt; on condition &lt;/P&gt;&lt;P&gt;&amp;gt; where input condition also u need to mention&lt;/P&gt;&lt;P&gt;&amp;gt; hope this will help u&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately it won't... &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;BSEG is cluster table, which means you cannot use in JOIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;waers and hwae2 will come from BKPF table: you either select from BSEG and BKPF in two separate steps (and merge the data later into one internal table) or instead of BSEG you can join BSIS/BSAS, BSID/BSAD, BSIK/BSAK (depending on your exact needs) with BKPF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 12:23:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475060#M1059808</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-09-08T12:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475061#M1059809</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;Refer this link , Gautham Chakraverthi clearly given the select statements how to fetch waers and hwae2 from different tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6035530"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 12:31:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/4475061#M1059809</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2008-09-08T12:31:22Z</dc:date>
    </item>
  </channel>
</rss>

