[ABAP] Prüfen des Datenenbanktyps, prüfen auf HANA DB

Variante 1 (cl_db_sys)

*ANY       Keine DB-spezifischen Optimierungen verwenden (nur Open SQL)
*HDB       HDB
*DB2       DB2
*DB400     DB4
*DB6       DB6
*ADABAS D  MaxDB
*INFORMIX  Informix
*MSSQL     MSSQL
*MYSQL     MYSQL
*ORACLE    Oracle
*SYBASE    Sybase
WRITE: / 'dbsys_type:', cl_db_sys=>dbsys_type.
WRITE: / 'is_in_memory_db:', cl_db_sys=>is_in_memory_db.

Variante 2 (cl_swnc_settings)

WRITE: / 'is_hana_on:', cl_swnc_settings=>is_hana_on( ).
WRITE: / 'are_hana_features_on:', cl_swnc_settings=>are_hana_features_on( ).