SAP ABAP Class CL_CI_CHECKVARIANT (Code Inspector: Administering Check Variants)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-ATF (Application Component) ABAP Test Frameworks ( ATC, CheckMan, Code Inspector)
     S_CODE_INSPECTOR (Package) ABAP Source Code Analysis
Properties
Class CL_CI_CHECKVARIANT  
Short Description Code Inspector: Administering Check Variants    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_CODE_INSPECTOR   ABAP Source Code Analysis 
Created 20000928   SAP 
Last change 20131127   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_CI_CHECKVARIANT has no forward declaration.
Interfaces
Class CL_CI_CHECKVARIANT has no interface implemented.
Friends
Class CL_CI_CHECKVARIANT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CHKVINF Instance attribute Public Type reference (TYPE) SCICHKV_HD 20000928
2 C_DEFAULT Constant Private Type reference (TYPE) SCI_CHKV 'DEFAULT' Code Inspector: Element Name of a Check Variant 20011026
3 C_GLOBAL Constant Private Type reference (TYPE) SCI_USER '_GLOBAL_' Code Inspector: Person Responsible 20021128
4 FROM_EXEC Instance attribute Public Type reference (TYPE) FLAG '' CI: Element of an Executed Inspection 20011016
5 ID_ENQUEUED Instance attribute Private Type reference (TYPE) FLAG Code Inspector: Lock on ID|User 20010824
6 NAME_ENQUEUED Instance attribute Private Type reference (TYPE) FLAG Code Inspector: Lock on Name|User 20010824
7 SAVED Instance attribute Public Type reference (TYPE) FLAG '' CHAR01 Data Element for SYST 20010202
8 SYSTEMTYPE Static Attribute Private Type reference (TYPE) SYCHAR20 CHAR20 for SYST 20021119
9 TEXT Instance attribute Public Type reference (TYPE) SCI_TEXT Code Inspector: Element Text (Chk, ChkV, ObjM, Inspec) 20000928
10 VARIANT Instance attribute Public Type reference (TYPE) SCI_TSTVAR Code Inspector: Test Variant 20000928
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20001030
2 COPY Instance method Public Method copies a check variant 20000928
3 CREATE Static method Public Method generates the instance of a check variant 20000928
4 DELETE Instance method Public Method deletes a check variant 20000928
5 ENQUEUE_ID Instance method Private Method Sets Lock for ID|User 20010824
6 ENTER_CHANGE Instance method Public Method Sets Lock for Name|User 20010824
7 EXPORT_ENTRY Static method Private Method makes an entry 20001031
8 EXPORT_HEAD Static method Private Method enters header information for a variant 20001031
9 GET_CHKV_ALTER Static method Public Method Checks whether the global check variant is configured 20100505
10 GET_CHKV_EXEC Static method Public Method gets INSP saved check variant during execution 20010125
11 GET_CIUSER_ALIAS Instance method Private Method Sets Alias if Global Element 20021128
12 GET_DEFAULT Instance method Private Method Gets DEFAULT Variant 20011121
13 GET_INFO Instance method Public Method Imports Variant 20000928
14 GET_NEW_CHECKVARIANTS Static method Public Method Searches for newly imported check variants 20020726
15 GET_REF Static method Public Method gets the reference to a check variant 20000928
16 IMPORT_BODY Static method Private Method makes an entry 20001031
17 IMPORT_HEAD Static method Private Method enters header information for a variant 20001031
18 LEAVE_CHANGE Instance method Public Method Releases Locks 20010824
19 SAVE Instance method Public Method saves parameters for check variant persistently 20000928
20 SET_CHKV_EXEC Instance method Public Method Saves check variants at execution time of an inspection 20010125
21 SET_VARIANT Instance method Public Method writes parameters to the class attributes 20010125
22 TRANSPORT Instance method Public Method transports a check variant to another system 20001030
23 UNTRANSPORT Instance method Public Method Delete Request of a Check Variant and Deletion...= VC Report 20030716
24 WHERE_USED Instance method Public Method Shows Use in Inspections 20031002
Events
Class CL_CI_CHECKVARIANT has no event.
Types
Class CL_CI_CHECKVARIANT has no local type.
Method Signatures

Method CLASS_CONSTRUCTOR Signature

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

