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: 

New BOPF implementation on existing custom tables, implementation options

0 Kudos

We are on SAP ERP EHP7, NW 7.4 SP18.

I wanted to ask opinions from the community on how to best implement a complete refactoring of an existing ABAP solution.

To keep it simple, we have 3 custom tables that have many existing various custom ABAP objects that perform CRUD against them. I'm wanting to convert all of these calls to use a central BOPF architecture. Then we'll be wanting to implement some of the BOPF handled features like locking, change documents. Following that, we'll then be exposing them as odata entities and creating UI5 applications.

The question I have is would you:

  • implement BOPF on top of the existing table and implement a custom data access class

or

  • update the existing table key with a GUID and then implement BOPF on it?

I'm leaning towards updating the table keys to be BOPF compliant. This then would enable us to implement BOPF with out a custom DAC, right? I'm obviously greatly over simplifying, but want to simply weigh this option on its own.

1 ACCEPTED SOLUTION

cyclingfisch_
Active Contributor

Hi,

I would definitely go for the second option. Because implementing an own DAC is not that easy and SAP did already do it for you. So why not using it?

My suggestion would be to create new tables using the BOPF tools and migrate the data from your existing tables. This would ensure that the old CRUD logic is not used anymore to access the "BOPF enabled" tables and you don't get inconsistencies (e.g. missing GUIDs.)

Cheers Martin

2 REPLIES 2

cyclingfisch_
Active Contributor

Hi,

I would definitely go for the second option. Because implementing an own DAC is not that easy and SAP did already do it for you. So why not using it?

My suggestion would be to create new tables using the BOPF tools and migrate the data from your existing tables. This would ensure that the old CRUD logic is not used anymore to access the "BOPF enabled" tables and you don't get inconsistencies (e.g. missing GUIDs.)

Cheers Martin

0 Kudos

Thanks Martin,

I was also concerned about correctly converting existing CRUD operations and your strategy seems to eliminate inconsistent interactions.