Skip to Content

CDS View's oData service error

Hi everybody,

My CDS View was successfully activated with these annotations:


@Analytics.query: true

@OData.publish: true

Then when i go the the Gateway, i can not add the service: Only queries with an easy query layout are supported by this version (!!)

Have you ever faced such an issue?

Many thanks,

cds-view.png (7.2 kB)
error-odata.png (36.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Oct 17, 2016 at 03:18 PM


    I came across this blog before i posted my question.

    Not only a measure was required, but the problem was also this annotation: @Analytics.query: true

    I took it out, and the service was generated correctly.

    Then i had another problem with vocabulary annotations. I solved it this way (from


    1.Log on to the backend system

    2.Execute transaction/iwbep/reg_vocan


    4.EnterAnnotation Model Name

    5.Enter/SSB/CL_SSB_RUNTIME_APC_EXTas theAnnotation Model Provide Class

    6.EnterDescriptionand chooseContinue

    7.ChooseAdd Assignmentfor the newly createdAnnotation Model Name

    8.Enter theTechnical Service Nameand chooseContinue

    9.In the frontend server, execute transaction/iwfnd/maint_service

    10.Create a service registration for the newly createdAnnotation Model Name

    11.Load metadata for the selected service


    Thanks for your reply.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 17, 2016 at 09:06 AM

    Check here. Point 6. You may require to define a Measure in your CDS view.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.