SAP DDIC EXTERNAL VIEWS



Get Example source ABAP code based on a different SAP table
  



ABAP_DDIC - External Views (Obsolete)
ABAP_NOTE SAP HANA XSA replaces SAP HANA XSC. The access methods designed specifically for XSC objects are not suitable for XSA objects. After all XSC objects have been migrated to XSA, the access methods designed for XSC became mostly obsolete. DDIC external views represent one XSC access method and have become obsolete. More information can be found in SAP Notes 2465027 and 3116165.
A DDIC external view is a special DDIC view that makes an SAP HANA view from SAP HANA XSC known 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 AB-SQL 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 and a mapping of HANA-specific data types to the built-in types in ABAP Dictionary takes place. The following table lists the currently supported HANA-specific data types and indicates which ABAP Dictionary types they are mapped to by default.