Skip to Content

Annotation file not working using OData provisioning in SAP HCP

Hi Experts,

I'm creating a Fiori application using the Smart template in SAP Web IDE (List report Application) whose backend is OData service exposed through CDS views.

Below are the blog's which I referred for two different scenarios:

Scenario 1: Exposing Odata service via SAP Gateway system to create a Fiori application using Smart template

Scenario 2: Exposing Odata service via ODP in SAP HANA Cloud Platform to create a Fiori application using Smart template

Issue: In Scenario 2, I'm not able to get the Annotation URL in Annotation selection wizard while creation of fiori application using smart template. For, this I used alternative option mentioned in above blog by giving the Annotation URL manually.

After successful creation of application, the annotation is missing, which came when the application was created in Scenario 1, same can be checked in below screenshots:

After running the application below is the error which I'm getting in developer's tool of Google chrome:

Note: Annotation filename contains "/" in name. Eg. /XYZER/C_ASDF_CDS_VAN

Thanks in advance !

Thanks,

Tushar Sharma

error.jpg (43.2 kB)
odp-annotation.jpg (26.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    5 days ago

    Hi Ivan Mirisola,

    Thanks for taking your time and providing the feedback.

    Basically, I have created the OData service using anntation through CDS view and I had already checked the blog mentioned by you.

    For this error, I raised an incident to SAP and after investigating SAP team replied that it was a bug from there end and now they have handled this scenario and fixed the issue.

    Thanks & Regards,

    Tushar Sharma


    Add comment
    10|10000 characters needed characters exceeded

  • Oct 03 at 10:17 PM

    Hi Tushar,

    Are you using OData v4 or v2 for your cds view service?

    Did you check this blog already:

    https://blogs.sap.com/2018/04/04/create-an-analytical-list-page-using-abap-cds-views-and-annotations/

    Best regards,
    Ivan

    Add comment
    10|10000 characters needed characters exceeded