SAP ABAP Class /GRCPI/CL_GRIA_LOG (System logs)
Hierarchy
GRCPINW (Software Component) SAP GRC NetWeaver Plug-In
   GRC-ACP (Application Component) GRC Access Control Plug-In
     /GRCPI/GRIA_NW_AC (Package) GRCPI AC package for NW
Properties
Class /GRCPI/CL_GRIA_LOG  
Short Description System logs    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /GRCPI/GRIA_NW_AC   GRCPI AC package for NW 
Created 20091204   SAP 
Last change 20141106    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /GRCPI/CL_GRIA_LOG has no forward declaration.
Interfaces
Class /GRCPI/CL_GRIA_LOG has no interface implemented.
Friends
Class /GRCPI/CL_GRIA_LOG has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_IUT Constant Public Type reference (TYPE) I '20' 20110506
2 GC_PA Constant Public Type reference (TYPE) I '110' 20110506
3 GC_PD Constant Public Type reference (TYPE) I '130' 20110506
4 GC_UC Constant Public Type reference (TYPE) I '10' 20110506
5 GC_UD Constant Public Type reference (TYPE) I '990' 20110506
6 GC_UTC Constant Public Type reference (TYPE) I '21' 20110506
7 GS_CDRED_INPUT Static Attribute Public Type reference (TYPE) CDRED Change documents, display structure 20110506
8 GS_TABKEY_ROLES Static Attribute Public Type reference (TYPE) TY_TABKEY_ROLES 20110506
9 GT_CDRED_OUTPUT Static Attribute Public Type reference (TYPE) /GRCPI/GRIA_T_USRCD Change document for user 20110506
10 GT_USERS02 Static Attribute Public Type reference (TYPE) TT_USER 20110506
11 GT_USERS04 Static Attribute Public Type reference (TYPE) TT_USER 20110506
12 GT_USER_HIST_02 Static Attribute Public Type reference (TYPE) TT_USH02 20110506
13 GT_USER_HIST_04 Static Attribute Public Type reference (TYPE) TT_USH04 20110506
14 GT_USR_RANGE Static Attribute Public Type reference (TYPE) /GRCPI/GRIA_T_USR_RANGE User range table 20110506
15 GV_LENGTH_TABKEY Static Attribute Public Type reference (TYPE) I 20110506
16 GV_LENGTH_UNAME Static Attribute Public Type reference (TYPE) I 20110506
17 GV_SHIFT_UNAME Static Attribute Public Type reference (TYPE) I 20110506
Methods
# Method Level Visibility Method type Description Created on
1 CHANGE_PROFILE_ASSIGNMENT Static method Private Method 20110506
2 CHANGE_ROLE Static method Private Method 20110506
3 CHANGE_USER_CREATE_AND_DELETE Static method Private Method 20110506
4 CHANGE_USER_TYPE Static method Private Method 20110506
5 CONVERT_TABKEY_PATTERN Static method Private Method 20110506
6 DECODE_LOG_SM20 Static method Private Method Get the long text for SM20 20100106
7 DECODE_LOG_SM21 Static method Private Method decode the log text for sm21 20100105
8 GET_CHANGED_LOG Static method Public Method Get Changed Log 20091204
9 GET_OS_CMND_LOG Static method Public Method Get OS Command Log (SM49) 20091204
10 GET_SECURITY_AUDIT_LOG Static method Public Method Get Security Audit Log (SM20) 20091204
11 GET_STAD_LOG Static method Public Method Get STAD Log 20100219
12 GET_SYS_SECURITY_LOG Static method Public Method Get System Security Log (SM21) 20091204
13 GET_TRAN_LOG Static method Public Method Get Transaction Log 20091204
14 SELECT_DATA_FROM_DB02 Static method Private Method 20110506
15 SELECT_DATA_FROM_DB04 Static method Private Method 20110506
16 SEPARATE_USERS Static method Private Method 20110506
17 SPM_GET_STATRECS Static method Public Method 20100219
Events
Class /GRCPI/CL_GRIA_LOG has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 MSGTEXT_T Public See coding 20100105 MSGTEXT_T(700)
2 TT_USER Public See coding 20110506 tt_user type table of ty_user
3 TT_USER_LIST Public See coding 20110506 tt_user_list type table of ty_user_list
4 TT_USH02 Public See coding 20110506 tt_ush02 type table of ush02
5 TT_USH04 Public See coding 20110506 tt_ush04 type table of ush04
6 TY_TABKEY_ROLES Public See coding 20110506 begin of ty_tabkey_roles, mandt type agr_users-mandt, agr_name type agr_users-agr_name, uname type agr_users-uname, from_dat type agr_users-from_dat, to_dat type agr_users-to_dat, end of ty_tabkey_roles
7 TY_USER Public See coding 20110509 begin of ty_user, bname type usr02-bname, end of ty_user
8 TY_USER_LIST Public See coding 20110506 begin of ty_user_list, bname type usr04-bname, modda type usr04-modda, modti type usr04-modti, end of ty_user_list
Method Signatures

