on 2020 Mar 26 2:47 PM
Dear Gurus,
i would like to know how release a CDS created by eclipse , in order to have it available on Custom CDS View.
Thanks a lot
Daniele
Request clarification before answering.
Hi Daniele,
You can release the CDS by clicking on the CDS, then file > Properties.
Click on the 'API State' tab > 'Add Release Contract', use System-Internally (Contract C1) > Next > mark indicator for 'Use in Cloud Development' and 'Use in Key User App' > Next > Next > Choose a TR and click 'Finish.
You will need to wait a while for the status to be updated to release. Try refreshing the window if it still doesn't work after a few mins.
Warm regards,
Yee Teng
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniele,
this is not possible.
Custom CDS Views that are to be maintained using the Key User Tools have to be created using the Key User Tools.
I am however wondering what your use case is.
Why would you want a CDS view that has been developed using ABAP in Eclipse to show up in the Custom CDS View Key User App?
Best Regards,
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Andre,
my problem is the following:
I would like to have a CDS about production data (PP module) , but unfortunately or there isn't avalaible standard CDS in view browser , or there are CDS but with several information missing.
So i need to create my basic or composite CDS and i would like to know if user side there is a way to link two or more CDS without use ecplise (for example i thought Custom CDS App or other specific app / tool).
To sum up : there is a way to link two or more standard or (ecplise) basic CDS without use Ecplise to arrive to get consumable CDS usable in query browser or drill down or APF app.
Thanks a lot for your help.
Daniele Pistilli
Hi dan0104-,
I would suggest that you create a support incident asking for a released CDS view so that you can implement your requirement. And maybe already in parallel create an Idea in SAP S/4HANA Cloud Extensibility influencing campaign.
Best reards
Gregor
Hi Andre,
today I've created a custom CDS View using ABAP in Eclipse and set it's Visibility to "Use in Key user Apps":
And I can use this View now without any issues in the Custom Logic:
I've replaced the sample coding from the Custom Logic Samples.
Best regards
Gregor
Hello Gregor,
My answer is probably way too late, but anyhow ...
Technically, you can do this (as you proved). Nevertheless, it is not recommended.
When SAP does set (VDM CDS) views to "released for the usage in key user tools", these views have to meet a bunch of contracts and guidelines. Also, their changes over time are limited to compatible changes. All this is safeguarded by quite some checks which are not available to customers, as far as I know. Therefore it is not recommended to do what you did as it might break the extensibility artefacts that you build on top (at least when you change your view at a later point in time).
Examples for the contract are: No fields shall be removed or renamed, no parameters shall be added, the view shall not expose associations to non released views, association conditions shall not be changed, only released data elements shall be used, etc. (the complete rule set is quite complex).
Best Regards,
Andreas
Hello gregorw,
this is about the so called stability contract. There are 3 different types: C0, C1 and C2. The one that is relevant for the usage in key user tools is C1. There is some docu about the contracts available on SAP Help. Unfortunately, it does not talk about the specific requirements. I will check with the experts if there are more details available.
Best Regards,
Andreas
Update: At least parts of the checks are being performed when you do release a CDS View for the C1 contract in ADT as described in the help. The help article also describes the responsibilities of the developer for the C1 release.
Hi Andre
I need exact that requirement (to add a CDS created in ADT on Custom CDS View Key User App). Is it possible to be done?
Reason for that is because I need to use this data source on my business object as an association, so that I can use it as a custom search help for a custom field.
Regards
Pierre
User | Count |
---|---|
103 | |
15 | |
9 | |
7 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.