Skip to Content

Not able to find the annotation "Odata.publish : true" in the list of annotations in CDS View.

Hello,

I'm trying to add Odata annotations for a particular system in eclipse but annontation is not available in list as shown below. If i add this annotation and activate my CDS view then Odata services are not generated and CDS view does not give any error.(Pic below)

But i'm able to find this annotation for one of the other systems.

So what are the parameters for finding this annotations for a system.

Thanks,

Vimal

odata.jpg (54.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jan 20, 2017 at 08:24 AM

    Available on ABAP AS 750.... what is your version?

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Amol,

      We have ABAP AS 740. I'm able to add it and activate in CDS Views but not able to generate Odata Service. And i've checked in new system having ABAP AS 750 and it's generating Odata Service.

      So i guess this is the basic requirement(ABAP AS 750).

      Thanks,

      Vimal

  • Jan 19, 2017 at 02:47 PM

    Just type it. It should work.

    @OData.publish: true

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 16, 2017 at 12:53 PM

    Hi,

    @odata.publish = true, is not working my case.

    Is it because of the version?

    Regards,

    Subhanshu

    Add comment
    10|10000 characters needed characters exceeded