SAP ABAP Class CL_SUSR_CUA_TOOLS (Tools for Central User Administration)
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_SUSR_CUA_TOOLS  
Short Description Tools for Central User Administration    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SUSR   ABAP User Administration 
Created 20111014   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 USER1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_SUSR_CUA_TOOLS has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_IDENTITY 20111018 Identity Class
2 CL_PRGN_TOOLS 20111018 Methods for User Comparison
3 CL_ROLEMAN 20111018 Role Manager:
4 CL_ROLEMAN_AUTH 20111018 Role Manager: Authorizations
5 CL_ROLEMAN_BADI 20111018 Role Manager: BAdI Help Class
6 CL_ROLEMAN_ROLE 20111018 Role Manager: Role
7 CL_ROLEMAN_USER 20111018 Role Manager: User
8 CL_SUID_CUA 20111018 CUA Administration
9 CL_SUID_TOOLS 20111018 Help Class: Authorization Checks for Identities
10 CL_SUSR_BASIC_TOOLS 20111018 Tools for User and Authorization Administration
11 IF_IDENTITY 20111018 Interface of Identity
12 IF_IDENTITY_ADDRESS 20111018 Identity: Compatibility Interface for Address Maintenance
13 IF_IDENTITY_CUA 20111018 Interface Identity: CUA
14 IF_IDENTITY_DEFINITION 20111018 Interface of Identity Definition
15 IF_IDENTITY_PASSWORD 20111018 Interface Identity: Password
16 IF_IDENTITY_PERSON 20111018 Interface Identity: Person
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_ATCR_CUA_FEATURE_SUPPORT Constant Public Type reference (TYPE) USRGETFTR-VALUE 'X' CUA Attribute - Value 20120629
2 CO_ATCR_JOBNAME_TORSO Constant Public Type reference (TYPE) TBTCJOB-JOBNAME 'USR_ATCR_IMP' Background Job Name 20120326
3 CO_ATCR_RFC_QUEUE_NAME Constant Public Type reference (TYPE) TRFCQOUT-QNAME 'SUSR_ZBV_ATCR' Name of tRFC Queue 20120326
4 CO_COLL_AGR Constant Public Type reference (TYPE) CHAR01 'X' Indicator: Composite Role 20111014
5 CO_CUST_TAB_PRGN Constant Public Type reference (TYPE) TABNAME 'PRGN_CUST' Cross-Client Customizing: PRGN_CUST 20111221
6 CO_CUST_TAB_SSM Constant Public Type reference (TYPE) TABNAME 'SSM_CUST' Cross-Client Customizing: SSM_CUST 20111221
7 CO_CUST_TAB_USR Constant Public Type reference (TYPE) TABNAME 'USR_CUST' Client-Specific Customizing: USR_CUST 20111221
8 CO_DELETE Constant Public Type reference (TYPE) CHAR01 'D' Mode: Delete 20111014
9 CO_ENQUEUE_MAX_ATTEMPTS Constant Public Type reference (TYPE) I 10 Maximum Number of Lock Attempts 20111209
10 CO_ENQUEUE_SCUA Constant Public Type reference (TYPE) RSTABLE-TABNAME 'SCUA' Lock Object for Transaction SCUA 20111209
11 CO_ENQUEUE_SCUG Constant Public Type reference (TYPE) RSTABLE-TABNAME 'SCUG' Lock Object for Transaction SCUG 20111214
12 CO_ENQUEUE_SCUM Constant Public Type reference (TYPE) RSTABLE-TABNAME 'SCUM' Lock Object for Transaction SCUM 20111214
13 CO_ENQUEUE_SYSACT Constant Public Type reference (TYPE) RSTABLE-TABNAME 'USRSYSACT' Lock object for text comparison: roles 20111209
14 CO_ENQUEUE_SYSLIC Constant Public Type reference (TYPE) RSTABLE-TABNAME 'USR06SYS' Lock object for text comparison: license data 20111214
15 CO_FLAG_NAME_COLL_AGR Constant Public Type reference (TYPE) FLAG_TYPE 'COLL_AGR' Role: Flag Name 20111014
16 CO_FN_MASS_ROLE_COMPARE Constant Public Type reference (TYPE) RS38L-NAME 'SUSR_ZBV_LOC_ACTGRP_UPD_MASS' Function module for mass comparison for roles 20111227
17 CO_FN_SINGLE_ROLE_COMPARE Constant Public Type reference (TYPE) RS38L-NAME 'SUSR_ZBV_LOC_ACTGRP_UPD' Function module for individual comparison for roles 20111227
18 CO_INSERT Constant Public Type reference (TYPE) CHAR01 'I' Mode: Insert 20120806
19 CO_PRGN_CUST_ID_AFTER_IMP_MODE Constant Public Type reference (TYPE) PRGN_CUST-ID 'ATCR_BCKGRND_MODE' Text comparison during after-import: processing type 20120323
20 CO_PRGN_CUST_PATH_BATCH Constant Public Type reference (TYPE) MENU_ATTR 'BATCH' Field attributes 20120323
21 CO_PRGN_CUST_PATH_QRFC Constant Public Type reference (TYPE) MENU_ATTR 'QRFC' Field attributes 20120323
22 CO_SINGLE_AGR Constant Public Type reference (TYPE) CHAR01 ' ' Indicator: Single Role 20111014
23 CO_SUBSTITUTE Constant Public Type reference (TYPE) CHAR01 'S' Mode: Replace 20120806
24 CO_TEXT_COMP_OBJ_LICENSE Constant Public Type reference (TYPE) RSTABLE-TABNAME 'USR06SYS' Object for Text Comparison: License Data 20111221
25 CO_TEXT_COMP_OBJ_ROLE Constant Public Type reference (TYPE) RSTABLE-TABNAME 'USRSYSACT' Object for Text Comparison: Roles 20111221
26 CO_TRANSLATE Constant Public Type reference (TYPE) CHAR01 'T' Mode: Translate 20120605
27 CO_UPDATE Constant Public Type reference (TYPE) CHAR01 'U' Mode: Update 20111014
28 CO_USR_CUST_ID_ATCR Constant Public Type reference (TYPE) USR_CUST-ID 'CUA_AUTO_TXTCMP_ROLE' Customizing: Automatic Text Comparison for Roles 20120323
29 CO_USR_CUST_ID_ATCR_CLEANUP Constant Public Type reference (TYPE) USR_CUST-ID 'CUA_ATCR_CLEANUP' Customizing: Automatic Cleanup of Role Assignments 20120705
30 CO_USR_CUST_PATH_NO Constant Public Type reference (TYPE) SSM_PATH 'NO' Field attributes 20120323
31 CO_USR_CUST_PATH_NOT_SUPPORTED Constant Public Type reference (TYPE) SSM_PATH 'NOT_SUPPORTED' Field attributes 20120323
32 CO_USR_CUST_PATH_YES Constant Public Type reference (TYPE) SSM_PATH 'YES' Field attributes 20120323
33 GT_FUMO_EXISTS Static Attribute Protected Type reference (TYPE) TT_FUMO_EXISTS Internal buffer for checked function modules 20111014
34 GT_RECEIVERS Static Attribute Protected Type reference (TYPE) SUID_TT_USZBVLNDRC List of All Systems of Current CUA Landscape 20111014
35 GT_ROLES_COMPARED Static Attribute Protected Type reference (TYPE) TT_ROLES_COMPARED Internal buffer for roles already compared 20111014
36 GV_ATCR_ASSIGNMENT_CLEANUP Static Attribute Protected Type reference (TYPE) SSM_PATH Customizing: Automatic cleanup of role assignment 20120705
37 GV_AUTO_TEXT_COMPARE_LICENSE Static Attribute Protected Type reference (TYPE) SSM_PATH Customizing for automatic text comparison for license data 20120705
38 GV_AUTO_TEXT_COMPARE_ROLE Static Attribute Protected Type reference (TYPE) SSM_PATH Customizing for automatic text comparison for roles 20111221
39 GV_BAPILINK Static Attribute Protected Type reference (TYPE) USBAPILINK-BAPILINK View of ALE model 20111014
40 GV_BUFFER_FILLED Static Attribute Protected Type reference (TYPE) ABAP_BOOL Have the buffers already been filled? 20111014
41 GV_CENTRAL_LOGSYS Static Attribute Protected Type reference (TYPE) USZBVLNDSC-SENDSYSTEM Logical System Name of CUA Central System 20111014
42 GV_CUA_ACTIVE Static Attribute Protected Type reference (TYPE) ABAP_BOOL Is CUA active (and consistent)? 20111014
43 GV_CUA_INCONSISTENT Static Attribute Protected Type reference (TYPE) ABAP_BOOL Is CUA inconsistent? 20111014
44 GV_IS_CUA_CENTRAL Static Attribute Protected Type reference (TYPE) ABAP_BOOL Current client is CUA central system 20111014
45 GV_IS_CUA_CHILD Static Attribute Protected Type reference (TYPE) ABAP_BOOL Current client is CUA child system 20111014
46 GV_LOCAL_LOGSYS Static Attribute Protected Type reference (TYPE) T000-LOGSYS Logical System Name of Current Client 20111014
47 GV_NEW_SYSTEM Static Attribute Protected Type reference (TYPE) ABAP_BOOL All users copied? 20111014
Methods
# Method Level Visibility Method type Description Created on
1 AGR_MASS_TXT_COMPARE Static method Public Method Performs text comparison of multiple roles in CUA cen. sys. 20111014
2 AGR_SINGLE_TXT_COMPARE Static method Public Method Performs text comparison of a role in CUA central system 20111014
3 CHECK_AUTO_TEXT_COMP_FEATURE Static method Public Method Checks if automatic text comparison is active 20111221
4 CHECK_IF_FUMO_EXISTS Static method Public Method Checks if a desired function mod. exists in CUA central sys. 20111014
5 DEQUEUE Static method Public Method Remove lock for changes to CUA configuration 20111209
6 ENQUEUE Static method Public Method Set lock for changes to CUA configuration 20111209
7 GET_CUA_LANDSCAPE_PARAMETERS Static method Protected Method Determine CUA Landscape 20111014
8 RESET_GLOBAL_CUA_INFO Static method Protected Method Resets global information about CUA landscape 20111014
9 SET_AUTO_TEXT_COMP_FEATURE Static method Public Method Set "automatic text comparison" Customizing switch 20111221
Events
Class CL_SUSR_CUA_TOOLS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_BAPIUSSRGE Public See coding 20120326 TT_BAPIUSSRGE type standard table of bapiussrge
2 TT_FUMO_EXISTS Protected See coding 20111014 tt_fumo_exists type standard table of ty_fumo_exists
3 TT_ROLES_2B_COMPARED Protected See coding 20111014 tt_roles_2b_compared type standard table of ty_roles_2b_compared
4 TT_ROLES_COMPARED Protected See coding 20111014 tt_roles_compared type standard table of ty_roles_compared
5 TY_ATCR_UPDATE Public See coding 20120705 begin of TY_ATCR_UPDATE, role_name_del_needed type boole_d, role_name_del_success type boole_d, role_name_ins_needed type boole_d, role_name_ins_success type boole_d, role_name_upd_needed type boole_d, role_name_upd_success type boole_d, role_text_del_needed type boole_d, role_text_del_success type boole_d, role_text_ins_needed type boole_d, role_text_ins_success type boole_d, role_text_upd_needed type boole_d, role_text_upd_success type boole_d, end of TY_ATCR_UPDATE
6 TY_FUMO_EXISTS Protected See coding 20111014 begin of ty_fumo_exists, fumo_name type rs38l-name, exists type abap_bool, msg type symsg, end of ty_fumo_exists
7 TY_ROLES_2B_COMPARED Protected See coding 20111014 begin of ty_roles_2b_compared, in_cache type boole_d, changed type boole_d, agr_name type agr_name, mode type char01, usrsysact type usrsysact, usrsysactt type suid_tt_usrsysactt, end of ty_roles_2b_compared
8 TY_ROLES_COMPARED Protected See coding 20111014 begin of ty_roles_compared, agr_name type agr_name, mode type char01, usrsysact type usrsysact, usrsysactt type suid_tt_usrsysactt, msg type bapiret2, end of ty_roles_compared
Method Signatures

