SAP ABAP Class CL_SUIM_CHDOC_TOOLS (Help functions for change document evaluation)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SEC-USR-ADM (Application Component) User and Authorization Management
     SUSR (Package) ABAP User Administration
Properties
Class CL_SUIM_CHDOC_TOOLS  
Short Description Help functions for change document evaluation    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SUSR   ABAP User Administration 
Created 20120523   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SUIM_CHDOC_TOOLS has no forward declaration.
Interfaces
Class CL_SUIM_CHDOC_TOOLS has no interface implemented.
Friends
Class CL_SUIM_CHDOC_TOOLS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_ACT_08 Constant Public Type reference (TYPE) ACTIV_AUTH '08' Display change documents 20120523
2 GD_AGR08_INIT Instance attribute Private Type reference (TYPE) BOOLE_D Initialization successful = 'X' 20120531
3 GD_AGR08_MAX Instance attribute Private Type reference (TYPE) BOOLE_D Full Authorization 20120531
4 GD_AGR08_NUL Instance attribute Private Type reference (TYPE) BOOLE_D No authorization 20120531
5 GD_AUTH_FAILED Instance attribute Public Type reference (TYPE) SY-TABIX Counter for failed authorization checks 20120621
6 GD_USR08_INIT Instance attribute Private Type reference (TYPE) BOOLE_D Initialization successful = 'X' 20120604
7 GD_USR_AUTH_MAX Instance attribute Private Type reference (TYPE) BOOLE_D Full Authorization 20120523
8 GD_USR_AUTH_NUL Instance attribute Private Type reference (TYPE) BOOLE_D No authorization 20120523
9 GT_AGR_AUTH Instance attribute Private Type reference (TYPE) TT_AUTH Buffer table for authorization checks 20120523
10 GT_LOG Instance attribute Private Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20120619
11 GT_USR_ADR Instance attribute Private Type reference (TYPE) TT_USR_ADR Table for user addresses 20120523
12 GT_USR_AUTH Instance attribute Private Type reference (TYPE) TT_AUTH_USR Buffer table type for user names (S_USER_GRP) 20120604
13 GT_USR_GRP Instance attribute Private Type reference (TYPE) TT_AUTH_GRP Buffer table type for user groups (S_USER_GRP) 20120604
Methods
# Method Level Visibility Method type Description Created on
1 AUTH_CHECK_AGR_08 Instance method Public Method Authority check for change documents for roles 20120523
2 AUTH_CHECK_USR_08 Instance method Public Method Authority check for change documents for users 20120523
3 COLLECT_MSG Instance method Public Method Include a message in the log 20120619
4 CONSTRUCTOR Instance method Public Constructor Initialization 20120523
5 GET_LOG_CONTENT Instance method Public Method Return the log for address data 20120619
6 GET_USER_ADR Instance method Public Method Load user address 20120523
7 SHOW_ERROR_LOG Instance method Public Method Display Error Log 20120613
Events
Class CL_SUIM_CHDOC_TOOLS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_AUTH Public See coding Buffer structure for S_USER_AGR 20120523 BEGIN OF ts_auth, agr_name TYPE agr_name, passed TYPE boole_d, END OF ts_auth
2 TS_AUTH_GRP Public See coding Buffer structure for user groups (S_USER_GRP) 20120604 BEGIN OF ts_auth_grp, class TYPE xuclass, passed TYPE boole_d, END OF ts_auth_grp
3 TS_AUTH_USR Public See coding Buffer structure for user names (S_USER_GRP) 20120604 BEGIN OF ts_auth_usr, bname TYPE xubname, passed TYPE boole_d, END OF ts_auth_usr
4 TS_USR_ADR Public See coding Structure for user address 20120523 BEGIN OF ts_usr_adr, username TYPE cdreddisp-username, name_first TYPE cdreddisp-name_first, name_last TYPE cdreddisp-name_last, department TYPE cdreddisp-department, END OF ts_usr_adr
5 TT_AUTH Public See coding Buffer table for S_USER_AGR 20120523 tt_auth TYPE HASHED TABLE OF ts_auth WITH UNIQUE KEY agr_name
6 TT_AUTH_GRP Public See coding Buffer table type for user groups (S_USER_GRP) 20120604 tt_auth_grp TYPE HASHED TABLE OF ts_auth_grp WITH UNIQUE KEY class
7 TT_AUTH_USR Public See coding Buffer table type for user names (S_USER_GRP) 20120604 tt_auth_usr TYPE HASHED TABLE OF ts_auth_usr WITH UNIQUE KEY bname
8 TT_USR_ADR Public See coding Table type for user addresses 20120523 tt_usr_adr TYPE HASHED TABLE OF ts_usr_adr WITH UNIQUE KEY username
Method Signatures

