Skip to Content
Mar 18 at 09:54 AM

Extending Draft Enabled Standard CDS view with BOPF

215 Views Last edit Jul 17 at 08:29 AM 3 rev

Hi Experts,

I have standard Fiori application having draft functionality. That is based on CDS BOPF model where business object is created from CDS to achieve CUD functionality.

Requirement is to extend application to have 2 extra field which we can maintain from UI.

I have below queries:

1. Can we extend CDS view which is draft enabled and extended field will be added to draft table. Is this possible? - I have tried for normal CDS view and it works additional fields reflects in UI and OData service automatically.

2. Suppose that fields get added to draft table, next to write code to update value to database tables — I can do implicit enhancement in draft class to achieve it. Or shall i think about writing Pre/Post methods as we do normally with class enhancements.

3. Is there any need to redefine the Odata service?

So many questions related to extension of CDS BOPF model.

I have worked on custom application created with CDS BOPF model. But never tried extending standard app based on same model.

Please let me know if you have worked on such requirements.

Thanks in advance,

Dhiraj More