Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
AndreaUS
Product and Topic Expert
Product and Topic Expert
CDS analytical projection views are a new type of CDS projection view, available since SAP BTP ABAP Environment 2111. They are designed for modelling analytical queries within a CDS data model and they improve on the previous version of CDS Analytical Queries. Read this blog post to learn about the advantages and usage of CDS analytical projection views.

Contents:



  • Motivation and Advantages

  • Architecture Overview

  • The Analytical Data Model

  • Syntax of a CDS Analytical Projection View


Motivation and Advantages


CDS analytical projection views improve development efficiency when designing analytical queries within a CDS data model. They offer several advantages over the previous version of CDS Analytical Queries:

  • An analytical projection view is a transient CDS entity. That means that only a runtime object on the ABAP server is generated. No SQL view is created on the database. Therefore, an analytical projection view can be used only by the analytical runtime. An analytical projection view can't be used as data source of other CDS entities. Access with ABAP SQL is not possible.

  • CDS projection views (including analytical projection views) are a subcategory of CDS view entities and they bring along the same advantages:

    • No DDIC artefact is generated.

    • There’s a reduced need for annotations.

    • Improved syntax checks are performed.



  • They make use of  new features of CDS view entities:


  • No further queries can be built on top of an analytical projection view.


Architecture Overview


The following image shows the role of CDS analytical projection views in designing an analytical application.




  • An analytical projection view must always be based on an analytical cube view. An analytical cube view is a CDS view entity with the annotation @dataCategory: #CUBE.

  • Service exposure takes places via the new RAP-based Information Access (InA) service protocol.

  • Analytical projection views can then be consumed in SAP Analytics Cloud (SAC) or with an SAP Fiori App.

  • The runtime environment for analytical projection views are analytical engines, such as ABAP Analytical Engine.


The Analytical Data Model


Before we look at the syntax of CDS analytical projection views, we need to understand the underlying analytical data model. Analytical models are recommended for reporting purposes when you need to aggregate data to expose results across different areas (for example by location, time, and product type). These models are conceived over Facts and Dimensions and these views contain the basic data used to conduct detailed analyses and derive business values.

Imagine as an example a sales report that provides results based on product category, date, and location. The Fact is the product itself and it holds values that we can measure (for example number of sales and total amount of sales). The filters by location, time, and type are the Dimensions and these dimensions can have Attributes or Texts attached (for example address and product description). Each dimension can also have a Hierarchy to map hierarchical structures such as region, country, state, county, and city. These hierarchies allow for roll-up and drill down of aggregated data, for example Toronto and Vancouver can be rolled up as Canada. When we connect all dimensions and hierarchies together, we have a Cube and consequently an analytical model ready for consumption.


Analytical data models can be multi-dimensional and are often called Star schema.

The fields of an analytical cube view are Analytical Measures and Analytical Dimensions.

An Analytical Measure is a field of an analytical cube view that contains quantifiable data that can be calculated and aggregated, for example, the total price of all sales orders.  Measures can have a reference to a unit key or currency key.

An Analytical Dimension describes a characteristic of the view's subject that can be used for grouping or filtering. For example, if a view describes a sales order, the following columns can be dimensions: customer, date, region. Dimensions can have a foreign key association to a dimension view.

The following blog post provides an example for how to design an analytical data model in ABAP CDS:  Create an analytical model based on ABAP CDS views | SAP Blogs.

Further details on the analytical Star schema are provided in the developer guide for the Business Technology Platform: Analytical Data Modeling & Live Data Connection to SAP Analytics Cloud - SAP Help Portal.

A CDS analytical projection view is built in top of an analytical cube and models an analytical query within the CDS data model. One cube view can serve as basis for multiple CDS projection views.

Syntax of a CDS Analytical Projection View


