Person-related data is subject to frequent changes. Therefore, for revision purposes or as a result of legal regulations, it may be necessary to be able to track the changes made.If these changes are logged, at any time you can check which employee made which change and when. It is also possible to analyze errors in this way.
You can enter changes to infotype data records as change documents. You can create change documents for all infotypes that are used in Personnel Development, Training Management, and Organizational Management.
You can also activate the creation of change documents for customer-specific infotypes. For more information, see Creation of Change Documents for Customer-Specific Infotypes .
The creation of change documents for Personnel Planning infotypes is based on the SAP Change Document solution (transaction SCDO ).
The SAP Change Document solution is based on change document objects. The change document objects can be created by application development. These objects represent application objects in the change document solution. You can assign database tables to any change document object. The changes made to the data in the database tables are then logged together with the change document object. A change document update program, meaning a function module, which has to be called by the application (in the application update program), can be generated for each change document object.
For more information about the SAP Change Document solution, see Creation of Events When Change Documents Are Written .
You have set up this function in Customizing for Personnel Development, under
Basic Settings -> Activate Change Documents
.
The infotypes for which you want to activate the creation of change documents need to have been entered in table T77CDOC (
Administration of Change Document Object Class
). You can also register customer-specific infotypes in table T77CDOC. You can activate the creation of change documents in table T77CDOC_CUST (
Activate Creation of Change Documents
) only for the infotypes registered in this table. For more information, see
Customizing Settings for Creation of Change Documents
.
SAP delivers standard implementations of change documents for Personnel Planning infotypes:
If you use one of these standard implementations, an infotype is fully connected to the creation of documents. You do not need to write an additional infotype-specific code. The standard implementations are made available as ABAP classes (document object classes). In the case of other solutions, you can pass the properties of the ABAP classes onto the solution and enhance or redefine existing methods, or implement entirely new ones.
Each infotype for which change documents are created is assigned one document object class in table T77CDOC. You can also assign a document object class to customer infotypes. For more information, see Creation of Change Documents for Customer-Specific Infotypes .
In Customizing table T77CDOC_CUST (
Activate Creation of Change Documents)
you can activate the creation of change documents for specific infotypes, plan versions, object types, and subtypes. For more information, see
Customizing Settings for Creation of Change Documents
.
In the standard SAP system, the creation of change documents is deactivated for all infotypes. You can only activate infotypes that have been prepared for the creation of change documents, that is those infotypes for which a valid entry exists in table T77CDOC.
See also:
Administration of Change Document Object Classes (Table T77CDOC)