L.Alexander
L.Alexander

Reputation: 23

How to determine whether backend database is HANA DB?

There is requirement that if backend database is HANA DB the system trigger a update operation. otherwise the db is non-HANA db the system raises an error.

How to determine whether backend database is HANA DB in ABAP codes?

Thanks & Regards

Upvotes: 1

Views: 651

Answers (1)

vwegert
vwegert

Reputation: 18483

Check CL_DB_SYS=>DBSYS_TYPE - if it is HDB, you're on a HANA system. Be sure to read the documentation of that attribute.

Upvotes: 4

Related Questions