SAP ABAP Class CL_RMPS_AUT_ORG (RMPS: Authorizational Check; Organizational and General)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   CA-GTF-RCM (Application Component) Records and Case Management
     RMPS_AUTH (Package) Public Sector-Specific Authorization Checks
Properties
Class CL_RMPS_AUT_ORG  
Short Description RMPS: Authorizational Check; Organizational and General    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RMPS_AUTH   Public Sector-Specific Authorization Checks 
Created 20021107   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_RMPS_ORGANIZATION Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 IF_SRM Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_RMPS_AUT_ORG has no interface implemented.
Friends
Class CL_RMPS_AUT_ORG has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_ACTIVITY_CREATE Constant Public Type reference (TYPE) RMPS_AUT_ACTIVITY 'CREA' Activity for Authorization Check 20031010
2 C_ACTIVITY_DELETE_PUT_AWAY Constant Public Type reference (TYPE) RMPS_AUT_GEN_ACTIVITY 'DELP' Delete Temporary Objects 20021213
3 C_ACTIVITY_DESK Constant Public Type reference (TYPE) RMPS_AUT_GEN_ACTIVITY 'DESK' Customizing Interfaces 20021126
4 C_ACTIVITY_INBOUND_HISTORY Constant Public Type reference (TYPE) RMPS_AUT_GEN_ACTIVITY 'INBH' Display Incoming Post Book 20021206
5 C_ACTIVITY_LINK_CREATE Constant Public Type reference (TYPE) RMPS_AUT_GEN_ACTIVITY 'LINK' General Activity for Authorization Check 20061017
6 C_ACTIVITY_LINK_DELETE Constant Public Type reference (TYPE) RMPS_AUT_GEN_ACTIVITY 'LIDE' General Activity for Authorization Check 20061017
7 C_ACTIVITY_MODFIY Constant Public Type reference (TYPE) RMPS_AUT_ACTIVITY 'MODI' Activity for Authorization Check 20031010
8 C_ACTIVITY_MY_EMPLOYEES Constant Public Type reference (TYPE) RMPS_AUT_GEN_ACTIVITY 'MYEE' Get Subtitutes for My Employees 20021204
9 C_ACTIVITY_REOPEN_EXT_MEDIA Constant Public Type reference (TYPE) RMPS_AUT_GEN_ACTIVITY 'OPEM' Administrator: Re-Opening of External Step 20021205
10 C_ACTIVITY_RULEBASE_CHANGE Constant Public Type reference (TYPE) RMPS_AUT_GEN_ACTIVITY 'PRBC' General Activity for Authorization Check 20040609
11 C_ACTIVITY_SET_SUBSTITUTE Constant Public Type reference (TYPE) RMPS_AUT_GEN_ACTIVITY 'SETS' Maintain Substitutes for Others (Administration) 20030102
12 C_ACTIVITY_WHEREABOUTS Constant Public Type reference (TYPE) RMPS_AUT_GEN_ACTIVITY 'WHER' Display Current Location Document 20021213
13 G_AUT_OBJECT_GENERAL Constant Public Type reference (TYPE) CHAR10 'PS_RMPSGEN' Name of General RMPS 20021126
14 G_AUT_OBJECT_OEH Constant Public Type reference (TYPE) CHAR10 'PS_RMPSOEH' Name of Authorization Objects 20021120
15 G_AUT_OBJECT_ORG Constant Public Type reference (TYPE) CHAR10 'PS_RMPSORG' Name of Authorization Objects 20021107
16 G_HAS_ALL_AUTHORITY Static Attribute Public Type reference (TYPE) SRMBOOLEAN User has all authorizations 20021111
17 G_HAS_ALL_AUTHORITY_OEH Static Attribute Public Type reference (TYPE) SRMBOOLEAN Has all authorizations for OU 20021120
18 G_HAS_ALL_OEH Static Attribute Public Type reference (TYPE) SRMBOOLEAN Has * for Field ORGEH in PS_RMPSOEH 20050624
19 G_HAS_ALL_ORGLEVEL Static Attribute Public Type reference (TYPE) SRMBOOLEAN Has * for Field ORGLEVEL in PS_RMPSORG 20050624
20 G_NO_OEH Static Attribute Public Type reference (TYPE) SRMBOOLEAN Do not check OU authorization 20021120
21 G_NO_ORG Static Attribute Public Type reference (TYPE) SRMBOOLEAN Do not check ORG authorization 20021120
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ACTIVITY Static method Public Method Execute Authorization Check 20021107
2 CHECK_ACTIVITY_GEN Static method Public Method Authorization Check: General Authorization Object 20021126
3 CHECK_ACTIVITY_LINK Static method Public Method Authorization Check: Link 20060811
4 CHECK_ACTIVITY_MODEL Static method Public Method Execute Authorization Check 20030213
5 CHECK_ACTIVITY_OEH Static method Public Method Execute Authorization Check for Organizational Unit 20021120
6 CHECK_ACTIVITY_OEH_PRE Static method Public Method Execute Authorization Check 20031010
7 CHECK_ACTIVITY_ORG Static method Public Method Execute Authorization Check 20021120
8 CHECK_ACTIVITY_ORG_PRE Static method Public Method Carry out authorization check; only a couple of fields 20031010
9 CHECK_ACTIVITY_PRE Static method Public Method Execute Authorization Check 20031010
10 CLASS_CONSTRUCTOR Static method Public Constructor Class Constructor (activities to be carried out once) 20021111
11 HAS_ALL_AUTHORITY Static method Public Method Check whether user already has all authorizations 20021111
12 HAS_ALL_AUTHORITY_ACTIVITY Static method Public Method Check whether user has all authorizations for activity 20021204
13 HAS_ALL_AUTHORITY_OEH Static method Public Method Check whether user already has all authorizations for OU 20021120
14 HAS_ALL_OEH Static method Public Method Authorization Check: Has authorization for all org. units 20050624
15 HAS_ALL_ORGLEVEL Static method Public Method Authorization Check: Has authorization for all org. levels 20050624
Events
Class CL_RMPS_AUT_ORG has no event.
Types
Class CL_RMPS_AUT_ORG has no local type.
Method Signatures

