ABAP Keyword Documentation → ABAP − Reference
ABAP RESTful Programming Model
ABAP RESTful Programming Model is an ABAP programming model for browser-based applications that are optimized for SAP HANA. This is a methodology for developing architectures for distributed systems that use the Web to communicate with each other. This methodology is based on a set of rules that specify how network resources are defined and addressed.
The ABAP RESTful Programming Model is based on data modeling using ABAP CDS views. The ABAP RESTful Programming Model uses ABAP CDS to define the data model for business objects.
A business object in the ABAP RESTful Programming Model provides following functions:
- a data model that defines the data structure explicitly,
- the behavior of the data model, which consists of
- the data lifecycle (for example, through the standard operations create, update, and delete),
- further operations performed on data (such as actions),
- and transactional properties of the data model (such as the implementation type of the behavior of the business object).
Each business object contains a top node called root entity. The formal structure of a business object consists of a tree of entities (composition tree) joined by associations.
The behavior of the business object is defined in a behavior definition and implemented in an associated behavior implementation.
The Behavior Definition Language (BDL) is used to define the business object behavior.
The behavior implementation is contained in behavior pools that reference the behavior definitions. The concrete implementation of a business object is based on ABAP. The behavior implementation is split into two phases:
- an interaction phase (involving one or more local handler classes),
- a save phase (involving one local saver class).
Other versions:
7.31 | 7.40 | 7.54