SAP ABAP Class CL_AUTH_TOOLS (Generic tools for authorizations)
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_AUTH_TOOLS | |
| Short Description | Generic tools for authorizations | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SUSR | ABAP User Administration |
| Created | 20091113 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_AUTH_TOOLS has no forward declaration.
Interfaces
Class CL_AUTH_TOOLS has no interface implemented.
Friends
Class CL_AUTH_TOOLS has no friend class.
Attributes
Class CL_AUTH_TOOLS has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add one field into a transport task | 20091125 | |
| 2 | Instance method | Public | Method | Generic authority check for authorization field maintenance | 20091123 | |
| 3 | Instance method | Public | Method | Check one AUTHX record | 20091125 | |
| 4 | Static method | Public | Method | Convert USR10 long string to table format (composite prof.) | 20101028 | |
| 5 | Static method | Public | Method | Convert USR10 long string to table format (single profile) | 20101028 | |
| 6 | Static method | Public | Method | Convert USR12 long string to table format | 20101021 | |
| 7 | Instance method | Public | Method | Dequeue logic for table AUTH_FIELD_INFO_TMP | 20091125 | |
| 8 | Instance method | Public | Method | Enqueue logic for table AUTH_FIELD_INFO_TMP | 20091125 | |
| 9 | Static method | Public | Method | Get technical details for an authorization field | 20101022 | |
| 10 | Instance method | Public | Method | Get auth. field list joined with dictionary attributes | 20091113 | |
| 11 | Instance method | Public | Method | Update info for one auth. field with dictionary attributes | 20091125 | |
| 12 | Instance method | Public | Method | Authority check for object class handling | 20100311 | |
| 13 | Instance method | Public | Method | Get changebility status for object class | 20100311 | |
| 14 | Instance method | Public | Method | Get class attributes from database | 20100311 | |
| 15 | Static method | Public | Method | Load header data for authorization object | 20110823 | |
| 16 | Instance method | Public | Method | Get auth.-obj.-oriented where-used status for fields | 20091211 | |
| 17 | Instance method | Public | Method | Get authorization-oriented where-used-status for objects | 20091210 | |
| 18 | Instance method | Public | Method | Get Workbench-oriented where-used-status for objects | 20091210 |
Events
Class CL_AUTH_TOOLS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TV_MODE | Public | Type reference (TYPE) | CHAR01 | .Delete, Change, Info, Silent | 20091210 | |
Method Signatures
Method ADD_AFIELD_TO_TRKORR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FIELDNAME | Call by reference | Type reference (TYPE) | FIELDNAME | Feldname | 20091125 | |||
| 2 | RETURN | Value transfer | Type reference (TYPE) | SYSUBRC | Rückgabewert von ABAP-Anweisungen | 20091125 |
Method ADD_AFIELD_TO_TRKORR on class CL_AUTH_TOOLS has no exception.
Method AUTHORITY_CHECK_SUSO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTVT | Call by reference | Type reference (TYPE) | ACTIV_AUTH | Aktivität | 20091123 | |||
| 2 | DEVCLASS | Call by reference | Type reference (TYPE) | DEVCLASS | Paket | 20091123 | |||
| 3 | FIELDNAME | Call by reference | Type reference (TYPE) | FIELDNAME | Feldname | 20091123 | |||
| 4 | RESULT | Value transfer | Type reference (TYPE) | SYSUBRC | Rückgabewert von ABAP-Anweisungen | 20091123 |
Method AUTHORITY_CHECK_SUSO on class CL_AUTH_TOOLS has no exception.
Method CONSI_CHECK_AUTHX_SINGLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AUTHX | Call by reference | Type reference (TYPE) | AUTHX | authorization fieldname | 20091125 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | SYSUBRC | Authorization field: technical info from dictionary | 20091125 | |||
| 3 | SILENT | Call by reference | Type reference (TYPE) | CHAR01 | 'X' | Silent = X ... No message output | 20091127 |
Method CONSI_CHECK_AUTHX_SINGLE on class CL_AUTH_TOOLS has no exception.
Method CONVERT_USR10_TO_UST10C Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_UST10C | Value transfer | Type reference (TYPE) | SUID_TT_UST10C | Tabellentyp: Sammelprofile | 20101028 | |||
| 2 | IS_USR10 | Call by reference | Type reference (TYPE) | USR10 | Benutzerstamm Berechtigungs-Profile | 20101028 |
Method CONVERT_USR10_TO_UST10C on class CL_AUTH_TOOLS has no exception.
Method CONVERT_USR10_TO_UST10S Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_UST10S | Value transfer | Type reference (TYPE) | SUID_TT_UST10S | Berechtigung im Einzelprofil | 20101028 | |||
| 2 | IS_USR10 | Call by reference | Type reference (TYPE) | USR10 | Benutzerstamm Berechtigungs-Profile | 20101028 |
Method CONVERT_USR10_TO_UST10S on class CL_AUTH_TOOLS has no exception.
Method CONVERT_USR12_VALS_TO_UST12 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PS_USR12 | Call by reference | Type reference (TYPE) | USR12 | Satz mit Berechtigungsdaten | 20101021 | |||
| 2 | PT_USVALUES | Value transfer | Type reference (TYPE) | SUSR_T_USVALUES | Übergabetabelle für Berechtigungswerte zu Objekt | 20101021 |
Method CONVERT_USR12_VALS_TO_UST12 on class CL_AUTH_TOOLS has no exception.
Method DEQUEUE_AUTHFLD_INFO_TMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FIELD | Call by reference | Type reference (TYPE) | FIELDNAME | Feldname | 20091125 | |||
| 2 | LANGU | Call by reference | Type reference (TYPE) | DDLANGUAGE | Sprachenschlüssel | 20091125 |
Method DEQUEUE_AUTHFLD_INFO_TMP on class CL_AUTH_TOOLS has no exception.
Method ENQUEUE_AUTHFLD_INFO_TMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FIELD | Call by reference | Type reference (TYPE) | FIELDNAME | Feldname | 20091125 | |||
| 2 | LANGU | Call by reference | Type reference (TYPE) | DDLANGUAGE | Sprachenschlüssel | 20091125 | |||
| 3 | RESULT | Value transfer | Type reference (TYPE) | SYSUBRC | Rückgabewert von ABAP-Anweisungen | 20091125 |
Method ENQUEUE_AUTHFLD_INFO_TMP on class CL_AUTH_TOOLS has no exception.
Method GET_AUTHFIELD_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PD_FIELD | Call by reference | Type reference (TYPE) | XUFIELD | Feldname | 20101022 | |||
| 2 | PS_FIELDINFO | Value transfer | Type reference (TYPE) | AUTH_FLDINFO_TMP | Authorization fields: technical info from dictionary | 20101022 |
Method GET_AUTHFIELD_INFO on class CL_AUTH_TOOLS has no exception.
Method GET_AUTHFLD_INFO_LIST_FROM_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AUTHFLD_LIST | Value transfer | Type reference (TYPE) | SUSR_T_AUTH_FLD_INFO | Authorization field: technical info from dictionary | 20091113 | |||
| 2 | LANGU | Call by reference | Type reference (TYPE) | SYLANGU | Sprachenschlüssel der aktuellen Textumgebung | 20091113 |
Method GET_AUTHFLD_INFO_LIST_FROM_DB on class CL_AUTH_TOOLS has no exception.
Method SET_AUTHFLD_INFO_FROM_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FIELD | Call by reference | Type reference (TYPE) | AUTHX-FIELDNAME | Feldname | 20091125 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | SYSUBRC | Rückgabewert von ABAP-Anweisungen | 20091125 |
Method SET_AUTHFLD_INFO_FROM_DB on class CL_AUTH_TOOLS has no exception.
Method SUSC_AUTH_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTVT | Value transfer | Type reference (TYPE) | ACTIV_AUTH | Activity with Objectclass | 20100311 | |||
| 2 | OCLSS | Value transfer | Type reference (TYPE) | XUOBJCLASS | Object class for authority objects | 20100311 | |||
| 3 | RESULT | Value transfer | Type reference (TYPE) | SY-SUBRC | Authorization status | 20100311 |
Method SUSC_AUTH_CHECK on class CL_AUTH_TOOLS has no exception.
Method SUSC_CTS_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OCLSS | Call by reference | Type reference (TYPE) | XUOBJCLASS | Klasse für Berechtigungsobjekte | 20100311 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | SY-SUBRC | Rückgabewert von ABAP-Anweisungen | 20100311 |
Method SUSC_CTS_STATUS on class CL_AUTH_TOOLS has no exception.
Method SUSC_GET_CLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OCLSS | Value transfer | Type reference (TYPE) | XUOBJCLASS | Klasse für Berechtigungsobjekte | 20100311 | |||
| 2 | PS_TADIR | Value transfer | Type reference (TYPE) | TADIR | Katalog der Repository-Objekte | 20100311 | |||
| 3 | PS_TOBCT | Value transfer | Type reference (TYPE) | TOBCT | Kurztexte zu Berechtigungsobjekten | 20100311 |
Method SUSC_GET_CLASS on class CL_AUTH_TOOLS has no exception.
Method SUSO_GET_HEADER_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_RETURN | Value transfer | Type reference (TYPE) | SUSR_S_SUSO_HEADER | Berechtigungsobjektkopfdaten | 20110823 | |||
| 2 | ID_BUFFERED | Call by reference | Type reference (TYPE) | BOOLE_D | 'X' | Geladene Daten puffern | 20110823 | ||
| 3 | ID_OBJECT | Call by reference | Type reference (TYPE) | XUOBJECT | Berechtigungsobjekt | 20110823 |
Method SUSO_GET_HEADER_DATA on class CL_AUTH_TOOLS has no exception.
Method SUSO_WHERE_USED_AFIELD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AFIELD | Call by reference | Type reference (TYPE) | AUTHX-FIELDNAME | Feldname | 20091211 | |||
| 2 | PT_OBJLST | Value transfer | Type reference (TYPE) | SUSR_T_XUOBJECT | auth.-object name list | 20091211 |
Method SUSO_WHERE_USED_AFIELD on class CL_AUTH_TOOLS has no exception.
Method SUSO_WHERE_USED_AUTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PV_MODE | Call by reference | Type reference (TYPE) | TV_MODE | Delete, Change, Info, Silent | 20091210 | |||
| 2 | PV_OBJECT | Call by reference | Type reference (TYPE) | XUOBJECT | Berechtigungsobjekt | 20091210 | |||
| 3 | PV_RESULT | Value transfer | Type reference (TYPE) | SYSUBRC | Rückgabewert von ABAP-Anweisungen | 20091210 |
Method SUSO_WHERE_USED_AUTH on class CL_AUTH_TOOLS has no exception.
Method SUSO_WHERE_USED_WBO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PV_MODE | Call by reference | Type reference (TYPE) | TV_MODE | Charakterfeld der Länge 1 | 20091210 | |||
| 2 | PV_OBJECT | Call by reference | Type reference (TYPE) | XUOBJECT | Berechtigungsobjekt | 20091210 | |||
| 3 | PV_RETURN | Value transfer | Type reference (TYPE) | SYSUBRC | Rückgabewert von ABAP-Anweisungen | 20091210 |
Method SUSO_WHERE_USED_WBO on class CL_AUTH_TOOLS has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 730 |