SAP ABAP Class CL_GRFN_ATF_SERVICES (Audit Trail Framework services)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷ GRC (Application Component) Governance, Risk and Compliance
⤷ GRFN_AUDIT_TRAIL (Package) Audit Trail
⤷ GRC (Application Component) Governance, Risk and Compliance
⤷ GRFN_AUDIT_TRAIL (Package) Audit Trail
Properties
Class | CL_GRFN_ATF_SERVICES | |
Short Description | Audit Trail Framework services | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | GRFN_AUDIT_TRAIL | Audit Trail |
Created | 20100429 | SAP |
Last change | 20141106 | |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_GRFN_ATF_SERVICES has no forward declaration.
Interfaces
Class CL_GRFN_ATF_SERVICES has no interface implemented.
Friends
Class CL_GRFN_ATF_SERVICES has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ATF_DATA_TYPE_ELEM | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_DATA_TYPE | 'E' | Abap Data Type - Elementary Type | 20100429 | |
2 | ATF_DATA_TYPE_STRUCT | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_DATA_TYPE | 'S' | Abap Data Type - Structured Type | 20100429 | |
3 | AT_TOPIC_AHISSUE | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_TOPIC_ID | 'AH_I' | Audit Trail Topic ID | 20100429 | |
4 | AT_TOPIC_CAPA | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_TOPIC_ID | 'CAPA' | Audit Trail for CAPA execution | 20100429 | |
5 | AT_TOPIC_PLAN | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_TOPIC_ID | 'RMDP' | Audit Trail Topic ID | 20100512 | |
6 | AT_TOPIC_RFCCR | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_TOPIC_ID | 'RFCCR' | Audit Trail for CR RFC | 20100429 | |
7 | GC_TYPE_CREATE | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_CHANGE_TYPE | 'C' | Change type of Audit data: Create | 20100429 | |
8 | GC_TYPE_DELETE | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_CHANGE_TYPE | 'D' | Change type of Audit data: Delete | 20100429 | |
9 | GC_TYPE_UNCHANGED | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_CHANGE_TYPE | 'N' | Change type of Audit data: Unchanged | 20100429 | |
10 | GC_TYPE_UPDATE | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_CHANGE_TYPE | 'U' | Change type of Audit data: Update | 20100429 | |
11 | READ_INVALID_OBJECT_KEY | Static Attribute | Public | Type reference (TYPE) | INT4 | 3 | I_OBJECT_KEY parameter in read method is empty | 20100429 | |
12 | READ_INVALID_TIME | Static Attribute | Public | Type reference (TYPE) | INT4 | 2 | I_TIME_XXX parameter(S) in read method is empty | 20100429 | |
13 | READ_INVALID_TOPIC_ID | Static Attribute | Public | Type reference (TYPE) | INT4 | 1 | I_TOPIC_ID parameter in read method is invalid | 20100429 | |
14 | READ_NO_RECORD_FOUND | Static Attribute | Public | Type reference (TYPE) | INT4 | 4 | No audit trail data found | 20100429 | |
15 | WRITE_DB_ERROR | Static Attribute | Public | Type reference (TYPE) | INT4 | 5 | Save data to database failed | 20100429 | |
16 | WRITE_INVALID_CHANGE_TYPE | Static Attribute | Public | Type reference (TYPE) | INT4 | 3 | I_CHANGE_TYPE parameter in write method is invalid | 20100429 | |
17 | WRITE_INVALID_OBJECT_KEY | Static Attribute | Public | Type reference (TYPE) | INT4 | 2 | I_OBJECT_KEY parameter in write method is empty | 20100429 | |
18 | WRITE_INVALID_TOPIC_ID | Static Attribute | Public | Type reference (TYPE) | INT4 | 1 | I_TOPIC_ID parameter in write method is invalid | 20100429 | |
19 | WRITE_INVALID_VALUE | Static Attribute | Public | Type reference (TYPE) | INT4 | 4 | I_VALUE_XXX parameter in write method is invalid | 20100429 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | READ | Static method | Public | Method | Read audit trail data | 20100429 |
2 | WRITE | Static method | Public | Method | Write audit trail data | 20100429 |
Events
Class CL_GRFN_ATF_SERVICES has no event.
Types
Class CL_GRFN_ATF_SERVICES has no local type.
Method Signatures
Method READ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_AUDIT_TRAIL_DATA | Call by reference | Type reference (TYPE) | GRFN_T_ATF | Audit Trail atom data | 20100429 | ||
2 | Exporting | E_RETURN_CODE | Value transfer | Type reference (TYPE) | INT4 | 0 is succeed; else error | 20100429 | ||
3 | Importing | IT_USERNAME | Call by reference | Type reference (TYPE) | SPERS_ULST | Who make the action | 20100429 | ||
4 | Importing | I_OBJECT_KEY | Value transfer | Type reference (TYPE) | TABKEY | Which object's data will be returned | 20100429 | ||
5 | Importing | I_OBJECT_SUBKEY | Value transfer | Type reference (TYPE) | TABKEY | Sub-object of the Object I_OBJECT_KEY | 20100429 | ||
6 | Importing | I_TIME_END | Value transfer | Type reference (TYPE) | TIMESTAMPL | When the audit starts | 20100429 | ||
7 | Importing | I_TIME_START | Value transfer | Type reference (TYPE) | TIMESTAMPL | When the audit starts | 20100429 | ||
8 | Importing | I_TOPIC_ID | Value transfer | Type reference (TYPE) | GRFN_ATF_TOPIC_ID | Audit Trail Topic ID | 20100429 |
Method READ on class CL_GRFN_ATF_SERVICES has no exception.
Method WRITE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | E_RETURN_CODE | Value transfer | Type reference (TYPE) | INT4 | The result of execution | 20100429 | ||
2 | Importing | I_CHANGE_TYPE | Value transfer | Type reference (TYPE) | GRFN_ATF_CHANGE_TYPE | Create / Delete / Update | 20100429 | ||
3 | Importing | I_OBJECT_KEY | Value transfer | Type reference (TYPE) | TABKEY | Which object is being trailed | 20100429 | ||
4 | Importing | I_OBJECT_SUBKEY | Value transfer | Type reference (TYPE) | TABKEY | The sub-object is being trailed, if there is | 20100429 | ||
5 | Importing | I_TIMESTAMP | Value transfer | Type reference (TYPE) | TIMESTAMPL | UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) | 20100429 | ||
6 | Importing | I_TOPIC_ID | Value transfer | Type reference (TYPE) | GRFN_ATF_TOPIC_ID | Topic of the audit trail, in GRFNATFTOPIC | 20100429 | ||
7 | Importing | I_USERNAME | Value transfer | Type reference (TYPE) | UNAME | SY-UNAME | Who made the change | 20100429 | |
8 | Importing | I_VALUE_NEW | Value transfer | Type reference (TYPE) | DATA | New value | 20100429 | ||
9 | Importing | I_VALUE_OLD | Value transfer | Type reference (TYPE) | DATA | Old value | 20100429 |
Method WRITE on class CL_GRFN_ATF_SERVICES has no exception.
History
Last changed by/on | SAP | 20141106 |
SAP Release Created in | 600 |