Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Identify the database used for backend in ABAP

In my project, for a requirement, I need to identify the backend database system.

If the database is the required then execute the required logic otherwise log an exception and continue.

Can someone help me to identify the backend database in ABAP?


1 Answer
Samual Sam

If you would have searched a little in the SAP documentation, then you would have found out the answer.

You can use the CL_DB_SYS=>DBSYS_TYPE to fetch the database. For e.g. If you are using SAP HANA as the database, then the DBSYS_TYPE will have the value as HDB.

Advertisements

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.