cancel
Showing results for 
Search instead for 
Did you mean: 

Exposing CDS View Netweaver 4.7 (sp 17)

0 Kudos

Hi we are the current version of Netweaver 4.7 (sp 17)

@OData.publish: true

I want to use the syntax above to generate Odata Service from my CDS view

following the instruction in the link.

https://blogs.sap.com/2016/05/09/how-to-create-smart-templates-annotations-within-cds-views-part-2/

However, when I go to /n iwfnd/maint_service the service is not there. I can see the CDS view has created a view in the backend. After searching I found the article below.

https://blogs.sap.com/2016/04/06/expose-cds-views-as-odata-service/

" There are 3 different ways you can expose CDS views as OData service:

  1. Import DDIC structure using SEGW Netweaver Gateway service builder transaction.
  2. Reference Data Source using SEGW Netweaver Gateway service builder transaction.
  3. Using Generic Annotations. (@Odata.publish:true)

First way is supported from SAP ABAP NW 7.40 SP5, Second and third ways are supported from SAP ABAP NW 7.50 and above. For first two ways SAP NW Gateway is used and for third type without use of SAP NW Gateway odata services can be created using annotations. Gateway is used only to add the service created using annotations. "

This was published in 2016, I want to know if anyone was able to generate service using @OData.publish: true whilst on NW 4.7.

Thanks, Dana

Accepted Solutions (0)

Answers (0)