The following CDS analytical projection view demonstrates the syntax elements of an analytical projection view.
@EndUserText.label: 'CDS projection view, analytical query'
@AccessControl.authorizationCheck: #NOT_ALLOWED
define transient view entity DEMO_ANALYTICAL_QUERY
provider contract analytical_query
with parameters
p_targetCurrency : abap.cuky
as projection on DEMO_CDS_CUBE_VIEW
{
//ROWS
@AnalyticsDetails.query.axis: #FREE
so_key as SalesOrderKey,

@AnalyticsDetails.query.axis: #ROWS
lifecycle_status as LifecycleStatus,
_lifecycle_status._text.text as LifecyleStatusText : localized,

//COLUMNS
@AnalyticsDetails.query.axis: #COLUMNS
quantity_sum as QuantitySum,

uom_sum as UnitOfQuantity,

//language-dependent text
@ObjectModel.text.element: ['CurrencyDescription']
currency_sum as CurrencyOfAmount,

//typed literal
@Aggregation.default: #FORMULA
abap.decfloat34'0.05' as Discount,

//Formula to define a calculated quantity
@Aggregation.default: #FORMULA
@Semantics.quantity.unitOfMeasure: 'AmPerQuanUnit'
curr_to_decfloat_amount( amount_sum ) /
$projection.QuantitySum as AmountPerQuantity,

//virtual element to define a calculated unit
virtual AmPerQuanUnit : dd_cds_calculated_unit,

virtual targetCurrency : abap.cuky,

//parameter used in currency conversion
@Aggregation.default: #FORMULA
@Semantics.amount.currencyCode: 'targetCurrency'
currency_conversion(
amount => curr_to_decfloat_amount( amount_sum ),
source_currency => currency_sum,
target_currency => $parameters.p_targetCurrency,
exchange_rate_date => created_on,
client => $session.client
) as convertedAmount,

//restricted measure
@Semantics.amount.currencyCode: 'CurrencyofAmount'
case when lifecycle_status between 'A' and 'B'
then amount_sum end as QuantityAB,

//formula-related case expression
@Aggregation.default: #FORMULA
case
when created_on = abap.dats'20200102'
then abap.int8'200'
else abap.int8'700'
end as formula_demo


}
WHERE lifecycle_status = 'A'

Syntax elements of an analytical projection view:

  • The header annotation @AccessControl.authorizationCheck must be specified with the value #NOT_ALLOWED. Analytical projection views can't be accessed using ABAP SQL and therefore, no CDS access control can be specified. Instead, the CDS access control of the analytical cube view is considered.

  • An analytical projection view is defined using DEFINE TRANSIENT VIEW ENTITY AS PROJECTION ON.
    The keyword transient means that only an ABAP Server runtime object is generated, no SQL view on the database.

  • The provider contract must be set to ANALYTICAL_QUERY to ensure the correct syntax checks are applied.

  • Input parameters can be specified in a parameter list.

  • The data source of a CDS analytical projection view must be an analytic cube view. An analytic cube view is a CDS view entity with the annotation dataCategory: #CUBE.

  • In the element list of an analytical projection view, the following elements are supported:

    • Fields from the underlying cube view.

    • Path expressions. In an analytical projection view, fields included via path expressions can be texts, display attributes, or texts belonging to display attributes (further details below).

    • Arithmetic expressions that specify an analytical formula. The annotation default: #FORMULA is mandatory when an arithmetic expression is included as field in the element list. Arithmetic expressions are evaluated by the analytical engine when the analytical projection view is accessed.

    • The following built-in functions are supported:

      • CURR_TO_DECFLOAT_AMOUNT

      • GET_NUMERIC_VALUE

      • DATS_IS_VALID

      • DATS_DAYS_BETWEEN

      • DATS_ADD_DAYS

      • DATS_ADD_MONTHS

      • CURRENCY_CONVERSION

      • UNIT_CONVERSION



    • Case distinctions that specify an analytical formula or a restricted measure (further details below).

    • Calculated units, specified with the keyword VIRTUAL (further details below).

    • Parameters that have a numeric data type, a unit key, or a currency key.

    • The session variables user_date and system_date.

    • Typed literals.
      Note: Untyped literals are not supported in the element list of analytical projection views.

    • Cast expressions for casting from one data type to another data type, or for assigning a new data element to a field.

    • In a CDS analytical projection view, it is possible to refer to other expressions of the selection list, by using $projection as pointer.



  • A WHERE condition can be specified to filter out irrelevant data.


Restrictions



  • Key fields cannot be defined in the element list.

  • Associations from the projected entity must not be exposed.


Path expressions in analytical projection views


In analytical projection views, path expressions can be used to include texts, display attributes, or texts belonging to display attributes in the analytical query. In an analytical cube view, such fields might be text associations or foreign key associations. In a CDS dimension view, such fields can be text associations.

Language dependencies are implemented using the keyword LOCALIZED. The annotation @ObjectModel.text.element: '<text_element>' defines the relationship between identifier elements and the respective text. The text is automatically filtered to the current logon language.

