SAP Knowledge Base Article - Preview

3354839 - ALTER AUDIT POLICY command fails with error: Number of days for retention too small or no retention for used trail types allowed at all

Symptom

When execute "ALTER AUDIT POLICY "AUDIT_ABC" SET RETENTION 5" to set the audit retention period for HANA audit policy, it failed with error below.

Could not execute 'ALTER AUDIT POLICY "AUDIT_ABC" SET RETENTION 5'
SAP DBTech JDBC: [3851]: Number of days for retention too small or no retention for used trail types allowed at all



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 or higher.
  • HANA Cloud 1.0

Product

SAP HANA 1.0, platform edition ; SAP HANA Cloud 1.0 ; SAP HANA, platform edition 2.0

Keywords

Audit policy, retention period, minimal_retention_period, 7 days, audit trail type, alter audit policy , KBA , HAN-DB-SEC , SAP HANA Security & User Management , How To

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.