Method AGR_MASS_TXT_COMPARE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Returntabelle 20111014
2 Importing IT_AGR_FLAGS Call by reference Type reference (TYPE) SUID_TT_AGR_FLAGS Attribute zu abzugleichenden Rollen 20111014
3 Importing IT_ROLE_NAME Call by reference Type reference (TYPE) SMENAGRDEFTYP Rollendefinition abzugleichender Rollen 20111014
4 Importing IT_ROLE_TEXTS Call by reference Type reference (TYPE) SUID_TT_AGR_TEXTS Texte zu abzugleichenden Rollen 20111014
5 Importing IV_ASYNCHRONOUS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Änderungen im Hintergrundprozess ausführen?('X'=Ja,' '=Nein) 20120110
6 Importing IV_MODE Call by reference Type reference (TYPE) CHAR01 CO_UPDATE Verarbeitungsmodus ('U'=Insert/Update, 'D'=Löschen) 20111014
# Exception Resumable Description Created on
1 WRONG_MODE falscher Verarbeitungsmodus 20111014

Method AGR_SINGLE_TXT_COMPARE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Returntabelle 20111014
2 Importing IT_ROLE_TEXTS Call by reference Type reference (TYPE) SUID_TT_AGR_TEXTS Tabellentyp: Rolle mit Texten 20111014
3 Importing IV_ASYNCHRONOUS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Änderungen im Hintergrundprozess ausführen?('X'=Ja,' '=Nein) 20120110
4 Importing IV_COL_FLAG Call by reference Type reference (TYPE) CHAR01 SPACE 'X'...Sammelrolle; ' '...Einzelrolle 20111014
5 Importing IV_MODE Call by reference Type reference (TYPE) CHAR01 CO_UPDATE Verarbeitungsmodus(I=Insert,U=Update,D=Löschen,T=Übersetzen) 20111014
6 Importing IV_ROLE_NAME Call by reference Type reference (TYPE) AGR_DEFINE-AGR_NAME Name der abzugleichenden Rolle 20111014
# Exception Resumable Description Created on
1 WRONG_MODE falscher Verarbeitungsmodus 20111014