An example for a language-dependent text element is provided in the listing above:
@AnalyticsDetails.query.axis: #ROWS
lifecycle_status as LifecycleStatus,
_lifecycle_status._text.text as LifecyleStatusText : localized

For more details on how to get language-dependent text in CDS projection views, see the development guide for the ABAP RESTful Application programming Model Getting Language-Dependent Text in Projection Views - SAP Help Portal.

Temporal dependencies in CDS analytical projection views are implemented in the following format:
[1:date_from <= $parameter.key_date && date_to >= $parameter.key_date] 


Case distinctions in analytical projection views


A case distinction in the element list of an analytical projection view can either be a selection-related case expression (also called restricted measure) or a formula-related case expression.

1. Defining a restricted measure in an analytical projection view


A restricted measure allows you to further filter an analytical measure and limit the result set along a certain dimension. In the example above, the cube view defines the field amount_sum as an aggregation of all sales orders:
@DefaultAggregation: #SUM
@Semantics.amount.currencyCode: 'currency_sum'
SalesOrder.amount_sum

The restricted measure in the analytical projection view filters this measure to aggregate only sales orders with the lifecycle status set to a value between A and B.
//restricted measure
@Semantics.amount.currencyCode: 'currency_sum'
case when lifecycle_status between 'A' and 'B'
then amount_sum end as QuantityAB

A restricted measure must always have the following structure:

CASE
  WHEN cds_cond
  THEN result
END ...

There must be exactly one WHEN branch; no ELSE branch is allowed.

The condition cds_cond specified after WHEN can use only fields that are classified as dimension in the underlying cube view. The Boolean operators AND and OR are allowed to combine multiple logical expressions. Identical fields must be combined with OR, different fields must be combined with ANDNOT is not supported.

result specified after THEN must be a field of the underlying cube view specified as an analytical measure, or a literal of a measure-like data type. A literal is allowed only if the element is annotated with AnalyticsDetails.query.onCharacteristicStructure: true and when this annotation is used, a literal is mandatory.

2. Defining a formula-related case expression in an analytical projection view


A formula-related case expression allows you to further process an analytical measure. It must always be structured as follows:

@Aggregation.default: #FORMULA
CASE
WHEN cds_cond
  THEN result1
  ELSE result2
END ...

There must be exactly one WHEN branch, one THEN branch, and one ELSE branch. The annotation @Aggregation.default: #FORMULA is mandatory for formula-related case expressions.

The listing above shows an example for a formula- related case expression:
//formula-related case expression
@Aggregation.default: #FORMULA
case
when created_on = abap.dats'20200102'
then abap.int8'200'
else abap.int8'700'
end as formula_demo


Calculated units in analytical projection views


Calculated units and calculated quantities are now handled natively in ABAP Core Data Services. In an analytical projection view, a calculated unit must be specified using the keyword VIRTUAL, as shown in the example above. The example uses the DDIC data element DD_CDS_CALCULATED_UNIT for typing, but this is not mandatory:
//calculated unit, defined as virtual element
virtual AmPerQuanUnit : dd_cds_calculated_unit

A calculated quantity is always the result type of a calculation. The annotation @Aggregation.default: #FORMULA is mandatory, and a reference to a calculated unit field must be defined via the annotation @Semantics.quantity.unitOfMeasure.
//calculated quantity with calculated unit
@Aggregation.default: #FORMULA
@Semantics.quantity.unitOfMeasure: 'AmPerQuanUnit'
curr_to_decfloat_amount( amount_sum ) /
$projection.QuantitySum as AmountPerQuantity

Note: In an analytical projection view, the annotation @ObjectModel.virtualElementCalculatedBy, which connects the virtual element to an ABAP class that calculates a value at runtime, is not supported.

For further details, see the ABAP Keyword Documentation, topic Calculated Quantity with Calculated Unit.

If you have questions, please feel free to leave a comment.

The following sources provide further information:
37 Comments
kschoudary
Participant
0 Kudos
Hi Andrea,

Thanks for the blog and it is really interesting to know the advancements in CDS Views.

I am testing this in our S4HANA On-Premise - 2021 SP01 with SAP_BASIS Release 756 and getting the following error message.

  • provider contract AQ is not supported yet


Any idea on what is missing to get this working?

 

