on 08-02-2016 11:18 AM
Hi,
I am working on S4 HANA POC. Can someone please explain the following scenarios
1. How to use CDS view in HANA views? (Calculation view or Analytical)
Can we consume CDS view in HANA view and make report on top of that?
2. How to consume CDS view in BW HANA?
Thanks in Advance
Hello Karun.
Regarding your 1st question: If you are talking about HANA CDS Views and not ABAP CDS Views, you can consume it directly as data source in a HANA Calculation view.
Regarding your 2nd question: An ABAP CDS view and a HANA CDS view (via a Calc. View) can be consumed for instance via an Open ODS View.
Regards,
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Florian.
I appreciate your quick response.
What about ABAP based CDS views consumption in HANA views? is it possible?
if possible, please let me know.(Any documents related)
For HANA CDS views also please provide me
when I am searching I found lot of material but I am confusing between ABAP based CDS and HANA CDS views
Thank you
Karun
Per default it is not possible to use an ABAP CDS view in a HANA Calc. View. I think you could use the generated view/function available on the HANA database, but I would not got that way, that an HANA native object is depending on an ABAP managed artifact (at least in that case).
I think you should be first clear which way you wanna go. Do you wanna have
Then you can define your development strategy considering different aspects (development, lifecycle management ...).
Regarding CDS you have to consider that it is one specification for which one implementation exists on the ABAP layer (ABAP CDS) and one on the HANA layer. Here are the references:
Regards,
Florian
Thanks Florian,
we are going to start work on HANA managed artifacts.
To create CDS views:
I understand that we can create CDS views in HANA studio ABAP perspective or
Eclipse based ABAP perspective(Mars2) correct me if i am wrong
Just to know myself normally where the ABAP CDS views create?
My understanding is CDS views created in ABAP application having backed ECC(Not S4) is called ABAP CDS. Correct me if I am wrong
Thank you
Karun
You say, you wanna work with HANA managed artifacts. Then you say, you wanna create ABAP CDS views which are ABAP managed. A little bit confusing .
To create ABAP CDS views you have to install the ABAP Development Tools, either in a standard Eclipse installation or in a compatible HANA studio version. Just add the repository site as described here: SAP Development Tools.
ABAP CDS views are supported since NetWeaver 7.40. If you are using it with an ECC or S/4 system does not matter. For an S/4 system ABAP CDS views are a core pillar for analytics (the virtual data model is set up with such views).
Regards,
Florian
Thanks Florian,
sorry for confusing. even I am confusing myself which is ABAP CDS and which is HANA CDS as I couldn't differentiate properly
Could you please let me know how to start creation of HANA CDS views
1. l watched the following video,It shows how to create S/4 HANA CDS view in ABAP Eclipse
SAP HANA Academy - SAP S/4HANA: Core Data Services - 03 Creating Basic Views - YouTube
2. In other article I found the following steps to create CDS view in HANA studio Development Perspective
Procedure
What is the difference between 1 & 2?
Both are the steps to create HANA CDS?
Thank you
Karun
The video shows the creation of an ABAP CDS View. The second one describes the creation of a CDS definition file which can contain HANA CDS views, but also CDS entities and types.
The CDS reference linked above contains all details regarding the CDS Syntax on HANA.
You can check for instance the available OpenSAP courses for SAP HANA Development (in week 2 of course Next Steps in Software Development on SAP HANA - Thomas Jung and Rich Heilman details on CDS are provided).
To use ABAP CDS views into HANA calculation view below are the steps,
1. when an ABAP CDS view is created, generally @AbapCatalog.sqlViewName: is also defined. This sqlView is generated as a database view and stored in SAPABAP1 schema.
2. We can use the same sqlView into the projection of HANA calculation view
Hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.