Performing CRUD operations with BOPF

Objectives
After completing this lesson, you will be able to:

After completing this lesson, you will be able to:

  • Explain the steps to perform CRUD operations with BOPF

Business Object Processing Framework (BOPF)

Create and Delete Data with SAP Fiori Elements

You can use the List Report and an Object to create a new object.

By adding a + button to the toolbar, you can navigate to the object page where all fields are editable to create a new object.

You can also delete a record by selecting the radio button on the left of the record and then choosing Delete on the toolbar.

Updating a Record

When you are on an object page, you can use the Edit button to switch between display mode and edit mode. You can also delete this record by choosing Delete.

Draft Control

SAP Fiori elements can also handle the status of a record.

For example, when User A wants to update a record, a draft is created for this record. If User B wants to update this record at the same time, his account is blocked from making the change.

Architecture

Here you can see the architecture for an SAP Fiori elements application with write capability.

Note

For Detailed information of how to create transactional list report and object page.

Please proceed as follows:

Open URL https://help.sap.com/viewer/p/SAP_NETWEAVER_AS_ABAP_752, then navigate to Development→Development Information→Application Development on AS ABAP→SAP - ABAP Programming Model for SAP Fiori→Develop→Developing New Transactional Apps

Save progress to your learning plan by logging in or creating an account