Thanks and Best Regards,

Subbaiah Choudary Kotha (KS)

 
AndreaUS
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Subbaiah Choudary Kotha,

thanks for your feedback.

Unfortunately, the feature is not available in your release. It has been available since SAP BTP ABAP Environment 2111, which corresponds to 2022 | SAP_BASIS 757.

Preview of the good things to come 🙂

Best

Andrea
David_Nicolay
Explorer
0 Kudos
Hi Andrea,

I also just encountered the same problem as Subbaiah and saw the comment afterwards. Do you know if it is planned to transfer the concept for on-prem as well or will it only be possible on BTP? It would be interesting to know under which name the analytical queries would be found, as they have so far been derived from the SQL view name. Another question is whether the queries can also be consumed with Analysis for Office in addition to SAC.

Thanks and Best Regards,
David
AndreaUS
Product and Topic Expert
Product and Topic Expert
Hi David,

  • Analytical projection views will most probably be available with the next major on-premise release of SAP S/4HANA.

  • Analytical queries can be found by the name of the CDS entity with the prefix "2C" - this prefix is added automatically by the analytical engine.

  • Yes, analytical queries can be consumed in SAC. Whether they can be consumed with your particular App, I'm not sure.


Docu is available here: ABAP Keyword Documentation (sap.com)

Best

Andrea
termanico
Participant
0 Kudos
Excellent Blog, Andrea! Many Thanks for it! 🤩

Short comprehension-question: what is meant with ABAP Analytical Engine? Is it the classical BW OLAP Engine?

br

Thorsten
fabianfellhauer
Advisor
Advisor
Hi Thorsten,

yes, the ABAP Analytical Engine is powered by the SAP BW/4HANA Engine / SAP BW Engine (depending on the installed product).

Best regards

Fabian
AndreaUS
Product and Topic Expert
Product and Topic Expert
PS if you are interested in this topic, there will be a 1.5 hour webinar on September 22 offered by DSAG. The development team presents query modelling, exposure, and consumption of CDS analytical projection views.
termanico
Participant
0 Kudos
Thanks for the confirmation Fabian!
termanico
Participant
0 Kudos
Thanks Andrea - I'm enrolled, already  😉
0 Kudos

Hello Andrea,

in the latest DSAG presentation regarding this topic, we heard from Fabian that there is a new alternative annotation for the "AbapCatalog.sqlViewName" in entity views, just to find the query. (After Migration from V1, no SQL View exists)

Because in some cases, for example FLP tile target mapping parameter bsa_query still needs this old sqlviewname to access the query.

Can you tell me the name of this annotation? I couldn´t find anything in the latest documention you shared earlier in the comments.

Thanks a lot

Max

fabianfellhauer
Advisor
Advisor
Hi Max,

the mentioned annotation is @Analytics.technicalName: <Name of old SQL View Name>

 

Hope this helps!

 

Thank you and best regards

Fabian
0 Kudos
Thank you very much 🙂
I565544
Advisor
Advisor
0 Kudos
Hi Andrea,

 

could you please kindly share a Link to the Recoding/Presentation of this DSAG Webinar with me?

I am very interesting in these topics! Thanks!

 

Best regards,

Rundong
AndreaUS
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Rundong,

sure, you find the link in your email inbox.

Best

Andrea
smitha_samuel2
Explorer
0 Kudos
Hi Andrea,

Can you please forward the recording to me as well, Interested to know about this topic.

Best Regards,

Smitha Samuel
AndreaUS
Product and Topic Expert
Product and Topic Expert
smitha_samuel2
Explorer
Hi Andrea,

Thank you for the video.  Can we use InA binding for on premise fiori ui applications ? What I noticed in the video was that the fiori app creation was via sac.

If it is possible, can you please give some reference on how to do this.

Best Regards,

Smitha Samuel

 
AndreaUS
Product and Topic Expert
Product and Topic Expert
Hi Smitha Samuel,

yes you can use InA binding for on premise fiori ui applications as of ABAP release 7.57 (on-premise), ABAP Platform 2022.

Documentation is available here:

https://help.sap.com/docs/btp/sap-business-technology-platform/define-service-definition-and-binding...

Best

Andrea
smitha_samuel2
Explorer
0 Kudos
Hi Andrea,

Associations cannot be exposed for these views. So does that mean that these views cannot be used for a normal list report where we have a filter bar and have fields with value helps ?

