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
⤷
⤷
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 | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_DATA_TYPE | 'E' | Abap Data Type - Elementary Type | 20100429 | ||
| 2 | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_DATA_TYPE | 'S' | Abap Data Type - Structured Type | 20100429 | ||
| 3 | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_TOPIC_ID | 'AH_I' | Audit Trail Topic ID | 20100429 | ||
| 4 | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_TOPIC_ID | 'CAPA' | Audit Trail for CAPA execution | 20100429 | ||
| 5 | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_TOPIC_ID | 'RMDP' | Audit Trail Topic ID | 20100512 | ||
| 6 | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_TOPIC_ID | 'RFCCR' | Audit Trail for CR RFC | 20100429 | ||
| 7 | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_CHANGE_TYPE | 'C' | Change type of Audit data: Create | 20100429 | ||
| 8 | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_CHANGE_TYPE | 'D' | Change type of Audit data: Delete | 20100429 | ||
| 9 | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_CHANGE_TYPE | 'N' | Change type of Audit data: Unchanged | 20100429 | ||
| 10 | Static Attribute | Public | Type reference (TYPE) | GRFN_ATF_CHANGE_TYPE | 'U' | Change type of Audit data: Update | 20100429 | ||
| 11 | Static Attribute | Public | Type reference (TYPE) | INT4 | 3 | I_OBJECT_KEY parameter in read method is empty | 20100429 | ||
| 12 | Static Attribute | Public | Type reference (TYPE) | INT4 | 2 | I_TIME_XXX parameter(S) in read method is empty | 20100429 | ||
| 13 | Static Attribute | Public | Type reference (TYPE) | INT4 | 1 | I_TOPIC_ID parameter in read method is invalid | 20100429 | ||
| 14 | Static Attribute | Public | Type reference (TYPE) | INT4 | 4 | No audit trail data found | 20100429 | ||
| 15 | Static Attribute | Public | Type reference (TYPE) | INT4 | 5 | Save data to database failed | 20100429 | ||
| 16 | Static Attribute | Public | Type reference (TYPE) | INT4 | 3 | I_CHANGE_TYPE parameter in write method is invalid | 20100429 | ||
| 17 | Static Attribute | Public | Type reference (TYPE) | INT4 | 2 | I_OBJECT_KEY parameter in write method is empty | 20100429 | ||
| 18 | Static Attribute | Public | Type reference (TYPE) | INT4 | 1 | I_TOPIC_ID parameter in write method is invalid | 20100429 | ||
| 19 | 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 | Static method | Public | Method | Read audit trail data | 20100429 | |
| 2 | 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 | ET_AUDIT_TRAIL_DATA | Call by reference | Type reference (TYPE) | GRFN_T_ATF | Audit Trail atom data | 20100429 | |||
| 2 | E_RETURN_CODE | Value transfer | Type reference (TYPE) | INT4 | 0 is succeed; else error | 20100429 | |||
| 3 | IT_USERNAME | Call by reference | Type reference (TYPE) | SPERS_ULST | Who make the action | 20100429 | |||
| 4 | I_OBJECT_KEY | Value transfer | Type reference (TYPE) | TABKEY | Which object's data will be returned | 20100429 | |||
| 5 | I_OBJECT_SUBKEY | Value transfer | Type reference (TYPE) | TABKEY | Sub-object of the Object I_OBJECT_KEY | 20100429 | |||
| 6 | I_TIME_END | Value transfer | Type reference (TYPE) | TIMESTAMPL | When the audit starts | 20100429 | |||
| 7 | I_TIME_START | Value transfer | Type reference (TYPE) | TIMESTAMPL | When the audit starts | 20100429 | |||
| 8 | 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 | E_RETURN_CODE | Value transfer | Type reference (TYPE) | INT4 | The result of execution | 20100429 | |||
| 2 | I_CHANGE_TYPE | Value transfer | Type reference (TYPE) | GRFN_ATF_CHANGE_TYPE | Create / Delete / Update | 20100429 | |||
| 3 | I_OBJECT_KEY | Value transfer | Type reference (TYPE) | TABKEY | Which object is being trailed | 20100429 | |||
| 4 | I_OBJECT_SUBKEY | Value transfer | Type reference (TYPE) | TABKEY | The sub-object is being trailed, if there is | 20100429 | |||
| 5 | I_TIMESTAMP | Value transfer | Type reference (TYPE) | TIMESTAMPL | UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) | 20100429 | |||
| 6 | I_TOPIC_ID | Value transfer | Type reference (TYPE) | GRFN_ATF_TOPIC_ID | Topic of the audit trail, in GRFNATFTOPIC | 20100429 | |||
| 7 | I_USERNAME | Value transfer | Type reference (TYPE) | UNAME | SY-UNAME | Who made the change | 20100429 | ||
| 8 | I_VALUE_NEW | Value transfer | Type reference (TYPE) | DATA | New value | 20100429 | |||
| 9 | 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 |