Method CHECK_ACTIVITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ACTIVITY Call by reference Type reference (TYPE) RMPS_AUT_ACTIVITY Aktivität für Berechtigungsprüfung 20021107
2 Importing IM_IS_PROCESSOR Call by reference Type reference (TYPE) SRMBOOLEAN IF_SRM=>FALSE Boolean: Mögliche Werte IF_SRM=>TRUE / FALSE 20030228
3 Importing IM_KEY Call by reference Type reference (TYPE) RMPS_AUT_KEY Schlüssel für Berechtigungsprüfung (dynamisch gebildt) 20021107
4 Importing IM_LEVEL Call by reference Type reference (TYPE) SCMG_SECURE_LEVEL Berechtigungsstufe 20021107
5 Importing IM_ORGEH Call by reference Type reference (TYPE) ORGEH Prüfung für Org.Einheit 20021107
6 Importing IM_SPS_ID Call by reference Type reference (TYPE) SRMSPSID Elementart-ID 20021107
7 Importing IM_TYPE Call by reference Type reference (TYPE) RMPS_AUT_TYPE Typ eines Objekts für Berechtigungsprüfung 20021107
8 Importing IM_UNAME Call by reference Type reference (TYPE) UNAME SY-UNAME Prüfung für User 20021107
9 Returning RE_SUBRC Value transfer Type reference (TYPE) SYSUBRC Rückgabewert, Rückgabewert nach ABAP-Anweisungen 20021107

Method CHECK_ACTIVITY on class CL_RMPS_AUT_ORG has no exception.

Method CHECK_ACTIVITY_GEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ACTIVITY Call by reference Type reference (TYPE) RMPS_AUT_GEN_ACTIVITY Aktivität 20021126
2 Importing IM_RMS_ID Call by reference Type reference (TYPE) SRMRMSID RMS ID 20021126
3 Returning RE_SUBRC Value transfer Type reference (TYPE) SYSUBRC Ergebnis der Berechtigungsprüfung, 0 = okay 20021126

Method CHECK_ACTIVITY_GEN on class CL_RMPS_AUT_ORG has no exception.

Method CHECK_ACTIVITY_LINK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LINK_ACTIVITY Call by reference Type reference (TYPE) CHAR1 Aktivität (C)reate, (D)elete 20061017
2 Importing IM_LINK_TYPE Call by reference Type reference (TYPE) SRMPPRETYP POID - POID Relation Typ für Areas 20060811
3 Importing IM_RMS_ID Call by reference Type reference (TYPE) SRMRMSID RMS ID 20060811
4 Returning RE_SUBRC Value transfer Type reference (TYPE) SYSUBRC Ergebnis der Berechtigungsprüfung, 0 = okay 20060811

