If your SAP systems run on HANA you will need to upload the scripts to run extended queries. The scripts are accessible using the SAP ONE Support Launchpad: 1969700 - SQL Statement Collection for SAP HANA.
Administrator -> Setup Metric -> Metric Filters → SQL Script Metrics → HDB Queries
...
Select Upload file button
...
Navigate to where HDB_SCRIPTS.xml or HDB_SCRIPTS.SQLStatements.zip file has been saved and select
...
Once uploaded, select scripts you want to run and then press “Save” from the top menu
...