Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Use of BOPF and CDS Views

glenn_karlsson2
Participant

Hi,

I am trying to figure out when and where to use CDS Views and BOPF framework compared to other "techniques".

Is it good practice to build a BOPF to manage parts of the current standard SAP objects, for example customer, vendor or material master data? Since there are so many tables involved and a lot of dependencies, for example for customer master I guess that there are ALOT of validation needed before creating or deleting a customer? Almost all examples and tutorials found on the internet are managing Z-tables.

Or should I consider BOPF only when modelling a new Z-solution where I have full control over all entities and their dependencies?

Since CDS are pushed down in the database layer I suppose that CRUD are done directly in database and that I cannot use a standard BAPI's for changing customers or creating orders. Is that correct?

But I guess that an action in the BO can perform such BAPI calls, so that might be the way to ensure data consistency when creating stuff in SAP standard tables, like KNA1 and VBAK.

Any directions to when and why I should use CDS/BOPF and when not to are appreciated,

regards,

Glenn

1 REPLY 1

any updates on this?

I would also be very interested in the topic of creating BOPF BO's (based on CDS) for SAP standard Tables.

Greetings

Benjamin