Show TOC

Procedure documentationEnabling Change Log for CAF Business Object Node Locate this document in the navigation structure

 

After you deploy an application with change log-enabled business object nodes (BONs), all changes such as creation, deletion, and changes made to an application's BONs are logged in a log file (called an auditability log file). Readings of the BONs are not logged. The auditability log file may contain the following information:

  • ID of the logged data.

  • Current transaction information.

  • Information about the user that performs the change.

  • Information about the business object node in which the change happened.

  • Information about the business object node instance which was created, deleted, or whose fields or associations were updated.

  • Information about the change that happened itself.

As for the BON, you can find the following information:

  • Name of the application in which this business object node resides.

  • Name of the package in which this business object node is defined.

  • Name of the BON.

Note that in case of bidirectional association, information about changes is logged for both BONs that participate in the association. However, deletion of association is not logged upon deletion of one of the BONs that are part of the association.

Caution Caution

The change log feature of CAF BONs cannot be used for fully-fledged auditability purposes because it is not compliant with all parts of the security standard. It can be used only for logging information which does not contain sensitive data.

End of the caution.

Procedure

  1. Open the General tab of the required BON in the SAP NetWeaver Developer Studio.

  2. Mark the Audit enabled checkbox.

  3. Save and generate the project.

    The log file is located in the directory of the default trace files (\j2ee\cluster\server0\log) and is named caf_audit.log.