SAP ABAP Class CL_ORGANISATION_CRITERION (Organizational criterion)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-CUS-TOL-TME (Application Component) Table Maintenance Tool
⤷ SVIM (Package) Basis View Maintenance
⤷ BC-CUS-TOL-TME (Application Component) Table Maintenance Tool
⤷ SVIM (Package) Basis View Maintenance
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_ORG_CRIT_GENERAL | Organizational criterion general | 19990707 |
Properties
Class | CL_ORGANISATION_CRITERION | |
Short Description | Organizational criterion | |
Super Class | CL_ORG_CRIT_GENERAL | Organizational criterion general |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SVIM | Basis View Maintenance |
Created | 19990610 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | SVORG | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ORGANISATION_CRITERION has no interface implemented.
Friends
Class CL_ORGANISATION_CRITERION has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | FLD_COVERED_BY_ME_ONLY | Instance attribute | Public | Type reference (TYPE) | XFELD | Flag: Field exists which is only covered by org.crit. | 19990901 | ||
2 | OC_ATTR_TAB | Instance attribute | Private | Type reference (TYPE) | OC_ATTR_TAB_TYPE | Organizational criterion attributes | 19990830 | ||
3 | OC_SELCRIT_MAINT_TAB | Instance attribute | Public | Type reference (TYPE) | OCSELFIELDS | View field selection conditions: Read | 19990903 | ||
4 | OC_SELCRIT_READ_TAB | Instance attribute | Public | Type reference (TYPE) | OCSELFIELDS | View field selection conditions: Change | 19990903 | ||
5 | ORG_CRIT | Instance attribute | Public | Type reference (TYPE) | ORG_CRIT | Organizational criterion | 19990830 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | BUILD_SELTAB_FROM_AUTHORITIES | Instance method | Private | Method | Creates selection conditions from authorization values | 19990909 |
2 | CHECK_AUTHORITY | Instance method | Public | Method | Performs S_TABU_LIN authorization check | 19990622 |
3 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 19990831 |
4 | CONSTRUCTOR | Instance method | Public | Constructor | Constructor: Checks instantiation | 19990621 |
5 | MAKE_AUTH_CHECK | Instance method | Private | Method | Creates temporary subprogram with authorization check | 20000105 |
6 | MERGE_AUTHORITIES | Instance method | Private | Method | Collects authorization selection conditions | 19990909 |
Events
Class CL_ORGANISATION_CRITERION has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | AUTHORITY_TAB_TYPE | Private | See coding | List of authorizations with values | 19990903 |
|
|
2 | AUTHORITY_TYPE | Private | See coding | Authorizations with values | 19990902 |
|
|
3 | AUTHVALUES_TYPE | Private | See coding | Authorization values for check | 20000105 |
|
|
4 | OC_ATTR_TAB_TYPE | Private | See coding | List of instantiated attributes | 19990830 |
|
|
5 | OC_ATTR_TYPE | Private | See coding | Instantiated attribute | 19990830 |
|
Method Signatures
Method BUILD_SELTAB_FROM_AUTHORITIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | AUTHVALUES | Call by reference | Type reference (TYPE) | SVORG_USVAL_TAB_TYPE | Berechtigungswerte zu S_TABU_LIN | 19990909 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_RESTRICTION_BY_OC | Keine Beschränkung durch Organisationskriterium | 19990909 |
Method CHECK_AUTHORITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ACTIVITY | Call by reference | Type reference (TYPE) | XUVAL | Aktivität (02 = ändern, 03 = anzeigen) | 19991112 | ||
2 | Changing | KEY_VALUES | Call by reference | Type reference (TYPE) | OCCHECKKEYFLDS | Schüssel eines Tabelleneintrages | 19991112 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | AUTHORISATION_ERROR | Zerstörte Berechtigung | 19991112 | |
2 | KEY_INCOMPLETE | Nicht alle relevanten Schlüsselfelder geprüft. | 19991112 | |
3 | NO_AUTH | Keine Berechtigung für Werte | 19991112 | |
4 | PARAMETER_ERROR | Fehler in Berechtigungsfeldern | 19990622 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_ORGANISATION_CRITERION has no parameter.
Method CLASS_CONSTRUCTOR on class CL_ORGANISATION_CRITERION has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | AUTHVALUES | Call by reference | Type reference (TYPE) | SVORG_USVAL_TAB_TYPE | Berechtigungen des Benutzers zu S_TABU_LIN | 19990909 | ||
2 | Importing | CALLING_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_VIEWFIELDS_ORG_CRIT | Erzeugende Viewfelder | 19990831 | ||
3 | Importing | OC_FOUND | Call by reference | Type reference (TYPE) | ORGCRFLD | Attribut eines Organisationskriteriums | 19990630 | ||
4 | Importing | VIEW_FIELDS | Call by reference | Type reference (TYPE) | DDFIELDS | Feldliste, beschreibt Struktur von VIEW_NAME | 19990621 | ||
5 | Importing | VIEW_NAME | Call by reference | Type reference (TYPE) | VIEWNAME | Tabelle oder View, für den Werte geprüft werden sollen | 19990621 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_RESTRICTIONS_BY_OC | Organisationskriterien irrelevant | 19990909 | |
2 | OC_DOESNT_FIT | Organisationskriterium paßt nicht zur aktuellen Tabelle | 19990622 | |
3 | OC_ERROR | Interner Fehler | 19990830 | |
4 | OC_NOT_ACTIVE | Organisationskriterium ist inaktiv | 19990830 | |
5 | OC_NOT_FOUND | Organisationskriterium existiert nicht | 19990622 | |
6 | OC_OBSOLETE | Organisationskriterium ist obsolet | 19990909 |
Method MAKE_AUTH_CHECK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ACTIVITY | Call by reference | Type reference (TYPE) | XUVAL | Aktivität | 20000105 | ||
2 | Importing | AUTHVALUES | Call by reference | Type reference (TYPE) | AUTHVALUES_TYPE | Berechtigugnswerte für Prüfung | 20000105 | ||
3 | Exporting | PROG | Call by reference | Type reference (TYPE) | PROGNAME | Name des generierten Subroutine-Pools | 20000105 |
Method MAKE_AUTH_CHECK on class CL_ORGANISATION_CRITERION has no exception.
Method MERGE_AUTHORITIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ACTIVITY | Call by reference | Type reference (TYPE) | XUVAL | Aktivität zu den Berechtigungswerten | 19990909 | ||
2 | Importing | AUTH_TAB | Call by reference | Type reference (TYPE) | AUTHORITY_TAB_TYPE | Werte zu den verschiedenen Berechtigungen | 19990909 |
Method MERGE_AUTHORITIES on class CL_ORGANISATION_CRITERION has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in |