cancel
Showing results for 
Search instead for 
Did you mean: 

Service Level Annotations on Nested Entity doesn't work on HANA DB

jhodel18
Active Contributor

Hi CAP Team,

I encountered an odd behavior of CAP framework wherein service level annotations (for nested entity) are missing when using HANA DB.

Summary of my findings:

  • Sevice Level -- SQLite -- @title annotations works
  • Service Level -- HANA -- @title annotations are missing
  • Schema/DB Level -- SQLite -- @title annotations works
  • Schema/DB Level -- HANA -- @title annotations works

Service Level Annotations which only work for SQLite but not for HANA DB:

ObjectPage when using HANA DB:

ObjectPage when using SQLite:

If I directly put the annotations at the schema level, then it works for both types of DB. Can you confirm if this is a bug in the CAP framework?

Thanks and regards,

Jhodel

0 Kudos

Hi, we are not aware of any bugs in the translation of annotations in nested entities. What is particularly suspicious: the translation of CDS to EDMX (this is where the annotations for Fiori are handled) is completely independent of the database. So we would need to have a look at your particular project/setup. I suggest that you to open a support ticket to follow up on this.

jhodel18
Active Contributor
0 Kudos

Thanks for your response Steffen!

I just raised an incident ticket today: https://launchpad.support.sap.com/#incident/pointer/002075129500005001132022

Thanks and regards,

Jhodel

Accepted Solutions (1)

Accepted Solutions (1)

jhodel18
Active Contributor
0 Kudos

This was confirmed as bug in @sap/cds-compiler and has already been fixed by v2.15.6

Answers (0)