Identify the database used for backend in ABAP

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.

Samual Sam
Samual Sam

Learning faster. Every day.