on 09-16-2015 9:29 PM
Hi all,
I'm in trying to find out how to create a CDS View and then expose it as a BOPF and then exposing that via OData.
Thanks,
Jian
This PDF should help :
http://help.sap.com/hana/SAP_HANA_Core_Data_Services_CDS_Reference_en.pdf
Regards,
Tejas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jian,
please try with the following annotations in ADT:
@AbapCatalog.sqlViewName: 'ZSUNAMETEST'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Uname Test'
@ObjectModel.compositionRoot: true
@ObjectModel.writeEnabled: true
@ObjectModel.createEnabled: true
@ObjectModel.updateEnabled: true
@ObjectModel.writeActivePersistence: 'usr02'
@OData.publish: true
This will create a BOPF object which then can further be refined by an implementation class. Hope that 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 |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.