<?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: SAP Query Creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-query-creation/m-p/4961947#M1156815</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 am trying a view on A018 for the purpose of datasource creation . Pl post how you resolved it. I need the data in that table to be pushed to BI..&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;Vinoth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jan 2012 13:15:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-01-17T13:15:23Z</dc:date>
    <item>
      <title>SAP Query Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-query-creation/m-p/4961944#M1156812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a SAP query in the system using the tables KONP,MBEW &amp;amp; A018 i could join tables KONP &amp;amp; MBEW but i am not able to add the table A018 and a error message is displayed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error Message:&lt;/P&gt;&lt;P&gt;Table A018 cannot be used in a join&lt;/P&gt;&lt;P&gt;Message no. AQ501&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diagnosis&lt;/P&gt;&lt;P&gt;1. You cannot read the selected table with SELECT statements (because, for example, it is a structure without a database table). Therefore, this table cannot be read within a table join either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The chosen table is a pool or cluster table. These tables may not be used in a table join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me a alternative to join this table to MBEW &amp;amp; KONP.&lt;/P&gt;&lt;P&gt;I want this Join Conditions:&lt;/P&gt;&lt;P&gt;MBEW-MATNR = A018-MATNR &lt;/P&gt;&lt;P&gt;A018-KAPPL = KONP-KAPPL	&lt;/P&gt;&lt;P&gt;A018-KSCHL = KONP-KSCHL	&lt;/P&gt;&lt;P&gt;A018-KNUMH = KONP-KNUMH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Andrew J on Dec 18, 2008 2:49 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 03:11:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-query-creation/m-p/4961944#M1156812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T03:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Query Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-query-creation/m-p/4961945#M1156813</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  &lt;STRONG&gt;FOR ALL ENTRIES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXAMPLE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Exporting all flight data for a specified departure city. The relevant airlines and flight numbers are first put in an internal table entry_tab, which is evaluated in the WHERE condition of the subsquent SELECT statement. 
PARAMETERS p_city TYPE spfli-cityfrom. 

TYPES: BEGIN OF entry_tab_type, 
         carrid TYPE spfli-carrid, 
         connid TYPE spfli-connid, 
       END OF entry_tab_type. 

DATA: entry_tab   TYPE TABLE OF entry_tab_type, 
      sflight_tab TYPE SORTED TABLE OF sflight 
                       WITH UNIQUE KEY carrid connid fldate. 

SELECT carrid connid 
       FROM spfli 
       INTO CORRESPONDING FIELDS OF TABLE entry_tab 
       WHERE cityfrom = p_city. 

SELECT carrid connid fldate 
       FROM sflight 
       INTO CORRESPONDING FIELDS OF TABLE sflight_tab 
       FOR ALL ENTRIES IN entry_tab 
       WHERE carrid = entry_tab-carrid AND 
             connid = entry_tab-connid.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;RAHUL&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 05:53:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-query-creation/m-p/4961945#M1156813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T05:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Query Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-query-creation/m-p/4961946#M1156814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the delay in closing the thread.Solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 04:35:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-query-creation/m-p/4961946#M1156814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-14T04:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Query Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-query-creation/m-p/4961947#M1156815</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 am trying a view on A018 for the purpose of datasource creation . Pl post how you resolved it. I need the data in that table to be pushed to BI..&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;Vinoth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 13:15:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-query-creation/m-p/4961947#M1156815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-17T13:15:23Z</dc:date>
    </item>
  </channel>
</rss>