Method CHANGE_PROFILE_ASSIGNMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FROM_DATE Call by reference Type reference (TYPE) CDDATUM Creation date of the change document 20110506
2 Importing IV_FROM_TIME Call by reference Type reference (TYPE) CDUZEIT Time changed 20110506
3 Importing IV_TO_DATE Call by reference Type reference (TYPE) CDDATUM Creation date of the change document 20110506
4 Importing IV_TO_TIME Call by reference Type reference (TYPE) CDUZEIT Time changed 20110506

Method CHANGE_PROFILE_ASSIGNMENT on class /GRCPI/CL_GRIA_LOG has no exception.

Method CHANGE_ROLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OUTPUT Call by reference Type reference (TYPE) CDREDCD_TAB Table Type for CDRED for Change Documents 20110506
2 Importing IT_EDITPOS Call by reference Type reference (TYPE) CDREDCD_TAB Table Type for CDRED for Change Documents 20110506
3 Importing IT_USR_RANGE Call by reference Type reference (TYPE) /GRCPI/GRIA_T_USR_RANGE User range table 20110506

Method CHANGE_ROLE on class /GRCPI/CL_GRIA_LOG has no exception.

Method CHANGE_USER_CREATE_AND_DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FROM_DATE Call by reference Type reference (TYPE) CDDATUM Creation date of the change document 20110506
2 Importing IV_FROM_TIME Call by reference Type reference (TYPE) CDUZEIT Time changed 20110506
3 Importing IV_TO_DATE Call by reference Type reference (TYPE) CDDATUM Creation date of the change document 20110506
4 Importing IV_TO_TIME Call by reference Type reference (TYPE) CDUZEIT Time changed 20110506

Method CHANGE_USER_CREATE_AND_DELETE on class /GRCPI/CL_GRIA_LOG has no exception.

Method CHANGE_USER_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FROM_DATE Call by reference Type reference (TYPE) CDDATUM Creation date of the change document 20110506
2 Importing IV_FROM_TIME Call by reference Type reference (TYPE) CDUZEIT Time changed 20110506
3 Importing IV_TO_DATE Call by reference Type reference (TYPE) CDDATUM Creation date of the change document 20110506
4 Importing IV_TO_TIME Call by reference Type reference (TYPE) CDUZEIT Time changed 20110506

Method CHANGE_USER_TYPE on class /GRCPI/CL_GRIA_LOG has no exception.

Method CONVERT_TABKEY_PATTERN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_TABKEY Call by reference Type reference (TYPE) C 20110506
2 Importing IV_INPUT Call by reference Type reference (TYPE) C 20110506
3 Importing IV_LENGTH Call by reference Type reference (TYPE) I 20110506
4 Importing IV_LENGTH_TABKEY Call by reference Type reference (TYPE) I 20110506
5 Importing IV_SHIFT Call by reference Type reference (TYPE) I 20110506

Method CONVERT_TABKEY_PATTERN on class /GRCPI/CL_GRIA_LOG has no exception.

Method DECODE_LOG_SM20 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_TEXT Value transfer Type reference (TYPE) RSAUMSGTXT SecAudit: Text part of displayed Security Audit Log message 20100107
2 Importing IV_AREA Value transfer Type reference (TYPE) RSLGAREA System Log: Group of 36 System Log Messages 20100107
3 Importing IV_SLGDATA Value transfer Type reference (TYPE) RSLG_DATA SysLog: variable message data 20100107
4 Importing IV_SLGDATTIM Value transfer Type reference (TYPE) RSLGTIME System log time stamp 20100107
5 Importing IV_SLGLTRM Value transfer Type reference (TYPE) RSLGTERM Terminal name 20100107
6 Importing IV_SLGMODE Value transfer Type reference (TYPE) SAPMODE External mode of an SAP dialog 20100107
7 Importing IV_SUBID Value transfer Type reference (TYPE) RSLGSUBID System log: Third character of message name 20100107

