SAP ABAP Class CL_VIEWFIELDS_ORG_CRIT (Organizational criteria view fields)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-CUS-TOL-TME (Application Component) Table Maintenance Tool
⤷
SVIM (Package) Basis View Maintenance
⤷
⤷
Properties
| Class | CL_VIEWFIELDS_ORG_CRIT | |
| Short Description | Organizational criteria view fields | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SVIM | Basis View Maintenance |
| Created | 19990622 | SAP |
| Last change | 20110908 | 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) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_VIEWFIELDS_ORG_CRIT has no interface implemented.
Friends
Class CL_VIEWFIELDS_ORG_CRIT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | SYCHAR01 | '*' | Generic | 19991111 | ||
| 2 | Instance attribute | Public | Type reference (TYPE) | XUVAL | Most recent successfully checked activity | 19991123 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | OC_SELCRIT_F4_TAB_TYPE | Maintain: Selection conditions from authorizations for F4 | 20000309 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | OC_SELCRIT_F4_TAB_TYPE | Display: Selection conditions from authorizations for F4 | 20000309 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | OCSELFIELDS | Maintenance: Authorization selection conditions | 19990913 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | OCSELFIELDS | Display: Authorization selection conditions | 19990913 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | OC_USED_IN_VIEW_TYPE | Organizational criteria in use | 19990629 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | OC_USED_IN_VIEW_TAB_TYPE | Store of organizational criterion used | 19990630 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | ORGCRIT | Organization criteria table | 19990622 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | XFELD | Flag (SM30): Check after reading | 19991202 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | DDFIELDS | Field Catalog | 19990914 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | VIEWNAME | Table or view name | 19990622 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Creates tables with keys from unstructured records | 19991118 | |
| 2 | Instance method | Public | Method | Authorization check for total key passed | 19990622 | |
| 3 | Instance method | Public | Method | Authorization check for org.crit. found, key-independent | 19991116 | |
| 4 | Instance method | Public | Method | Authorization check for value in one field | 19990622 | |
| 5 | Instance method | Public | Method | Authorization check for value range (SM30 only) | 19991129 | |
| 6 | Instance method | Public | Method | oombine authorization with selection (only SM30) | 19991206 | |
| 7 | Instance method | Public | Constructor | Finds and checks organizational criteria | 19990622 | |
| 8 | Instance method | Public | Method | Selection condition conversion in structure VIMSELLIST | 19990913 | |
| 9 | Static method | Public | Method | Gets table selection conditions for F4 help | 20000309 | |
| 10 | Static method | Public | Method | Gets selection condition for table or maintenance view | 20000320 | |
| 11 | Instance method | Public | Method | Gets flag 'TO_BE_CHECKED' | 19991202 | |
| 12 | Instance method | Public | Method | Output selection conditions in a list popup | 20000317 | |
| 13 | Instance method | Private | Method | Link selection conditions from various org. crit. | 19990909 | |
| 14 | Instance method | Private | Method | Resets flag 'TO_BE_CHECKED' | 19991209 | |
| 15 | Instance method | Public | Method | Call by |
19991111 | |
| 16 | Instance method | Private | Event handling method | Sets flag 'TO_BE_CHECKED' | 19991202 | |
| 17 | Instance method | Public | Method | Sets flag 'TO_BE_CHECKED' | 19991207 |
Events
Class CL_VIEWFIELDS_ORG_CRIT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | OC_SELCRIT_F4_TAB_TYPE | Private | See coding | Table of selection conditions converted for F4 | 20000309 | |
|
| 2 | OC_SELCRIT_F4_TYPE | Private | See coding | Selection conditions converted for F4 help | 20000309 | |
|
| 3 | OC_USED_IN_VIEW_TAB_TYPE | Private | See coding | List of views processed, with org. crit. | 19990629 | |
|
| 4 | OC_USED_IN_VIEW_TYPE | Private | See coding | List of org. crit. used in view | 19990629 | |
|
| 5 | OC_USED_TYPE | Private | See coding | Type of organizational criterion used | 19990629 | |
Method Signatures
Method BUILD_KEY_VALUE_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENTRY | Call by reference | Type reference (TYPE) | ANY | Gesamtschlüssel | 19991118 | |||
| 2 | KEYVALUES | Call by reference | Type reference (TYPE) | OCCHECKKEYFLDS | Inhalte der Schlüsselfelder | 19991118 |
Method BUILD_KEY_VALUE_TAB on class CL_VIEWFIELDS_ORG_CRIT has no exception.
Method CHECK_OC_AUTHORITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTIVITY | Call by reference | Type reference (TYPE) | XUVAL | Aktivität (02 = ändern, 03 = anzeigen) | 19991112 | |||
| 2 | KEY_VALUES | Call by reference | Type reference (TYPE) | OCCHECKKEYFLDS | Schüssel eines Tabelleneintrages | 19991112 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Nicht alle relevanten Schlüsselfelder geprüft. | 19991112 | ||
| 2 | Keine Berechtigung für diesen Datensatz. | 19991112 | ||
| 3 | Ausführung für übergebene Werte nicht möglich | 19991112 |
Method CHECK_OC_AUTH_GEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTIVITY | Call by reference | Type reference (TYPE) | XUVAL | Aktivität (02: Ändern, 03: Anzeigen) | 19991116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler in Berechtigungsprüfung | 19991116 | ||
| 2 | Keine Berechtigung für mindestens ein Organisationskriterium | 19991116 | ||
| 3 | Falsche Parameter in Berechtigungsprüfung | 19991116 |
Method CHECK_OC_AUTH_SINGLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FIELDNAME | Call by reference | Type reference (TYPE) | FIELDNAME | Schlüsselfeld einer Tabelle | 19990622 | |||
| 2 | VALUE | Call by reference | Object reference (TYPE REF TO) | DATA | Wert für Schlüsselfeld FIELDNAME | 19990622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Übergebenes Feld ist kein Schlüsselfeld | 19990622 |
Method CHECK_OC_AUTH_VIM_SELLIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTION | Call by reference | Type reference (TYPE) | XUVAL | Bearbeitungsmodus | 19991129 | |||
| 2 | KEY_FIELDS | Call by reference | Type reference (TYPE) | OCCHECKKEYFLDS | Schlüsselfeler in Berechtigung | 19991202 | |||
| 3 | SELLIST | Call by reference | Type reference (TYPE) | SVORG_VIMSELLIST_TYPE | Selektonsbedingung | 19991129 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Berechtigung für übergebene Selektion | 19991202 |
Method COMBINE_VIMSEL_WITH_AUTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTION | Call by reference | Type reference (TYPE) | ACTIV_AUTH | Anzeigen (03) oder Ändern (02) | 19991206 | |||
| 2 | SELLIST | Call by reference | Type reference (TYPE) | SVORG_VIMSELLIST_TYPE | Selektionsbedingungen | 19991206 |
Method COMBINE_VIMSEL_WITH_AUTH on class CL_VIEWFIELDS_ORG_CRIT has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTIVITY | Call by reference | Type reference (TYPE) | XUVAL | Aktivität (02: Andern, 03: Anzeigen) | 19991116 | |||
| 2 | VIEW_FIELDS | Value transfer | Type reference (TYPE) | DDFIELDS | Feldliste, beschreibt Struktur von VIEW_NAME | 19990622 | |||
| 3 | VIEW_NAME | Call by reference | Type reference (TYPE) | VIEWNAME | Tabelle oder View, für den Werte geprüft werden sollen | 19990622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Kein Organisationskriterium gefunden | 19990901 | ||
| 2 | Organisationskriterien irrelevant | 19990909 | ||
| 3 | Inkonsistenz aufgetreten | 19990831 | ||
| 4 | Falsche Parameter übergeben | 19991116 | ||
| 5 | Angegebene Tabelle/View ist nicht aktiv vorhanden | 19990625 |
Method CONVERT_OC_SELECTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTIVITY | Call by reference | Type reference (TYPE) | ACTIV_AUTH | Bearbeitungsmodus | 19990913 | |||
| 2 | OC_VIMSELL | Call by reference | Type reference (TYPE) | SVORG_VIMSELLIST_TYPE | Selektionsbedingung aus Berechtigungen | 19990913 |
Method CONVERT_OC_SELECTIONS on class CL_VIEWFIELDS_ORG_CRIT has no exception.
Method FIND_OC_FOR_F4 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FIELDNAME | Call by reference | Type reference (TYPE) | FIELDNAME | Feld aus Tabelle oder View | 20000309 | |||
| 2 | SHLP | Call by reference | Type reference (TYPE) | SHLP_DESCR_T | Interne Beschreibung der Suchhilfe | 20000309 | |||
| 3 | TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellen- oder Viewname | 20000309 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Selektion für Tabelle/Feld gefinden. | 20000309 |
Method GET_OC_FOR_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OC_INST | Call by reference | Object reference (TYPE REF TO) | CL_VIEWFIELDS_ORG_CRIT | Instantiierte Organisationskriterien für eine View/Tabelle | 20000320 | |||
| 2 | TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellen- oder Viewname | 20000320 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Zur Tabelle/View sind momentan keine Org. Krit. instanziiert | 20000320 |
Method GET_TO_BE_CHECKED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TO_BE_CHECKED | Call by reference | Type reference (TYPE) | XFELD | Zustand des Attributs 'TO_BE_CHECKED' | 19991202 |
Method GET_TO_BE_CHECKED on class CL_VIEWFIELDS_ORG_CRIT has no exception.
Method LIST_OC_SELECTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTIVITY | Call by reference | Type reference (TYPE) | XUVAL | Selektion für anzeigen ('03') oder ändern ('02') | 20000317 | |||
| 2 | SCREEN_START_COLUMN | Call by reference | Type reference (TYPE) | I | Koordinaten für Liste im Popup | 20000320 | |||
| 3 | SCREEN_START_LINS | Call by reference | Type reference (TYPE) | I | Koordinaten für Liste im Popup | 20000320 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei der Listenausgabe | 20000321 | ||
| 2 | Selektionsbedingungen leer | 20000320 |
Method MERGE_OC_SELECTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTIVITY | Call by reference | Type reference (TYPE) | XUVAL | Selektion für anzeigen ('03') oder ändern ('02') | 19990921 | |||
| 2 | OC_SELCRIT_TAB | Call by reference | Type reference (TYPE) | OCSELFIELDS | Selektionsbedingungen für View/Tabelle | 19990921 |
Method MERGE_OC_SELECTIONS on class CL_VIEWFIELDS_ORG_CRIT has no exception.
Method REMOVE_TO_BE_CHECKED Signature
Method REMOVE_TO_BE_CHECKED on class CL_VIEWFIELDS_ORG_CRIT has no parameter.
Method REMOVE_TO_BE_CHECKED on class CL_VIEWFIELDS_ORG_CRIT has no exception.
Method SET_KEY_USAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DOMNAME | Call by reference | Type reference (TYPE) | DOMNAME | SPACE | Domänenname | 19991111 | ||
| 2 | KEYFIELD | Call by reference | Type reference (TYPE) | FIELDNAME | SPACE | Feldname | 19991111 | ||
| 3 | NEW | Call by reference | Type reference (TYPE) | SYCHAR01 | Flag: Feld bisher nicht in OC gefunden | 19991111 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Kein Eintrag für Schlüsselfeld gefunden | 19991111 |
Method SET_TO_BE_CHECKED Signature
Method SET_TO_BE_CHECKED on class CL_VIEWFIELDS_ORG_CRIT has no parameter.
Method SET_TO_BE_CHECKED on class CL_VIEWFIELDS_ORG_CRIT has no exception.
Method SET_TO_BE_CHECKED2 Signature
Method SET_TO_BE_CHECKED2 on class CL_VIEWFIELDS_ORG_CRIT has no parameter.
Method SET_TO_BE_CHECKED2 on class CL_VIEWFIELDS_ORG_CRIT has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in |