SAP ABAP Class CL_PRGN_TOOLS (Methods for User Comparison)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SEC-AUT-PFC (Application Component) ABAP Authorization and Role Management
⤷
S_PROFGEN_TOOLS (Package) Methods for User Comparison
⤷
⤷
Properties
| Class | CL_PRGN_TOOLS | |
| Short Description | Methods for User Comparison | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_PROFGEN_TOOLS | Methods for User Comparison |
| Created | 20110615 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_PRGN_TOOLS has no forward declaration.
Interfaces
Class CL_PRGN_TOOLS has no interface implemented.
Friends
Class CL_PRGN_TOOLS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | ACTIV_AUTH | '02' | Activity | 20110615 | ||
| 2 | Constant | Public | Type reference (TYPE) | ACTIV_AUTH | '22' | Activity | 20110615 | ||
| 3 | Constant | Public | Type reference (TYPE) | CHAR01 | 'A' | Missing Authorizations | 20110927 | ||
| 4 | Constant | Public | Type reference (TYPE) | CHAR01 | 'L' | Lock Problem | 20110927 | ||
| 5 | Constant | Public | Type reference (TYPE) | XUOBJECT | 'S_USER_AGR' | Authorization Object | 20110615 | ||
| 6 | Constant | Public | Type reference (TYPE) | XUOBJECT | 'S_USER_GRP' | Authorization Object | 20110615 | ||
| 7 | Constant | Public | Type reference (TYPE) | XUOBJECT | 'S_USER_PRO' | Authorization Object | 20110615 | ||
| 8 | Constant | Public | Type reference (TYPE) | XUOBJECT | 'S_USER_SAS' | Authorization Object | 20110615 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check for any authorization for required objects | 20110615 | |
| 2 | Static method | Public | Method | Composite role deletion: check assignments to be deleted | 20110927 | |
| 3 | Static method | Public | Method | Authorization checks for CUA role assignments | 20110618 | |
| 4 | Static method | Public | Method | Collection of users affected by assignment changes | 20110615 | |
| 5 | Static method | Public | Method | Copy assignments to different structures | 20110622 | |
| 6 | Static method | Public | Method | Display system messages | 20110621 | |
| 7 | Static method | Public | Method | Postprocessing of status messages | 20111102 | |
| 8 | Static method | Public | Method | Determine authorization objects to be checked | 20110615 | |
| 9 | Static method | Public | Method | Role deletion: remove role assignments | 20110923 | |
| 10 | Static method | Private | Method | Write role assignments to be deleted in buffer | 20110924 | |
| 11 | Static method | Private | Method | Check for missing CUA system assignment for a user | 20110620 | |
| 12 | Static method | Public | Method | Allocation of users to be changed to packages | 20110622 | |
| 13 | Static method | Public | Method | Delete obsolete user instances | 20110618 | |
| 14 | Static method | Public | Method | User instantiation for assignment changes | 20110615 |
Events
Class CL_PRGN_TOOLS has no event.
Types
Class CL_PRGN_TOOLS has no local type.
Method Signatures
Method PRGN_CHECK_ANY_AUTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2 | Tabelle mit BAPI Return Informationen | 20110615 | |||
| 2 | ID_NODE_TYPE | Call by reference | Type reference (TYPE) | SUID_NODE_NAME | Knotenname | 20110615 |
Method PRGN_CHECK_ANY_AUTH on class CL_PRGN_TOOLS has no exception.
Method PRGN_CHECK_ASGM_TO_DEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_ROLE_ASGM | Call by reference | Type reference (TYPE) | SUID_TT_AGR_USERS | Benutzerzuordnungen der Rolle | 20111108 | |||
| 2 | EF_ERROR_CODE | Call by reference | Type reference (TYPE) | CHAR01 | Fehlerzeichen | 20110927 | |||
| 3 | ET_PROF_ASGM_SGLS | Call by reference | Type reference (TYPE) | SUID_TT_CD_USL04 | Profilzuordnungen der Einzelrollen in der Sammelrolle | 20110927 | |||
| 4 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20110927 | |||
| 5 | ET_USERS | Call by reference | Type reference (TYPE) | SUID_TT_BNAME | Instantiierte Benutzer | 20110927 | |||
| 6 | ID_ROLE | Call by reference | Type reference (TYPE) | AGR_NAME | Sammelrolle | 20110927 | |||
| 7 | IF_COLL_ROLE | Call by reference | Type reference (TYPE) | SESF_BOOLEAN | Rollentyp (Space = Einzelrolle, 'X' = Sammelrolle) | 20111005 | |||
| 8 | IT_SGLS_IN_COLL | Call by reference | Type reference (TYPE) | SUSR_T_ROLES | Einzelrollen in der Sammelrolle | 20110927 |
Method PRGN_CHECK_ASGM_TO_DEL on class CL_PRGN_TOOLS has no exception.
Method PRGN_CHECK_ROLE_ASGM_IN_CUA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_ASGMS_TO_CHANGE | Call by reference | Type reference (TYPE) | SUID_TT_CD_USLA04 | Zu ändernde Rollenzuordnungen | 20110621 | |||
| 2 | CT_USERS_TO_CHANGE | Call by reference | Type reference (TYPE) | SUID_TT_BNAME | Zu ändernde Benutzer | 20110621 | |||
| 3 | EF_TECH_ERROR | Call by reference | Type reference (TYPE) | CHAR01 | Technischer Fehler | 20111022 | |||
| 4 | ET_ASGM_AUT_ERR | Call by reference | Type reference (TYPE) | SUID_TT_CD_USLA04 | Unerlaubte Zuordnungen | 20110623 | |||
| 5 | ET_ASGM_ENQ_USERS | Call by reference | Type reference (TYPE) | SUID_TT_CD_USLA04 | Zuordnungen gesperrter Benutzer | 20110623 | |||
| 6 | ET_ASGM_INV_ROLES | Call by reference | Type reference (TYPE) | SUID_TT_CD_USLA04 | Hinzuzufügende Zuordnungen ungültiger Rollen | 20111011 | |||
| 7 | ET_ASGM_INV_USERS | Call by reference | Type reference (TYPE) | SUID_TT_CD_USLA04 | Zuordnungen ungültiger Benutzer | 20110623 | |||
| 8 | ET_INV_USERS | Call by reference | Type reference (TYPE) | SUID_TT_BNAME | Ungültige Benutzer | 20110623 | |||
| 9 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Liste der Fehlermeldungen | 20110618 | |||
| 10 | IF_CHK_ROLE_EXISTENCE | Call by reference | Type reference (TYPE) | CHAR01 | 'X' | Existenzprüfung für Rollen | 20110618 | ||
| 11 | IT_USERS_TO_ADD | Call by reference | Type reference (TYPE) | SUID_TT_BNAME | Benutzer mit hinzuzufügenden Zuordnungen | 20111017 |
Method PRGN_CHECK_ROLE_ASGM_IN_CUA on class CL_PRGN_TOOLS has no exception.
Method PRGN_COLLECT_US_TO_CHK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_USERS | Call by reference | Type reference (TYPE) | SUID_TT_BNAME | Tabellentyp: Benutzer | 20110615 | |||
| 2 | ET_USERS_ADD | Call by reference | Type reference (TYPE) | SUID_TT_BNAME | Tabellentyp: Benutzer | 20111015 | |||
| 3 | ID_NODE_TYPE | Call by reference | Type reference (TYPE) | SUID_NODE_NAME | Knotenname | 20110615 | |||
| 4 | IT_AGR_USERS | Call by reference | Type reference (TYPE) | SUID_TT_AGR_USERS | Tabellentyp: Rolleninformation | 20110625 | |||
| 5 | IT_VUSL04 | Call by reference | Type reference (TYPE) | SUID_TT_CD_USL04 | Tabellentyp: UST04 | 20110625 | |||
| 6 | IT_VUSLA04 | Call by reference | Type reference (TYPE) | SUID_TT_CD_USLA04 | Tabellentyp: ZBV Rolleninformation | 20110625 |
Method PRGN_COLLECT_US_TO_CHK on class CL_PRGN_TOOLS has no exception.
Method PRGN_COPY_ASGM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_CUA_ROLE_ASGM_TO_ADD | Call by reference | Type reference (TYPE) | SUID_TT_USLA04 | Hinzuzufügende Rollenzuordnungen | 20110622 | |||
| 2 | CT_CUA_ROLE_ASGM_TO_CHG | Call by reference | Type reference (TYPE) | SUID_TT_CD_USLA04 | Summe der ZBV-Rollenzuordnungsänderungen | 20110622 | |||
| 3 | CT_CUA_ROLE_ASGM_TO_DEL | Call by reference | Type reference (TYPE) | SUID_TT_USLA04 | Zu löschende Rollenzuordnungen | 20110622 | |||
| 4 | CT_PROF_ASGM_TO_ADD | Call by reference | Type reference (TYPE) | SUID_TT_UST04 | Hinzuzufügende Profilzuordnungen | 20110622 | |||
| 5 | CT_PROF_ASGM_TO_CHG | Call by reference | Type reference (TYPE) | SUID_TT_CD_USL04 | Summe der Profilzuordnungsänderungen | 20110622 | |||
| 6 | CT_PROF_ASGM_TO_DEL | Call by reference | Type reference (TYPE) | SUID_TT_UST04 | Zu löschende Profilzuordnungen | 20110622 | |||
| 7 | CT_ROLE_ASGM_TO_ADD | Call by reference | Type reference (TYPE) | SUID_TT_STR_AGRS | Hinzuzufügende Rollenzuordnungen | 20110622 | |||
| 8 | CT_ROLE_ASGM_TO_CHG | Call by reference | Type reference (TYPE) | SUID_TT_AGR_USERS | Summe der Rollenzuordnungsänderungen | 20110622 | |||
| 9 | CT_ROLE_ASGM_TO_DEL | Call by reference | Type reference (TYPE) | SUID_TT_STR_AGRS | Zu löschende Rollenzuordnungen | 20110622 | |||
| 10 | IF_COPY_TYPE | Call by reference | Type reference (TYPE) | CHAR01 | Charakterfeld der Länge 1 | 20110622 | |||
| 11 | IF_NODE_TYPE | Call by reference | Type reference (TYPE) | SUID_NODE_NAME | Knotenname | 20110622 |
Method PRGN_COPY_ASGM on class CL_PRGN_TOOLS has no exception.
Method PRGN_DISPLAY_MSGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_BAPIRET2 | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20110621 | |||
| 2 | IT_SPROT_U | Call by reference | Type reference (TYPE) | SPROT_U_TAB | Tabellentyp zu SPROT_U (Schnittst. zur Protokollerstellung) | 20110621 |
Method PRGN_DISPLAY_MSGS on class CL_PRGN_TOOLS has no exception.
Method PRGN_EDIT_RETURN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Fehler- und Statusmeldungen | 20111102 | |||
| 2 | IF_ASGM_TYPE | Call by reference | Type reference (TYPE) | CHAR01 | Typ der geänderten Zuordnungen | 20111102 |
Method PRGN_EDIT_RETURN on class CL_PRGN_TOOLS has no exception.
Method PRGN_OBJCTS_TO_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_ACT_CHK | Call by reference | Type reference (TYPE) | ACTIV_AUTH | Aktivität | 20110615 | |||
| 2 | ED_OBJ_CHK | Call by reference | Type reference (TYPE) | XUOBJECT | Berechtigungsobjekt | 20110615 | |||
| 3 | ID_NODE_TYPE | Call by reference | Type reference (TYPE) | SUID_NODE_NAME | Knotenname | 20110615 |
Method PRGN_OBJCTS_TO_CHECK on class CL_PRGN_TOOLS has no exception.
Method PRGN_US_ASGM_DEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_US_ASGM_TO_DEL | Call by reference | Type reference (TYPE) | SUID_TT_AGR_USERS | Tabellentyp: Rolleninformation | 20111111 | |||
| 2 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20110923 | |||
| 3 | ID_SAVE_TO_DB | Call by reference | Type reference (TYPE) | CHAR01 | 'X' | Datenbankänderung | 20110923 |
Method PRGN_US_ASGM_DEL on class CL_PRGN_TOOLS has no exception.
Method PRGN_US_ASGM_DEL_TO_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20110924 | |||
| 2 | IT_ROLE_ASGM | Call by reference | Type reference (TYPE) | SUID_TT_AGR_USERS | Zu löschende Rollenzuordnungen | 20110924 |
Method PRGN_US_ASGM_DEL_TO_BUFFER on class CL_PRGN_TOOLS has no exception.
Method PRGN_US_CHK_NEW_CUA_SYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_NEW_SYSTEM | Call by reference | Type reference (TYPE) | CHAR01 | Charakterfeld der Länge 1 | 20110620 | |||
| 2 | ID_SYSTEM | Call by reference | Type reference (TYPE) | LOGSYS | Logisches System | 20110620 | |||
| 3 | ID_USER | Call by reference | Type reference (TYPE) | XUBNAME | Benutzername im Benutzerstamm | 20110620 | |||
| 4 | IF_CLEAR_BUFFER | Call by reference | Type reference (TYPE) | CHAR01 | SPACE | Charakterfeld der Länge 1 | 20110621 |
Method PRGN_US_CHK_NEW_CUA_SYS on class CL_PRGN_TOOLS has no exception.
Method PRGN_US_CREATE_PACKET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_CUA_ROLE_ASGM_ALL | Call by reference | Type reference (TYPE) | SUID_TT_CD_USLA04 | Alle zu ändernden ZBV-Rollenzuordnungen | 20110622 | |||
| 2 | CT_PROF_ASGM_ALL | Call by reference | Type reference (TYPE) | SUID_TT_CD_USL04 | Alle zu ändernden Profilzuordnungen | 20110622 | |||
| 3 | CT_ROLE_ASGM_ALL | Call by reference | Type reference (TYPE) | SUID_TT_AGR_USERS | Alle zu ändernden Rollenzuordnungen | 20110622 | |||
| 4 | CT_USERS_ALL | Call by reference | Type reference (TYPE) | SUID_TT_BNAME | Alle zu ändernden Benutzer | 20110622 | |||
| 5 | ET_CUA_ROLE_ASGM_PACK | Call by reference | Type reference (TYPE) | SUID_TT_CD_USLA04 | Packet zu ändernden ZBV-Rollenzuordnungen | 20110622 | |||
| 6 | ET_PROF_ASGM_PACK | Call by reference | Type reference (TYPE) | SUID_TT_CD_USL04 | Paket zu ändernden Profilzuordnungen | 20110622 | |||
| 7 | ET_ROLE_ASGM_PACK | Call by reference | Type reference (TYPE) | SUID_TT_AGR_USERS | Paket zu ändernden Rollenzuordnungen | 20110622 | |||
| 8 | ET_USERS_PACK | Call by reference | Type reference (TYPE) | SUID_TT_BNAME | Paket zu ändernder Benutzer | 20110622 | |||
| 9 | ID_NODE_TYPE | Call by reference | Type reference (TYPE) | SUID_NODE_NAME | Knotenname | 20110622 |
Method PRGN_US_CREATE_PACKET on class CL_PRGN_TOOLS has no exception.
Method PRGN_US_INST_DEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_PROF_ASG | Call by reference | Type reference (TYPE) | SUID_TT_CD_USL04 | Tabellentyp: UST04 | 20110618 | |||
| 2 | CT_ROLE_ASG_CUA | Call by reference | Type reference (TYPE) | SUID_TT_CD_USLA04 | Änderungsbelegtabelle für systemspezifische Rollenzuordnung | 20110618 | |||
| 3 | CT_ROLE_ASG_LOC | Call by reference | Type reference (TYPE) | SUID_TT_AGR_USERS | Tabellentyp: Rolleninformation | 20110618 | |||
| 4 | CT_USERS_ERR | Call by reference | Type reference (TYPE) | SUID_TT_BNAME | Tabellentyp: Benutzer | 20110618 | |||
| 5 | CT_USERS_TO_CHG | Call by reference | Type reference (TYPE) | SUID_TT_BNAME | Tabellentyp: Benutzer | 20110618 | |||
| 6 | ID_NODE_TYPE | Call by reference | Type reference (TYPE) | SUID_NODE_NAME | Knotenname | 20110618 |
Method PRGN_US_INST_DEL on class CL_PRGN_TOOLS has no exception.
Method PRGN_US_INST_FOR_ASG_CHG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_TECH_ERROR | Call by reference | Type reference (TYPE) | CHAR01 | Technischer Fehler | 20110625 | |||
| 2 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Fehlerprotokoll | 20110615 | |||
| 3 | ET_ROOT_NODE | Call by reference | Type reference (TYPE) | SUID_TT_NODE_ROOT | Benutzerinstanzen | 20110615 | |||
| 4 | ET_USERS_INV | Call by reference | Type reference (TYPE) | SUID_TT_BNAME | Ungültige Benutzer | 20110615 | |||
| 5 | ET_USERS_NO_AUT | Call by reference | Type reference (TYPE) | SUID_TT_BNAME | Unzulässige Benutzer | 20110615 | |||
| 6 | ET_USERS_NO_ENQ | Call by reference | Type reference (TYPE) | SUID_TT_BNAME | Gesperrte Benutzer | 20110615 | |||
| 7 | ID_NODE_TYPE | Call by reference | Type reference (TYPE) | SUID_NODE_NAME | Knotenname | 20110615 | |||
| 8 | IF_PREFETCH | Call by reference | Type reference (TYPE) | CHAR01 | Zuordnungen für Knotentyp laden | 20110625 | |||
| 9 | IT_USERS_TO_ADD | Call by reference | Type reference (TYPE) | SUID_TT_BNAME | Benutzer mit hinzuzufügenden Zuordnungen | 20111017 | |||
| 10 | IT_USERS_TO_CHK | Call by reference | Type reference (TYPE) | SUID_TT_BNAME | Zu ändernde Benutzer | 20110615 |
Method PRGN_US_INST_FOR_ASG_CHG on class CL_PRGN_TOOLS has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 731 |