Ansicht
Dokumentation

ABENDDIC_EXTERNAL_VIEWS - DDIC EXTERNAL VIEWS

ABENDDIC_EXTERNAL_VIEWS - DDIC EXTERNAL VIEWS

CPI1466 during Backup   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

- External Views

A DDIC external view is a special DDIC view that defines an SAP HANA view in SAP HANA XSC in ABAP programs. The structure type defined using the view fields of an external view can be referenced in ABAP programs using TYPE. An external view can be specified as a source in read statements

DDIC external views can only be created using the ABAP Development Tools (ADT) and only if the current database is an SAP HANA database. The SAP HANA view must exist in the SAP HANA Repository.

When a DDIC external view is activated, an alias with the name of the view is created on the SAP HANA database that points to the SAP HANA view. The names of the view fields of the external view can be defined differently from the names of the view fields of the SAP HANA view. The DDIC runtime object of the external view accesses the alias on the SAP HANA database. This performs a mapping of HANA-specific data types to the built-in types in ABAP Dictionary. The following table lists the currently supported HANA-specific data types and indicates which ABAP Dictionary types they are mapped to by default.

DDIC external views can be displayed in the ABAP Dictionary tool in the SAP GUI-based ABAP Workbench, but not maintained.

A DDIC external view can only be read using if an SAP HANA database is being accessed in which the associated SAP HANA view exists. If not, the uncatchable exception DBSQL_TABLE_UNKNOWN is raised. External views can exist actively and be used as data types in a system whose standard database is not an SAP HANA database. Views of this type cannot, however, be accessed through the standard connection using , only through a secondary connection to an SAP HANA database. Conversely, when an SAP HANA view in an SAP HANA database is accessed through a secondary connection in the current system, only an identically named DDIC database table or a DDIC view with suitable structure can exist actively in ABAP Dictionary.






TXBHW - Original Tax Base Amount in Local Currency   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 3143 Date: 20240426 Time: 163720     sap01-206 ( 64 ms )