Skip to Content

CDS generated BOPF cannot create instance

Hi Experts,

I've created some CDS views and generated a BOPF from them. My CDS views are based on the existing database tables, and they are connected by associations.

Then I created a Fiori application by adapting "List Report Application". The annotations in the CDS view help to build up Fiori application and it works perfectly in displaying data. But when I tried to edit a instance and save, the dump occurred in the backend. System indicates that the dump occurs in getting alternative key. I found some of my BOPF nodes only have "DB_KEY" and "PARENT_KEY", system requires to have "ROOT_KEY" as well.

I do have association "#TO_COMPOSITION_ROOT" in my node but it seems the "ROOT_KEY" is not generated in the alternative key. Can anyone help me out of this issue? Thanks a lot!

cds-bopf-1.png (41.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers