SAP Knowledge Base Article - Preview

3596616 - Editing HANA Audit Policy Fails with Error "SAP DBTech JDBC: [7]: feature not supported: No audit trail types on multidb systems, except TABLE with RETENTION"

Symptom

When editing a HANA Audit policy in HANA Studio, the operation fails with the following error:



HANA Studio log (.log) contains the following error messages:
!ENTRY com.sap.ndb.studio.sql.model 4 4 2025-04-16 11:01:51.708
!MESSAGE Error while changing audit policy '_SAP_session connect' : ALTER AUDIT POLICY "_SAP_session connect"  SET TRAIL TYPE TABLE
!STACK 0
com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [7]: feature not supported: No audit trail types on multidb systems, except TABLE with RETENTION
    at com.sap.db.jdbc.exceptions.SQLExceptionSapDB._newInstance(SQLExceptionSapDB.java:209)
    at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.newInstance(SQLExceptionSapDB.java:42)
    at com.sap.db.jdbc.packet.HReplyPacket._buildExceptionChain(HReplyPacket.java:891)
    at com.sap.db.jdbc.packet.HReplyPacket.getSQLExceptionChain(HReplyPacket.java:215)
    at com.sap.db.jdbc.packet.HPartInfo.getSQLExceptionChain(HPartInfo.java:39)
    at com.sap.db.jdbc.ConnectionSapDB._receive(ConnectionSapDB.java:5888)
    at com.sap.db.jdbc.ConnectionSapDB.exchange(ConnectionSapDB.java:2708)
    at com.sap.db.jdbc.StatementSapDB._executeDirect(StatementSapDB.java:2258)
    at com.sap.db.jdbc.StatementSapDB._execute(StatementSapDB.java:2232)
    at com.sap.db.jdbc.StatementSapDB._execute(StatementSapDB.java:2193)
    at com.sap.db.jdbc.StatementSapDB.execute(StatementSapDB.java:698)
    at com.sap.ndb.studio.sql.model.accesscontrol.impl.AuditPolicyImpl.executeSQL(AuditPolicyImpl.java:1187)
    at com.sap.ndb.studio.sql.model.accesscontrol.impl.AuditPolicyImpl.deployModifications(AuditPolicyImpl.java:713)
    at com.sap.ndb.studio.sql.model.accesscontrol.impl.AuditPoliciesImpl.deployModifications(AuditPoliciesImpl.java:806)
    at com.sap.ndb.studio.authorization.util.EMFModelExecutor$ChangeCommand.executeCommand(EMFModelExecutor.java:411)
    at com.sap.ndb.studio.authorization.util.EMFModelExecutor$EmfExectionCommand.run(EMFModelExecutor.java:309)
    at com.sap.ndb.studio.authorization.util.EMFModelExecutor$SqlBackGroundJob$1.call(EMFModelExecutor.java:486)
    at com.sap.ndb.studio.authorization.util.EMFModelExecutor$SqlBackGroundJob$1.call(EMFModelExecutor.java:1)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:840)

 "Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

SAP HANA, platform edition 2.0

Product

SAP HANA, platform edition 2.0

Keywords

HANA, audit policy, edit, Error while changing audit policy, com.sap.db.jdbc.exceptions.JDBCDriverException, feature not supported, No audit trail types on multidb systems, except TABLE with RETENTION , KBA , HAN-DB-SEC , SAP HANA Security & User Management , HAN-STD-ADM-DBA , SAP HANA Studio (Eclipse) Admin Tooling , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.