Method CHECK_ACTIVITY_LINK on class CL_RMPS_AUT_ORG has no exception.

Method CHECK_ACTIVITY_MODEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ACTIVITY Call by reference Type reference (TYPE) RMPS_AUT_ACTIVITY Aktivität für Berechtigungsprüfung 20030213
2 Importing IM_SPS_ID Call by reference Type reference (TYPE) SRMSPSID Elementart-ID 20030213
3 Importing IM_UNAME Call by reference Type reference (TYPE) UNAME SY-UNAME Prüfung für User 20030213
4 Returning RE_SUBRC Value transfer Type reference (TYPE) SYSUBRC Rückgabewert, Rückgabewert nach ABAP-Anweisungen 20030213

Method CHECK_ACTIVITY_MODEL on class CL_RMPS_AUT_ORG has no exception.

Method CHECK_ACTIVITY_OEH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ACTIVITY Call by reference Type reference (TYPE) RMPS_AUT_ACTIVITY Aktivität für Berechtigungsprüfung 20021120
2 Importing IM_KEY Call by reference Type reference (TYPE) RMPS_AUT_KEY Schlüssel für Berechtigungsprüfung (dynamisch gebildt) 20021120
3 Importing IM_LEVEL Call by reference Type reference (TYPE) SCMG_SECURE_LEVEL Berechtigungsstufe 20021120
4 Importing IM_ORGEH Call by reference Type reference (TYPE) ORGEH Prüfung für Org.Einheit 20021120
5 Importing IM_SPS_ID Call by reference Type reference (TYPE) SRMSPSID Elementart-ID 20021120
6 Importing IM_TYPE Call by reference Type reference (TYPE) RMPS_AUT_TYPE Typ eines Objekts für Berechtigungsprüfung 20021120
7 Importing IM_UNAME Call by reference Type reference (TYPE) UNAME SY-UNAME Prüfung für User 20021120
8 Returning RE_SUBRC Value transfer Type reference (TYPE) SYSUBRC Rückgabewert, Rückgabewert nach ABAP-Anweisungen 20021120

Method CHECK_ACTIVITY_OEH on class CL_RMPS_AUT_ORG has no exception.

Method CHECK_ACTIVITY_OEH_PRE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ACTIVITY Call by reference Type reference (TYPE) RMPS_AUT_ACTIVITY Aktivität für Berechtigungsprüfung 20031010
2 Importing IM_ORGEH Call by reference Type reference (TYPE) ORGEH Prüfung für Org.Einheit 20031010
3 Importing IM_SPS_ID Call by reference Type reference (TYPE) SRMSPSID Elementart-ID 20031010
4 Importing IM_UNAME Call by reference Type reference (TYPE) UNAME SY-UNAME Prüfung für User 20031010
5 Returning RE_SUBRC Value transfer Type reference (TYPE) SYSUBRC Rückgabewert, Rückgabewert nach ABAP-Anweisungen 20031010

Method CHECK_ACTIVITY_OEH_PRE on class CL_RMPS_AUT_ORG has no exception.

Method CHECK_ACTIVITY_ORG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ACTIVITY Call by reference Type reference (TYPE) RMPS_AUT_ACTIVITY Aktivität für Berechtigungsprüfung 20021120
2 Importing IM_IS_PROCESSOR Call by reference Type reference (TYPE) SRMBOOLEAN IF_SRM=>FALSE Boolean: Mögliche Werte IF_SRM=>TRUE / FALSE 20030228
3 Importing IM_KEY Call by reference Type reference (TYPE) RMPS_AUT_KEY Schlüssel für Berechtigungsprüfung (dynamisch gebildt) 20021120
4 Importing IM_LEVEL Call by reference Type reference (TYPE) SCMG_SECURE_LEVEL Berechtigungsstufe 20021120
5 Importing IM_ORGEH Call by reference Type reference (TYPE) ORGEH Prüfung für Org.Einheit 20021120
6 Importing IM_SPS_ID Call by reference Type reference (TYPE) SRMSPSID Elementart-ID 20021120
7 Importing IM_TYPE Call by reference Type reference (TYPE) RMPS_AUT_TYPE Typ eines Objekts für Berechtigungsprüfung 20021120
8 Importing IM_UNAME Call by reference Type reference (TYPE) UNAME SY-UNAME Prüfung für User 20021120
9 Returning RE_SUBRC Value transfer Type reference (TYPE) SYSUBRC Rückgabewert, Rückgabewert nach ABAP-Anweisungen 20021120