Best Regards,

Smitha Samuel
AndreaUS
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Smitha Samuel,

yes exactly. Analytical queries are not intended for list reports and transactional UIs in general.

For list reports and transactional UIs, it is recommended that you use transactional projection views in the context of the RESTful ABAP programming model.

Best regards

Andrea

smitha_samuel2
Explorer
Hi Andrea,

 

Thank you so much for your inputs.

Best Regards,

Smitha Samuel
Martin_4
Explorer
0 Kudos

Hi,

Entity CDS (with @Analytical.* Annotations) can not be used in Fiori View Browser to  create  (ZZ1-) Analytical Queries on top ?

 

I want to use the Fiori View Browser to build (ZZ1_) queries on top of an entity view (with @Analytics.* Annotations)  - This does not seem to be possible ?

 

With a Classic CDS ( ZCLASSIC) on a base table ( here:spfli ) its possible to create an analytical Query on top of a CDS:

 

With entity CDS (ZENTITYSPFLI) it does not seem to be possible - the "Create Analytical Query" is undisplayed:

 

 

-----> Intentional, conceptual or whats wrong ?

Thank You !

Best Martin

 

Attachment - the Code:


@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'ZENTITYSPFLI'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #MIXED
}
@VDM.viewType: #CONSUMPTION
@Analytics.dataCategory: #CUBE
@Analytics.internalName: #LOCAL

define view entity ZENTITYSPFLI
as select from spfli
{
key carrid as Carrid,
key connid as Connid,
@Aggregation.default: #SUM
GET_NUMERIC_VALUE( distance ) as distance
}


@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.sqlViewName: 'ZVV_CLASSIC'
@AbapCatalog.dataMaintenance: #RESTRICTED
@DataAging.noAgingRestriction: true
@EndUserText.label: 'Classic '
@Analytics.dataCategory: #CUBE
@Analytics.internalName: #LOCAL
@Search.searchable: false
@Metadata.allowExtensions: true
@VDM.viewType: #CONSUMPTION

define view ZCLASSIC
as select from spfli
{
key carrid as Carrid,
key connid as Connid,
@Aggregation.default: #SUM
distance as distance
}


 

AndreaUS
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Martin,

analytical queries based on view entities are currently not supported in the Fiori View Browser. Colleagues are working on it, it is ongoing.

The flip side of new technology...

Best regards

Andrea
Martin_4
Explorer

ThanXs (I wondered ),also for Your comprenhesive Blogs, go on.
Best Martin 

SuhasKoul
Advisor
Advisor
0 Kudos

Hi aschlott

We have a requirement to show an analytical chart in a transactional app.

Now we have created a view entity marked as @analytics.dataCategory: #Cube.

What is the right way to associate this cds in my root consumption view entity that is defined with a provider contract as transactional_query?

So that I can then further bind and annotate it with my chart in my metadata extension.

What consumption view i should use? Also, iI see that define view is marked as obsolete in latest S4 version.

your inputs are highly appreciated in advance.

Best Regards
Suhas

 

AndreaUS
Product and Topic Expert
Product and Topic Expert
Hi Suhas,

good question.

Currently, it is not possible to combine transactional and analytical queries in one service. For transactional data, an OData service is the best choice, but it is currently not possible to include analytical data from an analytical service in this OData service.

I have forwarded this requirement to development and I have sent you some suggestions for a workaround via email.

DEFINE VIEW is marked as obsolete as of 2208. It is recommended to use DEFINE VIEW ENTITY instead, as described here: A new generation of CDS views: CDS view entities | SAP Blogs. 

Best

Andrea
ankit_sinha2
Explorer
0 Kudos

Hi aschlott

Are the Analytical Query(based on View Entity AS Projection) also not visible in Fiori Query Browser App?

Thanks

Ankit

Victor_Alvarez
Participant
0 Kudos
Dear Andrea.

 

Could you provide that workaround? If not here, via email valvarez@seidor.es

 

We are in the same situation than Suhas, we need to show in a transactional APP some children entities some of them as analytical queries since we need the totals and currently is not possible to have a transactional app (with actions, navigation and so on...) with aggregations.

 