Method DECODE_LOG_SM20 on class /GRCPI/CL_GRIA_LOG has no exception.

Method DECODE_LOG_SM21 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CUR_SYSLG_TAB Call by reference Type reference (TYPE) RSLGTCACHE SysLog: Extracts from TSL1D, TSL1T, TDEVC,... 20100106
2 Exporting EV_TEXT Call by reference Type reference (TYPE) MSGTEXT_T Char640 20100105
3 Exporting EV_TEXT_LEN Call by reference Type reference (TYPE) /GRCPI/GRIA_COUNT Index/Count 20100105
4 Importing IV_AREA Call by reference Type reference (TYPE) RSLGAREA System Log: Group of 36 System Log Messages 20100105
5 Importing IV_DATA Call by reference Type reference (TYPE) RSLG_DATA SysLog: variable message data 20100105
6 Importing IV_SLGMODE Call by reference Type reference (TYPE) SAPMODE External mode of an SAP dialog 20100105
7 Importing IV_SLGTERM Call by reference Type reference (TYPE) RSLGTERM Terminal name 20100105
8 Importing IV_SLGTIME Call by reference Type reference (TYPE) RSLGTIME System log time stamp 20100105
9 Importing IV_SUBID Call by reference Type reference (TYPE) RSLGSUBID System log: Third character of message name 20100105

Method DECODE_LOG_SM21 on class /GRCPI/CL_GRIA_LOG has no exception.

Method GET_CHANGED_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) BAPIRET2_TAB Error Messages 20100112
2 Exporting ET_TRAN_LOG Call by reference Type reference (TYPE) /GRCPI/GRIA_T_CHANGE_LOG Change Log 20100112
3 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) /GRCPI/GRIA_COUNT Index/Count 20100112
4 Importing IT_USR_RANGE Value transfer Type reference (TYPE) /GRCPI/GRIA_T_USR_RANGE User range table 20100112
5 Importing IV_DATE_FROM Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20100112
6 Importing IV_DATE_TO Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20100112

Method GET_CHANGED_LOG on class /GRCPI/CL_GRIA_LOG has no exception.

Method GET_OS_CMND_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OSCMD_LOG Call by reference Type reference (TYPE) /GRCPI/GRIA_T_OSCOMMAND_LOG Transaction Log 20100104
2 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) /GRCPI/GRIA_COUNT Index/Count 20100104
3 Importing IT_USR_RANGE Call by reference Type reference (TYPE) /GRCPI/GRIA_T_USR_RANGE User range table 20100104
4 Importing IV_DATE_FROM Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20100104
5 Importing IV_DATE_TO Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20100104

Method GET_OS_CMND_LOG on class /GRCPI/CL_GRIA_LOG has no exception.

Method GET_SECURITY_AUDIT_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Value transfer Type reference (TYPE) BAPIRET2_TAB Error Messages 20100106
2 Exporting ET_SECAUDIT_LOG Value transfer Type reference (TYPE) /GRCPI/GRIA_T_SECAUDIT_LOG Security audit log table 20100106
3 Exporting EV_RETURN_CODE Value transfer Type reference (TYPE) /GRCPI/GRIA_COUNT Index/Count 20100106
4 Importing IT_USR_RANGE Value transfer Type reference (TYPE) /GRCPI/GRIA_T_USR_RANGE User range table 20100106
5 Importing IV_DATE_FROM Value transfer Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20100106
6 Importing IV_DATE_TO Value transfer Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20100106

Method GET_SECURITY_AUDIT_LOG on class /GRCPI/CL_GRIA_LOG has no exception.

Method GET_STAD_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Value transfer Type reference (TYPE) BAPIRET2_TAB Error Messages 20100219
2 Exporting ET_TLOG Value transfer Type reference (TYPE) /GRCPI/GRIA_T_TRAN_LOG Transaction Log 20100222
3 Exporting EV_RETURN_CODE Value transfer Type reference (TYPE) /GRCPI/GRIA_COUNT Index/Count 20100219
4 Importing IV_DATE_FROM Value transfer Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20100219
5 Importing IV_DATE_TO Value transfer Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20100219
6 Importing IV_USER Value transfer Type reference (TYPE) XUBNAME User range table 20100222

