AS ABAP Release 758, ©Copyright 2024 SAP SE. All rights reserved.
ABAP - Keyword Documentation → ABAP - ABAP Release News → News for ABAP Release 7.5x → News for ABAP Release 7.51 →
AMDP in ABAP Release 7.51
Logical Database Schemas
Logical database schemas were introduced as symbolic names for physical
database schemas in
the SAP HANA database. Instead of physical database schemas, logical database schemas can be used by
frameworks (in particular AMDP methods) to access objects from different database schemas in Native SQL or AMDP.
Use of Logical Database Schemas in AMDP Methods
When an AMDP method is implemented in an AMDP class with SQLScript, the following new AMDP macro
"$ABAP.schema( [name =] schema_name )"
can be used to specify logical database schemas instead of physical database schemas. The ABAP runtime environment replaces these schemas on the database with the associated physical database schemas.