Académique Documents
Professionnel Documents
Culture Documents
Oracle Apps provides an Out of the Box Audit Trail Functionality that works like a charm.
I never had thought about writing an Article on Audit Trail feature, until Kartikey pinged me to
write an article on this subject. You can achieve Auditing[as explained in Step by Step example
below] without writing a single piece of Code in Oracle Apps. It can be argued that CDC
[change data capture] might be used, but I think the design of CDC is more friendly for
Warehousing purposes, rather than Audit Reporting.
Lets say that we wish to create a audit trail on a table named FND_LOOKUP_VALUES.
Now, add audit tables to this group[you can add as many tables]
User Table Name: FND_LOOKUP_VALUES
1/3
Audit Trail in Oracle Apps - EBS
Step
SELECT
FROM
WHERE 5: Ensure
all_objects that
object_name,
object_name
FND_LOOKUP_VALUES_AC
FND_LOOKUP_VALUES_AC1
FND_LOOKUP_VALUES_AD
FND_LOOKUP_VALUES_ADP
FND_LOOKUP_VALUES_AH
FND_LOOKUP_VALUES_AI
FND_LOOKUP_VALUES_AIP
FND_LOOKUP_VALUES_AT
FND_LOOKUP_VALUES_AU
FND_LOOKUP_VALUES_AUP
FND_LOOKUP_VALUES_AV1
Fine, this proves Audit
thatrun LIKE
OBJECT_NAME
FND_LOOKUP_VALUES_A the Tables
object_type
concurrent have
VIEW
TRIGGER
TRIGGER
PROCEDURE
TRIGGER
PROCEDURE
VIEW been
'FND_LOOKUP_VALUES_A%'
OBJECT_TYPE
-------------------------- program increated
--------------------------
TABLE
SYNONYM Step as expected
Optionally,
validate
Step 6:
Navigate
as below. the
Now
toyou
success
may
create
“Applicationaof Audit
newconcurrent
Table/Trigger
lookup
Developer” process
type to creation.
test
responsibility and4create
“AuditTrail
Audit did itsajob.
Report
Trail for Audittype
lookup Group
andValidation” to
Lookup codes
Step run
Now
SELECT
FROM 7:fnd_lookup_values_a
Now
the see the
query results
below,
,audit_user_name
,audit_sequence_id
,lookup_code
,lookup_type you of
can
audit_transaction_type the Audit
see Trail information has been generated.
the Audit
2/3
Audit Trail in Oracle Apps - EBS
Step
By 8: Add
However
Column
Navigate further
FND_LOOKUP_VALUES.
default
toOracle
Meaning
further columns
columns
Systemtoo. can for
willAdministrator
Audit Trail
be onAudit
added
Menu Trail
all columns
to that are
the Audit a part
Trail. Lets of
say
Security/AuditTrail/Tables first
youavailable
wish to Unique Index
Audit Trail on on
You can
Please
single
This add
note
explains
line additional
ofthat
howadding
code. columns
you can Audit to
columns foraudit
trail trail
Audit
changes and
could re-execute
to have
Data been Step
done
in Oracle 4.
immediately
Applications, after Step
without 3. a
writing
3/3