Method GET_STAD_LOG on class /GRCPI/CL_GRIA_LOG has no exception.

Method GET_SYS_SECURITY_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LOG Call by reference Type reference (TYPE) /GRCPI/GRIA_T_SYSTEMSEC_LOG System security log table 20091214
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) BAPIRET2_TAB Error Messages 20091214
3 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) /GRCPI/GRIA_COUNT Index/Count 20091214
4 Importing IT_USR_RANGE Call by reference Type reference (TYPE) /GRCPI/GRIA_T_USR_RANGE User range table 20091214
5 Importing IV_FROM Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20091214
6 Importing IV_TO Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20091214

Method GET_SYS_SECURITY_LOG on class /GRCPI/CL_GRIA_LOG has no exception.

Method GET_TRAN_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) BAPIRET2_TAB Error Messages 20091216
2 Exporting ET_TRAN_LOG Call by reference Type reference (TYPE) /GRCPI/GRIA_T_TRAN_LOG Transaction Log 20091216
3 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) /GRCPI/GRIA_COUNT Index/Count 20091216
4 Importing IT_USR_RANGE Call by reference Type reference (TYPE) /GRCPI/GRIA_T_USR_RANGE User range table 20091216
5 Importing IV_DATE_FROM Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20091216
6 Importing IV_DATE_TO Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20091216

Method GET_TRAN_LOG on class /GRCPI/CL_GRIA_LOG has no exception.

Method SELECT_DATA_FROM_DB02 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FROM_DATE Call by reference Type reference (TYPE) CDDATUM Creation date of the change document 20110506
2 Importing IV_FROM_TIME Call by reference Type reference (TYPE) CDUZEIT Time changed 20110506
3 Importing IV_TO_DATE Call by reference Type reference (TYPE) CDDATUM Creation date of the change document 20110506
4 Importing IV_TO_TIME Call by reference Type reference (TYPE) CDUZEIT Time changed 20110506

Method SELECT_DATA_FROM_DB02 on class /GRCPI/CL_GRIA_LOG has no exception.

Method SELECT_DATA_FROM_DB04 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FROM_DATE Call by reference Type reference (TYPE) CDDATUM Creation date of the change document 20110506
2 Importing IV_FROM_TIME Call by reference Type reference (TYPE) CDUZEIT Time changed 20110506
3 Importing IV_TO_DATE Call by reference Type reference (TYPE) CDDATUM Creation date of the change document 20110506
4 Importing IV_TO_TIME Call by reference Type reference (TYPE) CDUZEIT Time changed 20110506

Method SELECT_DATA_FROM_DB04 on class /GRCPI/CL_GRIA_LOG has no exception.

Method SEPARATE_USERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_USER Call by reference Type reference (TYPE) TT_USER 20110506
2 Exporting ET_USER_ERROR Call by reference Type reference (TYPE) TT_USER 20110506
3 Importing IT_USER Call by reference Type reference (TYPE) TT_USER 20110506

Method SEPARATE_USERS on class /GRCPI/CL_GRIA_LOG has no exception.

Method SPM_GET_STATRECS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing READ_CLIENT Call by reference Type reference (TYPE) SWNCMANDT SAP Workload NW Collector: Client 20100219
2 Importing READ_END_DATE Call by reference Type reference (TYPE) SWNCDATUM SAP Workload NW Collector: Date 20100219
3 Importing READ_END_TIME Call by reference Type reference (TYPE) SWNCUZEIT SAP Workload NW Collector: Time 20100219
4 Importing READ_START_DATE Call by reference Type reference (TYPE) SWNCDATUM SAP Workload NW Collector: Date 20100219
5 Importing READ_START_TIME Call by reference Type reference (TYPE) SWNCUZEIT SAP Workload NW Collector: Time 20100219
6 Importing READ_USERNAME Call by reference Type reference (TYPE) SWNCUNAME SAP Workload NW Collector: User Name 20100219
7 Importing SERVERNAME Call by reference Type reference (TYPE) SWNCINSTANCE Instance Name 20100219

Method SPM_GET_STATRECS on class /GRCPI/CL_GRIA_LOG has no exception.
History
Last changed by/on SAP  20141106 
SAP Release Created in 1000_700