Best
jvanattenhoven
Participant
0 Kudos
Can you build an Analytical Service manually via SEGW? And what are the requirements for it to be considered "analytical". Is it merely providing (sap:semantics="aggregate", sap:aggregation-role="dimension", and sap:aggregation-role="measure")? I cannot find documentation about this. There are plenty of articles about the annotations for a Fiori Elements Analytical List Page, but they never talk about the service required for it to work.
AndreaUS
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Victor,

sure, here are the unofficial workarounds the dev team has suggested:

Disclaimer: they are unofficial and have not been tested properly.

Problem: It’s currently not possible to combine analytical and transactional queries in one service.

Workaround 1:

  • - Define an analytical query.

  • - Define a custom entity that selects from the analytical query and uses ObjectModel.query.impelemtedBy

  • - Develop a class that implements the SADL interface and makes requests to the AE. However, there is no released API (yet).

  • - This custom entity can be included in a transactional OData service.


Workaround 2:

  • Define an association from your cube view to your transactional query.

  • Built a GROUP BY view on your cube view to bind the aggregated values directly to a simple chart.


Hope this helps.
AndreaUS
Product and Topic Expert
Product and Topic Expert
0 Kudos
In this case, Fiori Elements are the "Smart Business UIs", i.e. key user tools that run via OData for an analytical query.
According to my knowledge, it does not make sense to create a service for this manually via SEGW.
Mnguyen
Explorer
0 Kudos
Hi Andrea,

nice blog and very good information, thank you very much.

I have some questions related to CDS Query entity and Query Projection and the supported services:

  • The CDS Analytical Projection Views at the current time can not be exposed as OData V2 and OData V4 (including S4HANA 2023 ), correct?

  • The InA service can not be consumed by Fiori Elements (using Bussiness Application Studio) to create Analytics List Page report correct?

  • CDS Queries with the annotation @Analytics Query = true​ can not be exposed as OData, correct ?

  • The annotation @OData.publish = true will be obsolated?


Our purpose is to provide CDS queries or services which can be consumed by many analytics tools like:

  • "Query Browser" and "Manage KPIs and Report" on S4HANA on Premise

  • By Fiori Elements (in BAS) to create  ALP report or Overview Page

  • By SAP Analytics Cloud.


Prior to CDS Entities area, this can be achieved with using the annotation @OData.publish = true.

I would appreciate all suggestions and hints,

Thank you very much and Regards, Miha

 
stefan_unnebrink
Employee
Employee
0 Kudos
Hello Miha,

CDS Analytical Projection views can be exposed as OData V2 service but not as OData V4 service. It can't be exposed in a RAP style with assigning the view to a service definition and service binding. But you can still use the annotation OData.publish: true for Analytical projection views. Then an OData V2 service will be generated.

So the annotation OData.publish true is not obsolete.

Fiori Elements can't use InA services

Regards,

Stefan
Mnguyen
Explorer
0 Kudos
Hello Stefan,

thank you very much for your quick answer. It helps a lot.

One question is still open: on S/4HANA 2022 OP the Analytics Projection View is not visible in the Query Browser. This is an important feature since a number of customers will use it to consume the provided Analytics Queries.

This is a bug or it will be supported in S/4HANA OP 2023?

Thank you a lot and kind Regards, Miha

 

 

 
AndreasRiehl
Advisor
Advisor
Hello Miha,

currently, the CDS Analytical Projection Views (or 'V3 queries' as also referred to) are only available via the Developer Extensibility (in ABAP Development Tools).

The current plan* is to bring them to the Key User and Business User (Fiori) UIs with SAP S/4HANA Cloud 2402. This means they would then show up as well in the View Browser as also in the Query Browser. The same would then come to the subsequent SAP S/4HANA OP release, which is 2025.

Hope this helps.

Thanks & Kind Regards
Andreas

* with the usual legal disclaimer, that these plans are subject to change without prior notice
Mnguyen
Explorer
0 Kudos
Thank you a lot for the information Andreas!

Kind Regards, Minh-Ha
naresh_vvsr
Employee
Employee
0 Kudos

@AndreaUS: We are developing a Sales analytical CDS View Query. We coded the @Consumption.valueHelpDefinition and @Consumption.filter.multipleSelections for a filter with value help on one of the dimension fields ( E.g. Company Code ). We can see the field coming in the test application of the Analytical List page, but neither the filter value is working nor the value help is coming up.

Are there any restrictions regarding using consumption filters ( other than parameters. I see parameters are working ) in the analytical CDS View Query?

I would appreciate it if any other experts could also help here with the information!