<?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: Error reading InfoProvider for CDS View in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-reading-infoprovider-for-cds-view/m-p/12251796#M1986245</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try like this - &lt;/P&gt;&lt;P&gt;Remove annotation  @Analytics.dataCategory: #CUBE  and &lt;/P&gt;&lt;P&gt;Make  @VDM.viewType:#  as Consumption and see the results.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jul 2020 10:57:47 GMT</pubDate>
    <dc:creator>former_member199945</dc:creator>
    <dc:date>2020-07-06T10:57:47Z</dc:date>
    <item>
      <title>Error reading InfoProvider for CDS View</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-reading-infoprovider-for-cds-view/m-p/12251795#M1986244</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I'm currently trying to handle a "Error reading InfoProvider for CDS View" error. I've already tried multiple solutions that I found on this forum, but so far nothing has helped me resolve this error.&lt;/P&gt;
  &lt;P&gt;I've built an analytical query on top of various basic CDS views, which work perfectly fine. However, when I try to build my query, I always get the error "Error reading InfoProvider for CDS View" in Eclipse and the query is not known when I check in the backend.&lt;/P&gt;
  &lt;P&gt;This is my query:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;@AbapCatalog.sqlViewName: 'ZTEST'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'AnalyticalTestQuery'
@VDM.viewType: #COMPOSITE
@Analytics.query: true
@Analytics.dataCategory: #CUBE
@Analytics.dataExtraction.enabled: true
@OData.publish: true


define view Z_TEST
  with parameters
    @EndUserText.label: 'Billing Type'
    p_fkart : fkart, 
    @EndUserText.label: 'Sold-To Party'
    p_kunag : kunag,
    @Environment.systemField: #SYSTEM_DATE
    @EndUserText.label: 'Billing Date'
    p_date  : fkdat,
    @EndUserText.label: 'Material'
    p_matnr : matnr,
    @EndUserText.label: 'Item Category'
    p_pstyv : pstyv
  as select from Z_C_BASIC_TEST
{
  key BillingDocument,
  key BillingDocumentItem,
      BillingDocumentDate,
      Material,
      BillingDocumentItemText,
      OrderPrice,
      SoldToParty,
      SoldToPartyName,
      CurrencyCode,
      BillingQuantity,
      BillingQuantityUnit,
      QuantityCredit,
      QuantityUnit,
      SumQuantity,
      Difference
}
where BillingDocumentType       = $parameters.p_fkart
  and SoldToParty               = $parameters.p_kunag
  and BillingDocumentDate       = $parameters.p_date 
  and Material                  = $parameters.p_matnr
  and SalesDocumentItemCategory = $parameters.p_pstyv;
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;The fields OrderPrice, SumQuantity and Difference are calculated with different formulas in the underlying CDS view and are marked with @DefaultAggregation: #FORMULA.&lt;/P&gt;
  &lt;P&gt;The API release state of the CDS view is also set to RELEASED.&lt;/P&gt;
  &lt;P&gt;Could somebody please help me figure this out? I think I've tried everything, I found online..&lt;/P&gt;
  &lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 09:59:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-reading-infoprovider-for-cds-view/m-p/12251795#M1986244</guid>
      <dc:creator>former_member605141</dc:creator>
      <dc:date>2020-07-06T09:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error reading InfoProvider for CDS View</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-reading-infoprovider-for-cds-view/m-p/12251796#M1986245</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try like this - &lt;/P&gt;&lt;P&gt;Remove annotation  @Analytics.dataCategory: #CUBE  and &lt;/P&gt;&lt;P&gt;Make  @VDM.viewType:#  as Consumption and see the results.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 10:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-reading-infoprovider-for-cds-view/m-p/12251796#M1986245</guid>
      <dc:creator>former_member199945</dc:creator>
      <dc:date>2020-07-06T10:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error reading InfoProvider for CDS View</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-reading-infoprovider-for-cds-view/m-p/12251797#M1986246</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Analytical query view must be create on top of CUBE view. but not in the same level.&lt;/P&gt;&lt;P&gt;

that means annotations should be like&lt;/P&gt;&lt;P&gt; 
 Z_TEST (Query view) : &lt;/P&gt;&lt;P&gt;@Analytics.query: true &lt;/P&gt;&lt;P&gt;  Z_C_BASIC_TEST (CUBE View &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;&lt;P&gt;

@VDM.viewType: #COMPOSITE &lt;/P&gt;&lt;P&gt;@Analytics.dataCategory: #CUBE&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Kind Regards,&lt;/P&gt;&lt;P&gt;Bhargava&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 12:29:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-reading-infoprovider-for-cds-view/m-p/12251797#M1986246</guid>
      <dc:creator>BhargavaTanguturi</dc:creator>
      <dc:date>2020-07-06T12:29:40Z</dc:date>
    </item>
  </channel>
</rss>

