on 12-01-2017 12:20 PM
Hi,
We have created a datasource with an ODP - ABAP CDS view and want to create an open ODS view (facts) based on this datasource.
All assignments to infoobject work fine, but upon activation we get the error
"Source type of ODS view <name of our ODS view> not supported in CalcScenario"
What is causing this problem and how can we fix this?
Many thanks in advance,
Eddy
Hi,
Thanks for pointing that out. We are indeed using parameters, but that is more imposed by the fact that filtering on current date is only possible for the moment via params (see also
https://blogs.sap.com/2015/11/25/abap-news-for-release-750-environment-information-in-abap-cds/).
On the other hand, I don't fully understand what's said in the note. The CDS is on the same system but, despite that we are 'only' at SAP_BASIS level 750 SP03, resides already as a datasource in a ODP (ABAP) CDS view source system.
Furthermore, note 2495379 can't be implemented according to SNOTE, without giving a clear reason. I guess we need to implement the prereq. notes first.
Cheers
Eddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eddy,
according to https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abencds_f1_date_functions.htm:
It is not currently possible to access the current system date directly in a CDS view. Instead, a CDS view can be given an appropriate input parameter. The special annotation @Environment.systemField makes it possible to pass the value of the ABAP system field sy-datum to this parameter.
But that is only for 750
Also, there is a different way you can try:
https://archive.sap.com/discussions/thread/3771755
However, I would suggest creating variable on a Bex level, for sure that could increase memory consumption on a HANA level, but still worth trying.
Kind regards,
Andrey
Hi Eddy.
Please check info regarding the limitations in the note 2198480 - FAQ: BW Open ODS View - Query Execution:
12: Consumption of CDS Views in Open ODS Views
An ABAP CDS View is a semantically rich ABAP Repository Object. This ABAP object creates corresponding artifacts on the HANA Database. The deployment of ABAP CDS Views implies a number of limitations that usually prevents the correct usage of the database artifacts within the Open ODS View.
To overcome the above mentioned limitations, it is recommended to consume remote CDS View with the dedicated BW Source System type ODP-CDS, which is available as of SAP BW 7.50 SP05. In addition, please apply SAP Note 2495379 in both the S/4 system as well as the target BW system.
Kind regards,
Andrey Farzatinov
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.