Ansicht
Dokumentation
ABENABAP_MANAGED_DB_OBJECTS_ASQL - ABAP MANAGED DB OBJECTS ASQL
rdisp/max_wprun_time - Maximum work process run time Fill RESBD Structure from EBP Component StructureThis documentation is copyright by SAP AG.
Access to ABAP-Managed Database Objects
includes a set of statements for use in ABAP programs. The database is accessed using the interface of the database interface, which transforms the statements into platform-dependent SQL.
can be used to access ABAP-managed database objects as follows:
- Reads and writes on database tables and DDIC database views defined in the ABAP Dictionary. Writes on DDIC database views are restricted.
- Reads on the database objects of CDS views, CDS table functions, and CDS hierarchies. When a CDS table function is accessed, the associated AMDP table function is called internally and its result is provided as the result set of the statement.
The most important features are as follows:
- is largely platform-independent
- is based on the data types defined in the ABAP Dictionary and their possible enhancements.
- respects the order of fields defined in the ABAP Dictionary, since this can differ from the order in the database.
- checks the compatibility of host variables with the associated dictionary types or database types.
- enables conversions between ABAP types and platform-dependent data types in accordance with uniform ABAP-specific rules.
- has its own handler for null values.
- supports the following ABAP Dictionary and ABAP CDS functions:
- Evaluating CDS access control
- Enhancement categories of DDIC structures are respected
- accesses a CDS entity using its name and respects all its relevant attributes. Access to CDS-managed DDIC views is obsolete and forbidden in strict mode from Release .
- Implicit client handling depends on how client dependency is defined using the corresponding annotations in the DDL source code.
- The CDS roles mapped to the CDS entity are evaluated.
- The key fields defined in the CDS entity are respected.
- Actual parameters can be assigned to the input parameters of a CDS entity in uniform syntax.
- SQL path expressions can be specified for CDS associations.
- When is used to access a CDS hierarchy, the additional hierarchy columns can also be read.
- All session variables are set correctly on all platforms when is used to access a CDS view entity or . More specifically, the addition USING CLIENT modifies the session variable client.
- When is used to access a CDS table function, the access is transformed to the call of the associated AMDP table function.
- Database objects specified statically in are recorded in the where-used list of the ABAP tools. Each time an ABAP-managed database object is modified it is advisable to record it in the where-used list. In this way the effects of the modification can be controlled.
- enables dynamic tokens to be specified that are evaluated at runtime of an ABAP program.
- DDL statements are not included in . The respective ABAP-managed database objects cannot be modified in and no other database objects can be created or modified.
- supports the use of ABAP-managed secondary connections or service connections.
- respects the dependency rules defined for a database.
- respects data aging by default.
Note
Some of the semantic attributes defined in the ABAP Dictionary or ABAP CDS, such as foreign key relationships or reference fields, are ignored in and are respected only by classic Dynpros, Web Dynpros, and some other frameworks. The latter applies in particular to the evaluation of framework-specific annotations in ABAP CDS.
General Material Data Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 8451 Date: 20240425 Time: 071117 sap01-206 ( 84 ms )