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 SHLP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 SVOCL Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 SVORG 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 ALL Constant Private Type reference (TYPE) SYCHAR01 '*' Generic 19991111
2 LAST_ACTIVITY Instance attribute Public Type reference (TYPE) XUVAL Most recent successfully checked activity 19991123
3 OC_SELCRIT_F4_MAINT_TAB Static Attribute Private Type reference (TYPE) OC_SELCRIT_F4_TAB_TYPE Maintain: Selection conditions from authorizations for F4 20000309
4 OC_SELCRIT_F4_READ_TAB Static Attribute Private Type reference (TYPE) OC_SELCRIT_F4_TAB_TYPE Display: Selection conditions from authorizations for F4 20000309
5 OC_SELCRIT_MAINT_TAB Instance attribute Public Type reference (TYPE) OCSELFIELDS Maintenance: Authorization selection conditions 19990913
6 OC_SELCRIT_READ_TAB Instance attribute Public Type reference (TYPE) OCSELFIELDS Display: Authorization selection conditions 19990913
7 OC_USED_IN_VIEW_TAB Instance attribute Private Type reference (TYPE) OC_USED_IN_VIEW_TYPE Organizational criteria in use 19990629
8 OC_USED_YET Static Attribute Private Type reference (TYPE) OC_USED_IN_VIEW_TAB_TYPE Store of organizational criterion used 19990630
9 ORG_CRIT_TAB Instance attribute Public Type reference (TYPE) ORGCRIT Organization criteria table 19990622
10 TO_BE_CHECKED Instance attribute Private Type reference (TYPE) XFELD Flag (SM30): Check after reading 19991202
11 VIEWFIELDS Instance attribute Private Type reference (TYPE) DDFIELDS Field Catalog 19990914
12 VIEW_NAME Instance attribute Public Type reference (TYPE) VIEWNAME Table or view name 19990622
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_KEY_VALUE_TAB Instance method Public Method Creates tables with keys from unstructured records 19991118
2 CHECK_OC_AUTHORITY Instance method Public Method Authorization check for total key passed 19990622
3 CHECK_OC_AUTH_GEN Instance method Public Method Authorization check for org.crit. found, key-independent 19991116
4 CHECK_OC_AUTH_SINGLE Instance method Public Method Authorization check for value in one field 19990622
5 CHECK_OC_AUTH_VIM_SELLIST Instance method Public Method Authorization check for value range (SM30 only) 19991129
6 COMBINE_VIMSEL_WITH_AUTH Instance method Public Method oombine authorization with selection (only SM30) 19991206
7 CONSTRUCTOR Instance method Public Constructor Finds and checks organizational criteria 19990622
8 CONVERT_OC_SELECTIONS Instance method Public Method Selection condition conversion in structure VIMSELLIST 19990913
9 FIND_OC_FOR_F4 Static method Public Method Gets table selection conditions for F4 help 20000309
10 GET_OC_FOR_TABLE Static method Public Method Gets selection condition for table or maintenance view 20000320
11 GET_TO_BE_CHECKED Instance method Public Method Gets flag 'TO_BE_CHECKED' 19991202
12 LIST_OC_SELECTIONS Instance method Public Method Output selection conditions in a list popup 20000317
13 MERGE_OC_SELECTIONS Instance method Private Method Link selection conditions from various org. crit. 19990909
14 REMOVE_TO_BE_CHECKED Instance method Private Method Resets flag 'TO_BE_CHECKED' 19991209
15 SET_KEY_USAGE Instance method Public Method Call by : Use of a key 19991111
16 SET_TO_BE_CHECKED Instance method Private Event handling method Sets flag 'TO_BE_CHECKED' 19991202
17 SET_TO_BE_CHECKED2 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 Importing ENTRY Call by reference Type reference (TYPE) ANY Gesamtschlüssel 19991118
2 Exporting 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 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 KEY_INCOMPLETE Nicht alle relevanten Schlüsselfelder geprüft. 19991112
2 NO_AUTH Keine Berechtigung für diesen Datensatz. 19991112
3 WRONG_PARAMETER 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 Importing ACTIVITY Call by reference Type reference (TYPE) XUVAL Aktivität (02: Ändern, 03: Anzeigen) 19991116
# Exception Resumable Description Created on
1 AUTHORISATION_ERROR Fehler in Berechtigungsprüfung 19991116
2 NO_AUTH Keine Berechtigung für mindestens ein Organisationskriterium 19991116
3 PARAMETER_ERROR 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 Importing FIELDNAME Call by reference Type reference (TYPE) FIELDNAME Schlüsselfeld einer Tabelle 19990622
2 Importing VALUE Call by reference Object reference (TYPE REF TO) DATA Wert für Schlüsselfeld FIELDNAME 19990622
# Exception Resumable Description Created on
1 FIELD_IS_NO_KEY Ü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 Importing ACTION Call by reference Type reference (TYPE) XUVAL Bearbeitungsmodus 19991129
2 Changing KEY_FIELDS Call by reference Type reference (TYPE) OCCHECKKEYFLDS Schlüsselfeler in Berechtigung 19991202
3 Importing SELLIST Call by reference Type reference (TYPE) SVORG_VIMSELLIST_TYPE Selektonsbedingung 19991129
# Exception Resumable Description Created on
1 NO_AUTH 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 Importing ACTION Call by reference Type reference (TYPE) ACTIV_AUTH Anzeigen (03) oder Ändern (02) 19991206
2 Changing 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 Importing ACTIVITY Call by reference Type reference (TYPE) XUVAL Aktivität (02: Andern, 03: Anzeigen) 19991116
2 Importing VIEW_FIELDS Value transfer Type reference (TYPE) DDFIELDS Feldliste, beschreibt Struktur von VIEW_NAME 19990622
3 Importing 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 NO_OC_FOUND Kein Organisationskriterium gefunden 19990901
2 NO_RESTRICTIONS_BY_OC Organisationskriterien irrelevant 19990909
3 OC_ERROR Inkonsistenz aufgetreten 19990831
4 PARAMETER_ERROR Falsche Parameter übergeben 19991116
5 VIEW_NOT_FOUND 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 Importing ACTIVITY Call by reference Type reference (TYPE) ACTIV_AUTH Bearbeitungsmodus 19990913
2 Exporting 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 Importing FIELDNAME Call by reference Type reference (TYPE) FIELDNAME Feld aus Tabelle oder View 20000309
2 Changing SHLP Call by reference Type reference (TYPE) SHLP_DESCR_T Interne Beschreibung der Suchhilfe 20000309
3 Importing TABNAME Call by reference Type reference (TYPE) TABNAME Tabellen- oder Viewname 20000309
# Exception Resumable Description Created on
1 NO_SELECTION_FOUND 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 Changing OC_INST Call by reference Object reference (TYPE REF TO) CL_VIEWFIELDS_ORG_CRIT Instantiierte Organisationskriterien für eine View/Tabelle 20000320
2 Importing TABNAME Call by reference Type reference (TYPE) TABNAME Tabellen- oder Viewname 20000320
# Exception Resumable Description Created on
1 NO_OC_FOUND 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 Exporting 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 Importing ACTIVITY Call by reference Type reference (TYPE) XUVAL Selektion für anzeigen ('03') oder ändern ('02') 20000317
2 Importing SCREEN_START_COLUMN Call by reference Type reference (TYPE) I Koordinaten für Liste im Popup 20000320
3 Importing SCREEN_START_LINS Call by reference Type reference (TYPE) I Koordinaten für Liste im Popup 20000320
# Exception Resumable Description Created on
1 LIST_ERROR Fehler bei der Listenausgabe 20000321
2 NO_SELECTIONS_FOUND Selektionsbedingungen leer 20000320

Method MERGE_OC_SELECTIONS 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 Selektion für anzeigen ('03') oder ändern ('02') 19990921
2 Exporting 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 Importing DOMNAME Call by reference Type reference (TYPE) DOMNAME SPACE Domänenname 19991111
2 Changing KEYFIELD Call by reference Type reference (TYPE) FIELDNAME SPACE Feldname 19991111
3 Exporting NEW Call by reference Type reference (TYPE) SYCHAR01 Flag: Feld bisher nicht in OC gefunden 19991111
# Exception Resumable Description Created on
1 NOT_FOUND 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