Get Example source ABAP code based on a different SAP table
ABAP_AMDP in ABAP Release 7.71 ITOC
ABAP_MODIFICATION_NN Enhancement to Logical Database Schemas>
In logical database schemas>, a new flag can be specified that allows the current ABAP database schema> to be mapped in the transaction DB_SCHEMA_MAP>>. The predefined name :abap_db_schema> should be used for mappings of this type.
ABAP_MODIFICATION_NN Access to the Current ABAP Database Schema >
In an AMDP method>, a logical database schema> to which the current ABAP database schema> is mapped (using the predefined name :abap_db_schema> ) can be specified in the macro $ABAP.schema>>. For each logical database schema used in a macro like this, the new addition USING SCHEMA>> must be specified in the statement METHOD> to declare the used objects. In this way, an AMDP method can access database objects located in different database schemas in different systems (including the ABAP database schema) without needing to modify the syntax.