Method CHECK_AUTO_TEXT_COMP_FEATURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_AUTO_CLEANUP Value transfer Type reference (TYPE) SSM_PATH CO_USR_CUST_PATH_NO automatische Bereinigung der Zuordnungen durchgeführen? 20120705
2 Changing CV_AVAILABLE Value transfer Type reference (TYPE) SSM_PATH Verfügbarkeit dieser Funktionalität 20111221
3 Importing IV_OBJECT Call by reference Type reference (TYPE) RSTABLE-TABNAME CO_TEXT_COMP_OBJ_ROLE Objekt, für das der automatische Textabgleich geprüft wird 20111221

Method CHECK_AUTO_TEXT_COMP_FEATURE on class CL_SUSR_CUA_TOOLS has no exception.

Method CHECK_IF_FUMO_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Returntabelle 20111014
2 Changing EV_EXISTS Call by reference Type reference (TYPE) ABAP_BOOL Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20111014
3 Importing IV_CENTRAL_LOGSYS Call by reference Type reference (TYPE) USZBVLNDSC-SENDSYSTEM logischer Systemname der ZBV-Zentrale 20111014
4 Importing IV_FUMO_NAME Call by reference Type reference (TYPE) RS38L-NAME Funktionsbausteinname 20111014

Method CHECK_IF_FUMO_EXISTS on class CL_SUSR_CUA_TOOLS has no exception.