Method COPY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_COPIEDREF Call by reference Object reference (TYPE REF TO) CL_CI_CHECKVARIANT SCI: Prüfvariante 20000928
2 Importing P_NAME Call by reference Type reference (TYPE) SCI_CHKV Code Inspector: Elementname einer Prüfvariante 20000928
3 Importing P_TEXT Call by reference Type reference (TYPE) SCI_TEXT Code Inspector: Elementtext (Chk, ChkV, ObjM, Inspec) 20000928
4 Importing P_USER Call by reference Type reference (TYPE) SYUNAME Benutzername 20000928
# Exception Resumable Description Created on
1 ALREADY_EXISTS anzulegende Check Variante existiert schon 20000928
2 COULD_NOT_READ_VARIANT Prüfvariante konnte nicht gelesen werden 20010314
3 ERROR_IN_ENQUEUE Fehler bei Sperranforderung 20010828
4 LOCKED Prüfvariante ist gesperrt 20010828
5 NOT_AUTHORIZED Fehlende Autorisierung 20011026

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CALLED_INTERNAL Call by reference Type reference (TYPE) SYCHAR01 CHAR01-Datenelement fuer SYST 20020819
2 Importing P_NAME Call by reference Type reference (TYPE) SCI_CHKV Name einer Prüfvariante 20000928
3 Returning P_REF Value transfer Object reference (TYPE REF TO) CL_CI_CHECKVARIANT Referenz auf Prüfvariante 20000928
4 Importing P_USER Call by reference Type reference (TYPE) SCI_USER Benutzer 20000928
# Exception Resumable Description Created on
1 CHKV_ALREADY_EXISTS anzulegende Check Variante existiert schon 20010202
2 ERROR_IN_ENQUEUE Fehler bei Sperranforderung 20010828
3 LOCKED Prüfvariante ist gesperrt 20010828
4 NOT_AUTHORIZED Fehlende Autorisierung 20011026

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_INTERNAL Call by reference Type reference (TYPE) FLAG '' allgemeines flag 20070119
# Exception Resumable Description Created on
1 ERROR_IN_ENQUEUE Fehler bei Sperranforderung 20010828
2 EXISTS_IN_INSP Prüfvariante wird noch in min. einer Inspektion verwendet 20010105
3 LOCKED Prüfvariante ist gesperrt 20010828
4 NOT_AUTHORIZED Fehlende Autorisierung 20011026
5 TRANSPORT_ERROR Transport-Fehler 20031201

Method ENQUEUE_ID Signature

Method ENQUEUE_ID on class CL_CI_CHECKVARIANT has no parameter.
# Exception Resumable Description Created on
1 ERROR Fehler bei Sperranforderung 20010824
2 LOCKED ID|Name ist gesperrt 20010824

Method ENTER_CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CALLED_INTERNAL Call by reference Type reference (TYPE) SYCHAR01 CHAR01-Datenelement fuer SYST 20020819
# Exception Resumable Description Created on
1 ERROR_IN_ENQUEUE Fehler bei Sperranforderung 20010824
2 LOCKED Name|Name ist gesperrt 20010824
3 NOT_AUTHORIZED Fehlende Autorisierung 20011026

Method EXPORT_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENTRY Call by reference Type reference (TYPE) SCI_TSTVAL Code Inspector: Zeile einer Test-Variante 20001031
2 Exporting P_TABLE Call by reference Type reference (TYPE) SCI_INCLUDE Code Inspector: Include 20001031

Method EXPORT_ENTRY on class CL_CI_CHECKVARIANT has no exception.

Method EXPORT_HEAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_HEAD Call by reference Type reference (TYPE) SCICHKV_HD Code Inspector: Prüfvariante 20001031
2 Exporting P_TABLE Call by reference Type reference (TYPE) SCI_INCLUDE Code Inspector: Include 20001031
3 Importing P_TEXT Call by reference Type reference (TYPE) SCI_TEXT Code Inspector: Elementtext (Chk, ChkV, ObjS, INSP) 20011121

Method EXPORT_HEAD on class CL_CI_CHECKVARIANT has no exception.

Method GET_CHKV_ALTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CHECKVNAME_DEFAULT Call by reference Type reference (TYPE) SCI_CHKV Code Inspector: Elementname einer Prüfvariante 20100505
2 Exporting P_CHECKVNAME_NEW Call by reference Type reference (TYPE) SCI_CHKV Code Inspector: Elementname einer Prüfvariante 20100505

Method GET_CHKV_ALTER on class CL_CI_CHECKVARIANT has no exception.

Method GET_CHKV_EXEC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_CHKV_REF Value transfer Object reference (TYPE REF TO) CL_CI_CHECKVARIANT Code Inspector: Verwaltung von Prüfvarianten 20010125
2 Importing P_REST_REF Call by reference Object reference (TYPE REF TO) CL_CI_INSPECTION Code Inspector: Inspektion 20010125

Method GET_CHKV_EXEC on class CL_CI_CHECKVARIANT has no exception.

Method GET_CIUSER_ALIAS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_ALIAS Value transfer Type reference (TYPE) SCI_USER Code Inspector: Verantwortlicher 20021128
2 Importing P_CIUSER Call by reference Type reference (TYPE) SCI_USER Code Inspector: Verantwortlicher 20021128

Method GET_CIUSER_ALIAS on class CL_CI_CHECKVARIANT has no exception.

Method GET_DEFAULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_VARIANT Value transfer Type reference (TYPE) SCI_TSTVAR Code Inspector: Testvariante 20011121
# Exception Resumable Description Created on
1 NO_DEFAULT Keine DEFAULT-Variante gefunden 20011121

Method GET_INFO Signature

Method GET_INFO on class CL_CI_CHECKVARIANT has no parameter.
# Exception Resumable Description Created on
1 COULD_NOT_READ_VARIANT Prüfvariante konnte nicht gelesen werden 20010215

