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 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | ![]() |
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 | ![]() |
Constant | Public | Type reference (TYPE) | USRGETFTR-VALUE | 'X' | CUA Attribute - Value | 20120629 | |
2 | ![]() |
Constant | Public | Type reference (TYPE) | TBTCJOB-JOBNAME | 'USR_ATCR_IMP' | Background Job Name | 20120326 | |
3 | ![]() |
Constant | Public | Type reference (TYPE) | TRFCQOUT-QNAME | 'SUSR_ZBV_ATCR' | Name of tRFC Queue | 20120326 | |
4 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR01 | 'X' | Indicator: Composite Role | 20111014 | |
5 | ![]() |
Constant | Public | Type reference (TYPE) | TABNAME | 'PRGN_CUST' | Cross-Client Customizing: PRGN_CUST | 20111221 | |
6 | ![]() |
Constant | Public | Type reference (TYPE) | TABNAME | 'SSM_CUST' | Cross-Client Customizing: SSM_CUST | 20111221 | |
7 | ![]() |
Constant | Public | Type reference (TYPE) | TABNAME | 'USR_CUST' | Client-Specific Customizing: USR_CUST | 20111221 | |
8 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR01 | 'D' | Mode: Delete | 20111014 | |
9 | ![]() |
Constant | Public | Type reference (TYPE) | I | 10 | Maximum Number of Lock Attempts | 20111209 | |
10 | ![]() |
Constant | Public | Type reference (TYPE) | RSTABLE-TABNAME | 'SCUA' | Lock Object for Transaction SCUA | 20111209 | |
11 | ![]() |
Constant | Public | Type reference (TYPE) | RSTABLE-TABNAME | 'SCUG' | Lock Object for Transaction SCUG | 20111214 | |
12 | ![]() |
Constant | Public | Type reference (TYPE) | RSTABLE-TABNAME | 'SCUM' | Lock Object for Transaction SCUM | 20111214 | |
13 | ![]() |
Constant | Public | Type reference (TYPE) | RSTABLE-TABNAME | 'USRSYSACT' | Lock object for text comparison: roles | 20111209 | |
14 | ![]() |
Constant | Public | Type reference (TYPE) | RSTABLE-TABNAME | 'USR06SYS' | Lock object for text comparison: license data | 20111214 | |
15 | ![]() |
Constant | Public | Type reference (TYPE) | FLAG_TYPE | 'COLL_AGR' | Role: Flag Name | 20111014 | |
16 | ![]() |
Constant | Public | Type reference (TYPE) | RS38L-NAME | 'SUSR_ZBV_LOC_ACTGRP_UPD_MASS' | Function module for mass comparison for roles | 20111227 | |
17 | ![]() |
Constant | Public | Type reference (TYPE) | RS38L-NAME | 'SUSR_ZBV_LOC_ACTGRP_UPD' | Function module for individual comparison for roles | 20111227 | |
18 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR01 | 'I' | Mode: Insert | 20120806 | |
19 | ![]() |
Constant | Public | Type reference (TYPE) | PRGN_CUST-ID | 'ATCR_BCKGRND_MODE' | Text comparison during after-import: processing type | 20120323 | |
20 | ![]() |
Constant | Public | Type reference (TYPE) | MENU_ATTR | 'BATCH' | Field attributes | 20120323 | |
21 | ![]() |
Constant | Public | Type reference (TYPE) | MENU_ATTR | 'QRFC' | Field attributes | 20120323 | |
22 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR01 | ' ' | Indicator: Single Role | 20111014 | |
23 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR01 | 'S' | Mode: Replace | 20120806 | |
24 | ![]() |
Constant | Public | Type reference (TYPE) | RSTABLE-TABNAME | 'USR06SYS' | Object for Text Comparison: License Data | 20111221 | |
25 | ![]() |
Constant | Public | Type reference (TYPE) | RSTABLE-TABNAME | 'USRSYSACT' | Object for Text Comparison: Roles | 20111221 | |
26 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR01 | 'T' | Mode: Translate | 20120605 | |
27 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR01 | 'U' | Mode: Update | 20111014 | |
28 | ![]() |
Constant | Public | Type reference (TYPE) | USR_CUST-ID | 'CUA_AUTO_TXTCMP_ROLE' | Customizing: Automatic Text Comparison for Roles | 20120323 | |
29 | ![]() |
Constant | Public | Type reference (TYPE) | USR_CUST-ID | 'CUA_ATCR_CLEANUP' | Customizing: Automatic Cleanup of Role Assignments | 20120705 | |
30 | ![]() |
Constant | Public | Type reference (TYPE) | SSM_PATH | 'NO' | Field attributes | 20120323 | |
31 | ![]() |
Constant | Public | Type reference (TYPE) | SSM_PATH | 'NOT_SUPPORTED' | Field attributes | 20120323 | |
32 | ![]() |
Constant | Public | Type reference (TYPE) | SSM_PATH | 'YES' | Field attributes | 20120323 | |
33 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | TT_FUMO_EXISTS | Internal buffer for checked function modules | 20111014 | ||
34 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | SUID_TT_USZBVLNDRC | List of All Systems of Current CUA Landscape | 20111014 | ||
35 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | TT_ROLES_COMPARED | Internal buffer for roles already compared | 20111014 | ||
36 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | SSM_PATH | Customizing: Automatic cleanup of role assignment | 20120705 | ||
37 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | SSM_PATH | Customizing for automatic text comparison for license data | 20120705 | ||
38 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | SSM_PATH | Customizing for automatic text comparison for roles | 20111221 | ||
39 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | USBAPILINK-BAPILINK | View of ALE model | 20111014 | ||
40 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_BOOL | Have the buffers already been filled? | 20111014 | ||
41 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | USZBVLNDSC-SENDSYSTEM | Logical System Name of CUA Central System | 20111014 | ||
42 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_BOOL | Is CUA active (and consistent)? | 20111014 | ||
43 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_BOOL | Is CUA inconsistent? | 20111014 | ||
44 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_BOOL | Current client is CUA central system | 20111014 | ||
45 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_BOOL | Current client is CUA child system | 20111014 | ||
46 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | T000-LOGSYS | Logical System Name of Current Client | 20111014 | ||
47 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_BOOL | All users copied? | 20111014 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Performs text comparison of multiple roles in CUA cen. sys. | 20111014 |
2 | ![]() |
Static method | Public | Method | Performs text comparison of a role in CUA central system | 20111014 |
3 | ![]() |
Static method | Public | Method | Checks if automatic text comparison is active | 20111221 |
4 | ![]() |
Static method | Public | Method | Checks if a desired function mod. exists in CUA central sys. | 20111014 |
5 | ![]() |
Static method | Public | Method | Remove lock for changes to CUA configuration | 20111209 |
6 | ![]() |
Static method | Public | Method | Set lock for changes to CUA configuration | 20111209 |
7 | ![]() |
Static method | Protected | Method | Determine CUA Landscape | 20111014 |
8 | ![]() |
Static method | Protected | Method | Resets global information about CUA landscape | 20111014 |
9 | ![]() |
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 | ![]() |
CT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Returntabelle | 20111014 | ||
2 | ![]() |
IT_AGR_FLAGS | Call by reference | Type reference (TYPE) | SUID_TT_AGR_FLAGS | Attribute zu abzugleichenden Rollen | 20111014 | ||
3 | ![]() |
IT_ROLE_NAME | Call by reference | Type reference (TYPE) | SMENAGRDEFTYP | Rollendefinition abzugleichender Rollen | 20111014 | ||
4 | ![]() |
IT_ROLE_TEXTS | Call by reference | Type reference (TYPE) | SUID_TT_AGR_TEXTS | Texte zu abzugleichenden Rollen | 20111014 | ||
5 | ![]() |
IV_ASYNCHRONOUS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Änderungen im Hintergrundprozess ausführen?('X'=Ja,' '=Nein) | 20120110 | |
6 | ![]() |
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 | ![]() |
falscher Verarbeitungsmodus | 20111014 |
Method AGR_SINGLE_TXT_COMPARE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Returntabelle | 20111014 | ||
2 | ![]() |
IT_ROLE_TEXTS | Call by reference | Type reference (TYPE) | SUID_TT_AGR_TEXTS | Tabellentyp: Rolle mit Texten | 20111014 | ||
3 | ![]() |
IV_ASYNCHRONOUS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Änderungen im Hintergrundprozess ausführen?('X'=Ja,' '=Nein) | 20120110 | |
4 | ![]() |
IV_COL_FLAG | Call by reference | Type reference (TYPE) | CHAR01 | SPACE | 'X'...Sammelrolle; ' '...Einzelrolle | 20111014 | |
5 | ![]() |
IV_MODE | Call by reference | Type reference (TYPE) | CHAR01 | CO_UPDATE | Verarbeitungsmodus(I=Insert,U=Update,D=Löschen,T=Übersetzen) | 20111014 | |
6 | ![]() |
IV_ROLE_NAME | Call by reference | Type reference (TYPE) | AGR_DEFINE-AGR_NAME | Name der abzugleichenden Rolle | 20111014 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
CV_AUTO_CLEANUP | Value transfer | Type reference (TYPE) | SSM_PATH | CO_USR_CUST_PATH_NO | automatische Bereinigung der Zuordnungen durchgeführen? | 20120705 | |
2 | ![]() |
CV_AVAILABLE | Value transfer | Type reference (TYPE) | SSM_PATH | Verfügbarkeit dieser Funktionalität | 20111221 | ||
3 | ![]() |
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 | ![]() |
ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Returntabelle | 20111014 | ||
2 | ![]() |
EV_EXISTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20111014 | ||
3 | ![]() |
IV_CENTRAL_LOGSYS | Call by reference | Type reference (TYPE) | USZBVLNDSC-SENDSYSTEM | logischer Systemname der ZBV-Zentrale | 20111014 | ||
4 | ![]() |
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 | ![]() |
IV_CLIENT | Call by reference | Type reference (TYPE) | T000-MANDT | Mandant (nur für Aufrufe aus After-Import-Methoden) | 20120126 | ||
2 | ![]() |
IV_OBJECT | Call by reference | Type reference (TYPE) | RSTABLE-TABNAME | CO_ENQUEUE_SCUA | zu entsperrendes Objekt | 20111209 | |
3 | ![]() |
IV_SCOPE | Call by reference | Type reference (TYPE) | DDENQSCOPE | 1 | Steuerung des Sperrverhaltens beim Verbuchungsaufruf | 20111216 | |
4 | ![]() |
IV_SUBKEY | Call by reference | Type reference (TYPE) | RSTABLE-VARKEY | zu entsperrendes Teilobjekt | 20111209 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
falsche Parameterwerte | 20120126 |
Method ENQUEUE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_ATTEMPTS | Call by reference | Type reference (TYPE) | I | 1 | Anzahl der Sperrversuche | 20111209 | |
2 | ![]() |
IV_CLIENT | Call by reference | Type reference (TYPE) | T000-MANDT | Mandant (nur für Aufrufe aus After-Import-Methoden) | 20120126 | ||
3 | ![]() |
IV_OBJECT | Call by reference | Type reference (TYPE) | RSTABLE-TABNAME | CO_ENQUEUE_SCUA | zu sperrendes Objekt | 20111209 | |
4 | ![]() |
IV_SCOPE | Call by reference | Type reference (TYPE) | DDENQSCOPE | 1 | Steuerung des Sperrverhaltens beim Verbuchungsaufruf | 20111209 | |
5 | ![]() |
IV_SUBKEY | Call by reference | Type reference (TYPE) | RSTABLE-VARKEY | zu sperrendes Teilobjekt | 20111209 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Fehler in der Sperrverwaltung | 20111209 | |
2 | ![]() |
es existiert bereits eine Sperre zum gleichen Teilobjekt | 20111209 | |
3 | ![]() |
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 | ![]() |
IV_AVAILABLE | Call by reference | Type reference (TYPE) | SSM_PATH | Verfügbarkeit dieser Funktionalität | 20111221 | ||
2 | ![]() |
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 |