<?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: Cannot Use Table BSIK in CTE Query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-table-bsik-in-cte-query/m-p/12344172#M1992337</link>
    <description>&lt;P&gt;See there: &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenddic_replacement_objects.htm"&gt;Replacement Objects&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In comment of &lt;A href="https://blogs.sap.com/2016/07/11/appending-tables-in-s4hana-easy-mbew/" target="test_blank"&gt;https://blogs.sap.com/2016/07/11/appending-tables-in-s4hana-easy-mbew/&lt;/A&gt;, Horst says "Using Extras -&amp;gt; Proxy Object in SE11 you can find out whether a CDS view is replacing a database table. If this is the case, Open SQL accesses the CDS view instead of the table itself."&lt;/P&gt;</description>
    <pubDate>Sun, 21 Feb 2021 07:48:09 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2021-02-21T07:48:09Z</dc:date>
    <item>
      <title>Cannot Use Table BSIK in CTE Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-table-bsik-in-cte-query/m-p/12344171#M1992336</link>
      <description>&lt;P&gt;I need to query from table BSIK / BSAK and use it in my CTE Query.&lt;/P&gt;
  &lt;P&gt;But when I use it, it shows an error "Use the associated entity BSIK_VIEW".&lt;/P&gt;
  &lt;P&gt;Below is my query just for example (simplified).&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;  with +inv as
  (
  select bukrs, belnr, gjhar from bsik
  ) 
  select * from +inv into table @data(lt_test).

&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;so what is the difference between BSIK and BSIK_VIEW, and why I cannot use table BSIK in my CTE Query ?&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 03:51:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-table-bsik-in-cte-query/m-p/12344171#M1992336</guid>
      <dc:creator>immanuels</dc:creator>
      <dc:date>2021-02-21T03:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Use Table BSIK in CTE Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-table-bsik-in-cte-query/m-p/12344172#M1992337</link>
      <description>&lt;P&gt;See there: &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenddic_replacement_objects.htm"&gt;Replacement Objects&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In comment of &lt;A href="https://blogs.sap.com/2016/07/11/appending-tables-in-s4hana-easy-mbew/" target="test_blank"&gt;https://blogs.sap.com/2016/07/11/appending-tables-in-s4hana-easy-mbew/&lt;/A&gt;, Horst says "Using Extras -&amp;gt; Proxy Object in SE11 you can find out whether a CDS view is replacing a database table. If this is the case, Open SQL accesses the CDS view instead of the table itself."&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 07:48:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-table-bsik-in-cte-query/m-p/12344172#M1992337</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-02-21T07:48:09Z</dc:date>
    </item>
  </channel>
</rss>

