What is BOPF? Explain a business object, its nodes and the tools you use to build and test one.
Say your answer out loud first.
Practise another way
BOPF, the Business Object Processing Framework, models a business object as a tree of nodes: one root node and subnodes linked by compositions. Each node has persistent attributes stored in a table, optional transient ones, and generated combined structures.
Logic hangs on the nodes as determinations, validations and actions, and consumers use a service manager and transaction manager. I build in BOBX and test in BOBT. Today it is a legacy model: SAP says new applications should use RAP.
What it is The Business Object Processing Framework (BOPF) is an ABAP framework for transactional business objects. SAP applications such as Transportation Management are built on it, and the CDS-based flavour powered the ABAP Programming Model for SAP Fiori (AS ABAP 7.51 to 7.54).
Business object and nodes
- A business object has exactly one root node and any number of subnodes; the hierarchy is described by composition associations.
- A node is a data structure. Its persistent structure holds the attributes stored in the database; an optional transient structure holds values computed at runtime.
- BOPF generates a combined structure (technical key plus persistent plus transient attributes), a combined table type, and the database table with key and client.
- Each node instance has a technical key (a GUID); business keys are modelled as alternative keys.
- A constants interface (for example
ZIF_..._C) gives you typed names for the BO key, nodes, associations and actions, so code never uses literal GUIDs.
Behaviour on the node
- Determinations: derive data when a trigger fires.
- Validations: action validations and consistency validations; they never change data.
- Actions: operations such as RELEASE, implemented in a class with
/BOBF/IF_FRW_ACTION. - Queries, associations, authorization checks and alternative keys.
Tools
| Transaction | Use |
|---|---|
| BOB | Business Object Builder, wizard-based, simple enhancements |
| BOBX | BO Builder for eXperts, full custom BOs |
| BOBT | BO test environment: create, update, delete, run actions and validations |
BOBT writes to the database for real, so be careful where you use it.
How it is used
Consumers get a service manager for the BO (/BOBF/CL_TRA_SERV_MGR_FACTORY) to read, modify and call actions, and the transaction manager (/BOBF/CL_TRA_TRANS_MGR_FACTORY) to save or clean up.
Where it stands in 2026 SAP's BOPF topic page states that new applications should use the ABAP RESTful Application Programming Model (RAP) or other ABAP Cloud technologies.
RAP replaced CDS-based BOPF from ABAP Platform 7.54. You still need BOPF knowledge to maintain and extend existing objects, and to plan their move to RAP.
Describes root and subnodes, persistent versus transient attributes, generated structures, the logic entities, BOBX and BOBT, and states that RAP is the model for new work.
Describes BOPF as the current way to build Fiori apps, or cannot name a node, a determination or BOBT.
Presenting BOPF as the current model for new apps. Prep sites still do; SAP's own BOPF page points new development to RAP.
- What is the combined structure, and why is it generated?
- What is the difference between a technical key and an alternative key?
- Why is BOBT risky in a production client?
4 official pages and 1 prep guide. Confidence: high. Checked 3 Dec 2026.
- Prep guide Gives the question.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.