There are several ways to check database running on SAP.
1. When you logged in to SAP system through SAP GUI , you can check the database from SYSTEM > STATUS.
2. Another way to check database, go to SE24 tcode and then put the class name CL_DB_SYS and run the class.
If HANA database is exist then in IS_IN_MEMORY_DB attribute will be 'X' and DBSYA_TYPE attribute will be DHB.
If HANA database is not exist then IS_IN_MEMORY_DB attribute will be blank and DBSYA_TYPE attribute will be showing the existing oracle database.
If you have any Question you can contact us or mail us.We will reply you as soon as possible.