Skip to Content
Feb 04, 2019 at 04:10 PM

ODATA Publish Failed

983 Views Last edit Feb 04, 2019 at 04:15 PM 5 rev


I ─▒nstalled 7.50 developer sp02 on my computer. I got warnings when i want to activate Odata publish. I can see that view is created but service is not created, and I dont see my service on /IWFND/MAINT_SERVICE.

could you help me to fx this?

  1. No access control for entity ZMARA_DDL. Create DCL or use annot. AccessControl [Access Control Management]
  2. OData exposure failed due to missing key elements in 'ZMARA_DDL' [OData Exposure]
  3. The service ZMARA_DDL_CDS does not exist [OData Exposure]

My code as follows:

@AbapCatalog.sqlViewName: 'ZMARA_V_002'
//@AbapCatalog.compiler.compareFilter: true
//@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'ZMARA_DDL'

@ObjectModel.semanticKey: ['matnr']
@OData.publish: true 
define view ZMARA_DDL as select from zmara