Method AUTH_CHECK_AGR_08 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ED_PASSED Value transfer Type reference (TYPE) BOOLE_D 'X' - Berechtigung ausreichend 20120523
2 Importing ID_AGR Call by reference Type reference (TYPE) AGR_NAME Rollenname 20120523
3 Importing ID_WRITE_LOG Call by reference Type reference (TYPE) BOOLE_D 'X' 'X'- Sammle Fehlermeldungen im Log 20120621

Method AUTH_CHECK_AGR_08 on class CL_SUIM_CHDOC_TOOLS has no exception.

Method AUTH_CHECK_USR_08 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ED_PASSED Value transfer Type reference (TYPE) BOOLE_D 'X' - Berechtigung ausreichend 20120523
2 Importing ID_UNAME Call by reference Type reference (TYPE) XUBNAME Benutzer 20120523
3 Importing ID_WRITE_LOG Call by reference Type reference (TYPE) BOOLE_D 'X' 'X'- Sammle Fehlermeldungen im Log 20120621

Method AUTH_CHECK_USR_08 on class CL_SUIM_CHDOC_TOOLS has no exception.

Method COLLECT_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_CL Call by reference Type reference (TYPE) SYMSGID Nachrichtenklasse 20120619
2 Importing ID_NUM Call by reference Type reference (TYPE) SYMSGNO Nachrichtennummer 20120619
3 Importing ID_PAR1 Call by reference Type reference (TYPE) SY-MSGV1 Nachrichtenvariable 1 20120619
4 Importing ID_PAR2 Call by reference Type reference (TYPE) SY-MSGV2 Nachrichtenvariable 2 20120619
5 Importing ID_PAR3 Call by reference Type reference (TYPE) SY-MSGV3 Nachrichtenvariable 3 20120619
6 Importing ID_PAR4 Call by reference Type reference (TYPE) SY-MSGV4 Nachrichtenvariable 4 20120619
7 Importing ID_TYPE Call by reference Type reference (TYPE) BAPIRETURN-TYPE Meldungstyp: S Success, E Error, W Warning, I Info, A Abort 20120619

Method COLLECT_MSG on class CL_SUIM_CHDOC_TOOLS has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_SUIM_CHDOC_TOOLS has no parameter.
Method CONSTRUCTOR on class CL_SUIM_CHDOC_TOOLS has no exception.

Method GET_LOG_CONTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_LOG Value transfer Type reference (TYPE) BAPIRETTAB Appl.-Log zu Adressdaten 20120619

Method GET_LOG_CONTENT on class CL_SUIM_CHDOC_TOOLS has no exception.

Method GET_USER_ADR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ES_ADR Value transfer Type reference (TYPE) TS_USR_ADR Struktur für Benutzeradresse 20120523
2 Importing ID_UNAME Call by reference Type reference (TYPE) CDREDDISP-USERNAME Benutzername des Änderers im Änderungsbeleg 20120523

Method GET_USER_ADR on class CL_SUIM_CHDOC_TOOLS has no exception.

Method SHOW_ERROR_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ED_RET Value transfer Type reference (TYPE) CHAR01 Rückkehrcode 20120613
2 Importing IT_ERR Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI Return Informationen 20120613

Method SHOW_ERROR_LOG on class CL_SUIM_CHDOC_TOOLS has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 740