Method CHECK_ACTIVITY_ORG on class CL_RMPS_AUT_ORG has no exception.

Method CHECK_ACTIVITY_ORG_PRE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ACTIVITY Call by reference Type reference (TYPE) RMPS_AUT_ACTIVITY Aktivität für Berechtigungsprüfung 20031010
2 Importing IM_ORGEH Call by reference Type reference (TYPE) ORGEH Prüfung für Org.Einheit 20031010
3 Importing IM_SPS_ID Call by reference Type reference (TYPE) SRMSPSID Elementart-ID 20031010
4 Importing IM_UNAME Call by reference Type reference (TYPE) UNAME SY-UNAME Prüfung für User 20031010
5 Returning RE_SUBRC Value transfer Type reference (TYPE) SYSUBRC Rückgabewert, Rückgabewert nach ABAP-Anweisungen 20031010

Method CHECK_ACTIVITY_ORG_PRE on class CL_RMPS_AUT_ORG has no exception.

Method CHECK_ACTIVITY_PRE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ACTIVITY Call by reference Type reference (TYPE) RMPS_AUT_ACTIVITY Aktivität für Berechtigungsprüfung 20031010
2 Importing IM_ORGEH Call by reference Type reference (TYPE) ORGEH Prüfung für Org.Einheit 20031010
3 Importing IM_SPS_ID Call by reference Type reference (TYPE) SRMSPSID Elementart-ID 20031010
4 Importing IM_UNAME Call by reference Type reference (TYPE) UNAME SY-UNAME Prüfung für User 20031010
5 Returning RE_SUBRC Value transfer Type reference (TYPE) SYSUBRC Rückgabewert, Rückgabewert nach ABAP-Anweisungen 20031010

Method CHECK_ACTIVITY_PRE on class CL_RMPS_AUT_ORG has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_RMPS_AUT_ORG has no parameter.
Method CLASS_CONSTRUCTOR on class CL_RMPS_AUT_ORG has no exception.

Method HAS_ALL_AUTHORITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_UNAME Call by reference Type reference (TYPE) UNAME SY-UNAME Benutzername 20021111
2 Returning RE_HAS_ALL_AUTHORITY Value transfer Type reference (TYPE) SRMBOOLEAN Boolean: Mögliche Werte IF_SRM=>TRUE / FALSE 20021111

Method HAS_ALL_AUTHORITY on class CL_RMPS_AUT_ORG has no exception.

Method HAS_ALL_AUTHORITY_ACTIVITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ACTIVITY Call by reference Type reference (TYPE) SCMG_AUT_ACTIVITY Aktivität für Berechtigungsprüfung 20021204
2 Returning RE_SUBRC Value transfer Type reference (TYPE) I 20021204

Method HAS_ALL_AUTHORITY_ACTIVITY on class CL_RMPS_AUT_ORG has no exception.

Method HAS_ALL_AUTHORITY_OEH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_UNAME Call by reference Type reference (TYPE) UNAME SY-UNAME Benutzername 20021120
2 Returning RE_HAS_ALL_AUTHORITY Value transfer Type reference (TYPE) SRMBOOLEAN Boolean: Mögliche Werte IF_SRM=>TRUE / FALSE 20021120

Method HAS_ALL_AUTHORITY_OEH on class CL_RMPS_AUT_ORG has no exception.

Method HAS_ALL_OEH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_UNAME Call by reference Type reference (TYPE) XUBNAME SY-UNAME Benutzername im Benutzerstamm 20050624
2 Returning RE_HAS_ALL_ORGLEVEL Value transfer Type reference (TYPE) SRMBOOLEAN Boolean: Mögliche Werte IF_SRM=>TRUE / FALSE 20050624

Method HAS_ALL_OEH on class CL_RMPS_AUT_ORG has no exception.

Method HAS_ALL_ORGLEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_UNAME Call by reference Type reference (TYPE) XUBNAME SY-UNAME Benutzername im Benutzerstamm 20050624
2 Returning RE_HAS_ALL_ORGLEVEL Value transfer Type reference (TYPE) SRMBOOLEAN Boolean: Mögliche Werte IF_SRM=>TRUE / FALSE 20050624

Method HAS_ALL_ORGLEVEL on class CL_RMPS_AUT_ORG has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 110_620