Method DEQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLIENT Call by reference Type reference (TYPE) T000-MANDT Mandant (nur für Aufrufe aus After-Import-Methoden) 20120126
2 Importing IV_OBJECT Call by reference Type reference (TYPE) RSTABLE-TABNAME CO_ENQUEUE_SCUA zu entsperrendes Objekt 20111209
3 Importing IV_SCOPE Call by reference Type reference (TYPE) DDENQSCOPE 1 Steuerung des Sperrverhaltens beim Verbuchungsaufruf 20111216
4 Importing IV_SUBKEY Call by reference Type reference (TYPE) RSTABLE-VARKEY zu entsperrendes Teilobjekt 20111209
# Exception Resumable Description Created on
1 WRONG_INPUT_VALUE falsche Parameterwerte 20120126

Method ENQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ATTEMPTS Call by reference Type reference (TYPE) I 1 Anzahl der Sperrversuche 20111209
2 Importing IV_CLIENT Call by reference Type reference (TYPE) T000-MANDT Mandant (nur für Aufrufe aus After-Import-Methoden) 20120126
3 Importing IV_OBJECT Call by reference Type reference (TYPE) RSTABLE-TABNAME CO_ENQUEUE_SCUA zu sperrendes Objekt 20111209
4 Importing IV_SCOPE Call by reference Type reference (TYPE) DDENQSCOPE 1 Steuerung des Sperrverhaltens beim Verbuchungsaufruf 20111209
5 Importing IV_SUBKEY Call by reference Type reference (TYPE) RSTABLE-VARKEY zu sperrendes Teilobjekt 20111209
# Exception Resumable Description Created on
1 ENQUEUE_SERVER_PROBLEM Fehler in der Sperrverwaltung 20111209
2 FOREIGN_LOCK es existiert bereits eine Sperre zum gleichen Teilobjekt 20111209
3 WRONG_INPUT_VALUE falsche Parameterwerte 20120126

Method GET_CUA_LANDSCAPE_PARAMETERS Signature

Method GET_CUA_LANDSCAPE_PARAMETERS on class CL_SUSR_CUA_TOOLS has no parameter.
Method GET_CUA_LANDSCAPE_PARAMETERS on class CL_SUSR_CUA_TOOLS has no exception.

Method RESET_GLOBAL_CUA_INFO Signature

Method RESET_GLOBAL_CUA_INFO on class CL_SUSR_CUA_TOOLS has no parameter.
Method RESET_GLOBAL_CUA_INFO on class CL_SUSR_CUA_TOOLS has no exception.

Method SET_AUTO_TEXT_COMP_FEATURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AVAILABLE Call by reference Type reference (TYPE) SSM_PATH Verfügbarkeit dieser Funktionalität 20111221
2 Importing IV_OBJECT Call by reference Type reference (TYPE) RSTABLE-TABNAME CO_TEXT_COMP_OBJ_ROLE Objekt, für das der automatische Textabgleich geprüft wird 20111221

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