Method GET_NEW_CHECKVARIANTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_NAME Call by reference Type reference (TYPE) SCI_CHKV ABAP-Programmname 20031128
2 Exporting P_REF Call by reference Object reference (TYPE REF TO) CL_CI_CHECKVARIANT Code Inspector: Verwaltung von Prüfvarianten 20040416

Method GET_NEW_CHECKVARIANTS on class CL_CI_CHECKVARIANT has no exception.

Method GET_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_DONT_LOOK_FOR_NEW_CHKV Call by reference Type reference (TYPE) SYCHAR01 '' 20030704
2 Importing P_ID Call by reference Type reference (TYPE) SCI_ID Element-ID (Chk, ChkV, ObjM, Inspec) 20000928
3 Importing P_NAME Call by reference Type reference (TYPE) SCI_CHKV Name einer Prüfvariante 20000928
4 Returning P_REF Value transfer Object reference (TYPE REF TO) CL_CI_CHECKVARIANT Referenz auf Prüfvariante 20000928
5 Importing P_USER Call by reference Type reference (TYPE) SCI_USER Benutzer 20000928
# Exception Resumable Description Created on
1 CHKV_NOT_EXISTS eine angeforderte Checkvariante existiert nicht 20001027
2 MISSING_PARAMETER entweder Name oder ID der Checkvariante muss mitgeben werden 20000928

Method IMPORT_BODY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_BODY Call by reference Type reference (TYPE) SCI_TSTVAR Code Inspector: Zeile einer Test-Variante 20001031
2 Importing P_TABLE Call by reference Type reference (TYPE) SCI_INCLUDE Code Inspector: Include 20001031

Method IMPORT_BODY on class CL_CI_CHECKVARIANT has no exception.

Method IMPORT_HEAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_HEAD Call by reference Type reference (TYPE) SCICHKV_HD Kopf-Information. 20001031
2 Importing P_TABLE Call by reference Type reference (TYPE) SCI_INCLUDE Code Inspector: Include 20001031
3 Exporting P_TEXT Call by reference Type reference (TYPE) SCI_TEXT Code Inspector: Elementtext (Chk, ChkV, ObjS, INSP) 20011121

Method IMPORT_HEAD on class CL_CI_CHECKVARIANT has no exception.

Method LEAVE_CHANGE Signature

Method LEAVE_CHANGE on class CL_CI_CHECKVARIANT has no parameter.
Method LEAVE_CHANGE on class CL_CI_CHECKVARIANT has no exception.

Method SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CALLED_INTERNAL Call by reference Type reference (TYPE) SYCHAR01 20030729
2 Importing P_TEXT Call by reference Type reference (TYPE) SCI_TEXT Code Inspector: Elementtext (Chk, ChkV, ObjM, Inspec) 20000928
3 Importing P_TRANSPORT Call by reference Type reference (TYPE) SYCHAR01 'X'=transport, ''=don't 'C'=nor change nor transport 20010215
4 Importing P_VARIANT Call by reference Type reference (TYPE) SCI_TSTVAR Code Inspector: Testvariante 20000928
# Exception Resumable Description Created on
1 EMPTY_VARIANT leere Variante sollte abgespeichert werden 20000928
2 NOT_AUTHORIZED keine Berechtigung 20030729
3 TRANSPORT_ERROR Transport-Fehler 20010418

Method SET_CHKV_EXEC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_REF Call by reference Object reference (TYPE REF TO) CL_CI_INSPECTION Code Inspector: Inspektion 20010125

Method SET_CHKV_EXEC on class CL_CI_CHECKVARIANT has no exception.

Method SET_VARIANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_TEXT Call by reference Type reference (TYPE) SCI_TEXT Code Inspector: Elementtext (Chk, ChkV, ObjM, Inspec) 20010125
2 Importing P_TRANSPORT Call by reference Type reference (TYPE) SYCHAR01 Flag: 'X'=Transport, SPACE=no 20010215
3 Importing P_VARIANT Call by reference Type reference (TYPE) SCI_TSTVAR Code Inspector: Testvariante 20010125
4 Importing P_VARIANT_MERGE Call by reference Type reference (TYPE) SCI_TSTVAR 20031105
# Exception Resumable Description Created on
1 NOT_ENQUEUED Prüfvariante ist noch nicht gesperrt 20010828

Method TRANSPORT Signature

Method TRANSPORT on class CL_CI_CHECKVARIANT has no parameter.
# Exception Resumable Description Created on
1 TRANSPORT_ERROR Transport-Fehler 20001031

Method UNTRANSPORT Signature

Method UNTRANSPORT on class CL_CI_CHECKVARIANT has no parameter.
# Exception Resumable Description Created on
1 TRANSPORT_ERROR Transport-Fehler 20030716

Method WHERE_USED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_INSP Call by reference Type reference (TYPE) SCIINS_IST 20031002
2 Exporting P_IS_USED Call by reference Type reference (TYPE) SYCHAR01 '' nicht, 'I' Insp, 'O', ObjM, 'A' beides 20031002
3 Importing P_USED_IN_INSP Call by reference Type reference (TYPE) SYCHAR01 '' 'E' Nachweis, 'X' volle Liste 20031002

Method WHERE_USED on class CL_CI_CHECKVARIANT has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in 610