‎2020 Apr 15 10:50 AM
Hi All,
I am working with the SAP Manual 'Core Data Services for ABAP'(2019), and am developing some custom ABAP CDS Views in Eclipse. I created an ABAP Cloud Project, as i have Eclipse connected to my SCP Foundry ABAP Trial Account. When i use some Annotation in my custom ABAP CDS Views, as instructed by the SAP Manual, i get the following error messages for these Annotations in the Eclipse Editor, as follows:
'Use of Annotation 'ObjectModel.modelCategory' is not permitted (not released)'
'Use of Annotation 'ObjectModel.compositionRoot' is not permitted (not released)'
'Use of Annotation 'ObjectModel.association.type' is not permitted (not released)'
Annotations in my View code:
@ObjectModel.modelCategory: #BUSINESS_OBJECT
@ObjectModel.compositionRoot: true
@ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
fyi....the API State for the Custom CDS View is 'Released'.
Much appreciated if someone could assist?
thanks,
Con.
‎2020 Apr 15 11:44 AM
The annoations you are using are used by the "ABAP Programming Model for SAP Fiori" which is not released for the ABAP environment on SCP.
On the ABAP environment on SCP the new "ABAP RESTful Application Programming Model" needs to be used, if you want to create business models via CDS.
‎2020 Apr 15 11:44 AM
The annoations you are using are used by the "ABAP Programming Model for SAP Fiori" which is not released for the ABAP environment on SCP.
On the ABAP environment on SCP the new "ABAP RESTful Application Programming Model" needs to be used, if you want to create business models via CDS.