SAP BDL BODY



Get Example source ABAP code based on a different SAP table
  



ABAP_RAP - Entity Behavior Body

ABAP_SYNTAX

... ${$[field characteristics$]
$[field numbering$]
$[RAP BO operations$]
$[validations$]
$[determinations$]
$[type mapping$]$}
$| $[implementation grouping$]
...

What does it do?
The entity behavior body can consist of the following elements:
Field characteristics: additions for fields of a RAP BO entity can be defined. For example, it can be defined that it is mandatory to enter a value into a field or that a field is read-only.
Field numbering: defines managed internal numbering for a key field.
RAP BO operations: RAP BO operations implement the RAP BO behavior.
Validations: validations check the consistency of a RAP business object instance.
Determinations: determinations calculate or determine field values at runtime.
Type mapping: a type mapping is required if the field names from database tables differ from field names of the CDS data model.
Implementation grouping: Makes it possible to divide the implementation-relevant parts of a business object's business logic into multiple groups for behavior implementation, each with its own implementation class.