SAP ASE: Plan INSERT Auditing Across User Tables and Views

To audit INSERT operations across an ASE 16.0 database, first configure the auditing infrastructure, including sybsecurity. Enabling object-level rules alone is not a complete audit setup.

Identify the objects

SAP KBA 3663034 selects user tables and views from sysobjects, then applies sp_audit to each. Review the target database and object list before applying a bulk change.

select name from sysobjects where type in ('U','V')
go

Apply the intended audit rule

For a reviewed object, the rule follows this pattern:

sp_audit 'insert', 'all', '<object-name>', 'on'
go

The KBA provides a loop for the full selected set. Test the rule and confirm audit records are written for representative operations before extending coverage.

Plan audit-volume monitoring and retention as part of the change. INSERT auditing does not automatically cover UPDATE, DELETE or every database event.

SAP Note 2601042 — Configure ASE Auditing

Reference

SAP Note 3663034

You May Also Like

Leave a Reply?