SAP ABAP Class CL_GRFN_ATF_UTIL (Audit Trail Util class)
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_UTIL | |
| Short Description | Audit Trail Util class | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GRFN_AUDIT_TRAIL | Audit Trail |
| Created | 20080921 | SAP |
| Last change | 20141106 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_GRFN_ATF_UTIL has no interface implemented.
Friends
Class CL_GRFN_ATF_UTIL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | GUID_32 | Audit Trail Guid ID | 20100401 | |||
| 2 | Constant | Public | Type reference (TYPE) | FPM_EVENT_ID | 'GRFN_AT_APPLY' | ID of the FPM Event | 20100426 | ||
| 3 | Constant | Public | Type reference (TYPE) | FPM_EVENT_ID | 'GRFN_AT_CLEAR' | ID of the FPM Event | 20100426 | ||
| 4 | Constant | Public | Type reference (TYPE) | GRFN_NAV_VARIANT | 'AUDIT_TRAIL' | Variant for Navigation | 20100422 | ||
| 5 | Static Attribute | Public | Type reference (TYPE) | GRPC_TS_STATUS | live status for Ad-hoc Issue | 20100701 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | GRFN_T_ESIG_AUDIT_TRAIL | Table of GRPC_S_ESIG_AUDIT_TRAIL | 20081103 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | GRFN_T_AT_MID | middle ware table type for audit trail esig | 20081103 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | check data validaty | 20100428 | |
| 2 | Static method | Public | Method | Verify whether exist ATF record for the object | 20100527 | |
| 3 | Static method | Public | Method | 20080921 | ||
| 4 | Static method | Private | Method | get list of E-Signature information upon particular CAPA ID | 20081216 | |
| 5 | Static method | Public | Method | 20081102 | ||
| 6 | Static method | Public | Method | 20100514 | ||
| 7 | Static method | Public | Method | 20080922 | ||
| 8 | Static method | Public | Method | 20080921 | ||
| 9 | Static method | Public | Method | 20081102 | ||
| 10 | Static method | Public | Method | 20100701 | ||
| 11 | Static method | Public | Method | read object name via APIBASIS | 20100429 | |
| 12 | Static method | Public | Method | read otr from package GRFN_WD | 20081103 | |
| 13 | Static method | Public | Method | Read audit trail data | 20100331 | |
| 14 | Static method | Public | Method | read E-sig info by specific criteria | 20081216 | |
| 15 | Static method | Public | Method | Write audit trail data | 20100331 | |
| 16 | Static method | Public | Method | Write audit trail whose grfnats entry info are different | 20100408 |
Events
Class CL_GRFN_ATF_UTIL has no event.
Types
Class CL_GRFN_ATF_UTIL has no local type.
Method Signatures
Method CHECK_VALIDATY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100428 | |||
| 2 | RV_RESULT | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100428 |
Method CHECK_VALIDATY on class CL_GRFN_ATF_UTIL has no exception.
Method EXIST_AT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_EXIST | Value transfer | Type reference (TYPE) | BOOLE_D | 20100527 | ||||
| 2 | IV_OBJECT_KEY | Call by reference | Type reference (TYPE) | TABKEY | Table Key | 20100527 |
Method EXIST_AT on class CL_GRFN_ATF_UTIL has no exception.
Method GET_ACTION_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ACTION | Call by reference | Type reference (TYPE) | GRFN_ACTION_ID | Action for audit trail | 20080921 | |||
| 2 | R_NAME | Value transfer | Type reference (TYPE) | GRFN_TEXT100 | Text | 20080921 |
Method GET_ACTION_NAME on class CL_GRFN_ATF_UTIL has no exception.
Method GET_ESIG_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ESIG_CAPA | Value transfer | Type reference (TYPE) | GRFN_T_ESIG_AUDIT_TRAIL | exporting esig info | 20081216 | |||
| 2 | IV_CAPA_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | GRPC ID of the individual object | 20081216 | |||
| 3 | IV_DATE_FROM | Call by reference | Type reference (TYPE) | ALDATE | begin date in filter | 20081216 | |||
| 4 | IV_DATE_TO | Call by reference | Type reference (TYPE) | ALDATE | end date in filter | 20081216 |
Method GET_ESIG_LIST on class CL_GRFN_ATF_UTIL has no exception.
Method GET_ROLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ROLE | Call by reference | Type reference (TYPE) | GRFN_ROLE | Role ID | 20100917 | |||
| 2 | E_ROLE_NAME | Call by reference | Type reference (TYPE) | GRFN_TEXT100 | Text | 20081102 | |||
| 3 | I_STATUS | Call by reference | Type reference (TYPE) | GRFN_STATUS_ID | Status | 20081102 |
Method GET_ROLE on class CL_GRFN_ATF_UTIL has no exception.
Method GET_ROLE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ROLE | Call by reference | Type reference (TYPE) | GRFN_ROLE | Role ID | 20100514 | |||
| 2 | R_TEXT | Value transfer | Type reference (TYPE) | GRFN_TEXT100 | Text | 20100514 |
Method GET_ROLE_TEXT on class CL_GRFN_ATF_UTIL has no exception.
Method GET_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ACTION | Call by reference | Type reference (TYPE) | GRFN_ACTION_ID | Action for audit trail | 20080922 | |||
| 2 | I_SYSST | Call by reference | Type reference (TYPE) | J_ISTAT | System status | 20080922 | |||
| 3 | R_STATUS | Value transfer | Type reference (TYPE) | GRFN_STATUS_ID | Status | 20080922 |
Method GET_STATUS on class CL_GRFN_ATF_UTIL has no exception.
Method GET_STATUS_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_STATUS | Call by reference | Type reference (TYPE) | GRFN_STATUS_ID | Status | 20080921 | |||
| 2 | R_NAME | Value transfer | Type reference (TYPE) | GRFN_TEXT100 | Text | 20080921 |
Method GET_STATUS_NAME on class CL_GRFN_ATF_UTIL has no exception.
Method GET_USER_BY_OBJKEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_USER | Call by reference | Type reference (TYPE) | SPERS_ULST | User names table | 20081102 | |||
| 2 | I_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20081102 |
Method GET_USER_BY_OBJKEY on class CL_GRFN_ATF_UTIL has no exception.
Method LIVE_STATUS_AHI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_STATUS | Call by reference | Type reference (TYPE) | GRPC_TS_STATUS | System Status and Text | 20100701 |
Method LIVE_STATUS_AHI on class CL_GRFN_ATF_UTIL has no exception.
Method NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_GRFN_NAME | Call by reference | Type reference (TYPE) | GRFN_OBJECT_NAME | Object Name | 20100429 | |||
| 2 | EV_GRPC_NAME | Call by reference | Type reference (TYPE) | GRPC_OBJECT_NAME | Object Name | 20100429 | |||
| 3 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100429 |
Method NAME on class CL_GRFN_ATF_UTIL has no exception.
Method OTR_GRFNWD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VARIABLE | Call by reference | Type reference (TYPE) | CHAR20 | Char 20 | 20081103 | |||
| 2 | RT_STRING | Value transfer | Type reference (TYPE) | STRING | 20081103 |
Method OTR_GRFNWD on class CL_GRFN_ATF_UTIL has no exception.
Method READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_AUDIT_TRAIL_DETAIL | Call by reference | Type reference (TYPE) | GRFN_T_UI_ATFS | Audit Trail Data Detail | 20100401 | |||
| 2 | ET_AUDIT_TRAIL_MAIN | Call by reference | Type reference (TYPE) | GRFN_T_UI_ATF | Audit Trail atom data | 20100401 | |||
| 3 | IT_USERNAME | Value transfer | Type reference (TYPE) | SPERS_ULST | Who make the action | 20100401 | |||
| 4 | I_ACTION | Value transfer | Type reference (TYPE) | GRFN_ATF_ACTION | Audit Trail Action | 20100401 | |||
| 5 | I_INFOR | Value transfer | Type reference (TYPE) | GRFN_ATF_INFO | Audit Trail Info | 20100401 | |||
| 6 | I_OBJECT_KEY | Value transfer | Type reference (TYPE) | TABKEY | Sub-object of the Object I_OBJECT_KEY | 20100401 | |||
| 7 | I_STATUS | Value transfer | Type reference (TYPE) | GRFN_ATF_STATUS | Audit Trail Action Status | 20100401 | |||
| 8 | I_TIME_END | Value transfer | Type reference (TYPE) | TIMESTAMPL | When the audit starts | 20100401 | |||
| 9 | I_TIME_START | Value transfer | Type reference (TYPE) | TIMESTAMPL | When the audit starts | 20100401 | |||
| 10 | I_TOPIC_ID | Value transfer | Type reference (TYPE) | GRFN_ATF_TOPIC_ID | Audit Trail Topic ID | 20100401 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100402 |
Method READ_ESIG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ESIG_INFO | Call by reference | Type reference (TYPE) | GRFN_S_ESIG_AUDIT_TRAIL | E-signature for audit trail | 20081216 | |||
| 2 | I_ACTION | Call by reference | Type reference (TYPE) | GRFN_ACTION_ID | Action for audit trail | 20081216 | |||
| 3 | I_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20081216 | |||
| 4 | I_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) | 20081216 |
Method READ_ESIG on class CL_GRFN_ATF_UTIL 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 | 20100331 | |||
| 2 | IR_VALUE_NEW | Value transfer | Object reference (TYPE REF TO) | DATA | 20100407 | ||||
| 3 | IR_VALUE_OLD | Value transfer | Object reference (TYPE REF TO) | DATA | 20100407 | ||||
| 4 | I_ACTION | Value transfer | Type reference (TYPE) | GRFN_ATF_ACTION | Single-Character Flag | 20100331 | |||
| 5 | I_CHANGE_TYPE | Value transfer | Type reference (TYPE) | GRFN_ATF_CHANGE_TYPE | Create / Delete / Update | 20100331 | |||
| 6 | I_INFOR | Value transfer | Type reference (TYPE) | GRFN_ATF_INFO | Audit Trail Info | 20100331 | |||
| 7 | I_OBJECT_KEY | Value transfer | Type reference (TYPE) | TABKEY | Which object is being trailed | 20100331 | |||
| 8 | I_STATUS | Value transfer | Type reference (TYPE) | GRFN_ATF_STATUS | 20100331 | ||||
| 9 | I_TIMESTAMP | Value transfer | Type reference (TYPE) | TIMESTAMPL | UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) | 20100331 | |||
| 10 | I_TOPIC_ID | Value transfer | Type reference (TYPE) | GRFN_ATF_TOPIC_ID | Topic of the audit trail, in GRFNATFTOPIC | 20100331 | |||
| 11 | I_USERNAME | Value transfer | Type reference (TYPE) | UNAME | SY-UNAME | Who made the change | 20100331 | ||
| 12 | I_USER_ROLE | Value transfer | Type reference (TYPE) | GRFN_ROLE | Obsolete: Role ID | 20100401 | |||
| 13 | I_VALUE_NEW | Value transfer | Type reference (TYPE) | DATA | New value | 20100331 | |||
| 14 | I_VALUE_OLD | Value transfer | Type reference (TYPE) | DATA | Old value | 20100331 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100407 |
Method WRITE_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TABLE_DATA | Call by reference | Type reference (TYPE) | GRFN_T_INFO_DATA_AT | 20100408 | ||||
| 2 | I_ACTION | Call by reference | Type reference (TYPE) | GRFN_ATF_ACTION | 20100408 | ||||
| 3 | I_CHANGE_TYPE | Call by reference | Type reference (TYPE) | GRFN_ATF_CHANGE_TYPE | 20100408 | ||||
| 4 | I_OBJECT_KEY | Call by reference | Type reference (TYPE) | TABKEY | 20100408 | ||||
| 5 | I_STATUS | Call by reference | Type reference (TYPE) | GRFN_ATF_STATUS | 20100408 | ||||
| 6 | I_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | 20100408 | ||||
| 7 | I_TOPIC_ID | Call by reference | Type reference (TYPE) | GRFN_ATF_TOPIC_ID | 20100408 | ||||
| 8 | I_USERNAME | Call by reference | Type reference (TYPE) | UNAME | 20100408 | ||||
| 9 | I_USER_ROLE | Call by reference | Type reference (TYPE) | GRPC_ROLE | 20100408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100408 |
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | 300 |