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 | Instance attribute | Public | Type reference (TYPE) | SCICHKV_HD | 20000928 | ||||
| 2 | Constant | Private | Type reference (TYPE) | SCI_CHKV | 'DEFAULT' | Code Inspector: Element Name of a Check Variant | 20011026 | ||
| 3 | Constant | Private | Type reference (TYPE) | SCI_USER | '_GLOBAL_' | Code Inspector: Person Responsible | 20021128 | ||
| 4 | Instance attribute | Public | Type reference (TYPE) | FLAG | '' | CI: Element of an Executed Inspection | 20011016 | ||
| 5 | Instance attribute | Private | Type reference (TYPE) | FLAG | Code Inspector: Lock on ID|User | 20010824 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | FLAG | Code Inspector: Lock on Name|User | 20010824 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | FLAG | '' | CHAR01 Data Element for SYST | 20010202 | ||
| 8 | Static Attribute | Private | Type reference (TYPE) | SYCHAR20 | CHAR20 for SYST | 20021119 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | SCI_TEXT | Code Inspector: Element Text (Chk, ChkV, ObjM, Inspec) | 20000928 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | SCI_TSTVAR | Code Inspector: Test Variant | 20000928 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20001030 | |
| 2 | Instance method | Public | Method | copies a check variant | 20000928 | |
| 3 | Static method | Public | Method | generates the instance of a check variant | 20000928 | |
| 4 | Instance method | Public | Method | deletes a check variant | 20000928 | |
| 5 | Instance method | Private | Method | Sets Lock for ID|User | 20010824 | |
| 6 | Instance method | Public | Method | Sets Lock for Name|User | 20010824 | |
| 7 | Static method | Private | Method | makes an entry | 20001031 | |
| 8 | Static method | Private | Method | enters header information for a variant | 20001031 | |
| 9 | Static method | Public | Method | Checks whether the global check variant is configured | 20100505 | |
| 10 | Static method | Public | Method | gets INSP saved check variant during execution | 20010125 | |
| 11 | Instance method | Private | Method | Sets Alias if Global Element | 20021128 | |
| 12 | Instance method | Private | Method | Gets DEFAULT Variant | 20011121 | |
| 13 | Instance method | Public | Method | Imports Variant | 20000928 | |
| 14 | Static method | Public | Method | Searches for newly imported check variants | 20020726 | |
| 15 | Static method | Public | Method | gets the reference to a check variant | 20000928 | |
| 16 | Static method | Private | Method | makes an entry | 20001031 | |
| 17 | Static method | Private | Method | enters header information for a variant | 20001031 | |
| 18 | Instance method | Public | Method | Releases Locks | 20010824 | |
| 19 | Instance method | Public | Method | saves parameters for check variant persistently | 20000928 | |
| 20 | Instance method | Public | Method | Saves check variants at execution time of an inspection | 20010125 | |
| 21 | Instance method | Public | Method | writes parameters to the class attributes | 20010125 | |
| 22 | Instance method | Public | Method | transports a check variant to another system | 20001030 | |
| 23 | Instance method | Public | Method | Delete Request of a Check Variant and Deletion...= VC Report | 20030716 | |
| 24 | 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 | P_COPIEDREF | Call by reference | Object reference (TYPE REF TO) | CL_CI_CHECKVARIANT | SCI: Prüfvariante | 20000928 | |||
| 2 | P_NAME | Call by reference | Type reference (TYPE) | SCI_CHKV | Code Inspector: Elementname einer Prüfvariante | 20000928 | |||
| 3 | P_TEXT | Call by reference | Type reference (TYPE) | SCI_TEXT | Code Inspector: Elementtext (Chk, ChkV, ObjM, Inspec) | 20000928 | |||
| 4 | P_USER | Call by reference | Type reference (TYPE) | SYUNAME | Benutzername | 20000928 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | anzulegende Check Variante existiert schon | 20000928 | ||
| 2 | Prüfvariante konnte nicht gelesen werden | 20010314 | ||
| 3 | Fehler bei Sperranforderung | 20010828 | ||
| 4 | Prüfvariante ist gesperrt | 20010828 | ||
| 5 | Fehlende Autorisierung | 20011026 |
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_CALLED_INTERNAL | Call by reference | Type reference (TYPE) | SYCHAR01 | CHAR01-Datenelement fuer SYST | 20020819 | |||
| 2 | P_NAME | Call by reference | Type reference (TYPE) | SCI_CHKV | Name einer Prüfvariante | 20000928 | |||
| 3 | P_REF | Value transfer | Object reference (TYPE REF TO) | CL_CI_CHECKVARIANT | Referenz auf Prüfvariante | 20000928 | |||
| 4 | P_USER | Call by reference | Type reference (TYPE) | SCI_USER | Benutzer | 20000928 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | anzulegende Check Variante existiert schon | 20010202 | ||
| 2 | Fehler bei Sperranforderung | 20010828 | ||
| 3 | Prüfvariante ist gesperrt | 20010828 | ||
| 4 | Fehlende Autorisierung | 20011026 |
Method DELETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_INTERNAL | Call by reference | Type reference (TYPE) | FLAG | '' | allgemeines flag | 20070119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Sperranforderung | 20010828 | ||
| 2 | Prüfvariante wird noch in min. einer Inspektion verwendet | 20010105 | ||
| 3 | Prüfvariante ist gesperrt | 20010828 | ||
| 4 | Fehlende Autorisierung | 20011026 | ||
| 5 | Transport-Fehler | 20031201 |
Method ENQUEUE_ID Signature
Method ENQUEUE_ID on class CL_CI_CHECKVARIANT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Sperranforderung | 20010824 | ||
| 2 | ID|Name ist gesperrt | 20010824 |
Method ENTER_CHANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_CALLED_INTERNAL | Call by reference | Type reference (TYPE) | SYCHAR01 | CHAR01-Datenelement fuer SYST | 20020819 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Sperranforderung | 20010824 | ||
| 2 | Name|Name ist gesperrt | 20010824 | ||
| 3 | Fehlende Autorisierung | 20011026 |
Method EXPORT_ENTRY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ENTRY | Call by reference | Type reference (TYPE) | SCI_TSTVAL | Code Inspector: Zeile einer Test-Variante | 20001031 | |||
| 2 | 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 | P_HEAD | Call by reference | Type reference (TYPE) | SCICHKV_HD | Code Inspector: Prüfvariante | 20001031 | |||
| 2 | P_TABLE | Call by reference | Type reference (TYPE) | SCI_INCLUDE | Code Inspector: Include | 20001031 | |||
| 3 | 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 | P_CHECKVNAME_DEFAULT | Call by reference | Type reference (TYPE) | SCI_CHKV | Code Inspector: Elementname einer Prüfvariante | 20100505 | |||
| 2 | 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 | P_CHKV_REF | Value transfer | Object reference (TYPE REF TO) | CL_CI_CHECKVARIANT | Code Inspector: Verwaltung von Prüfvarianten | 20010125 | |||
| 2 | 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 | P_ALIAS | Value transfer | Type reference (TYPE) | SCI_USER | Code Inspector: Verantwortlicher | 20021128 | |||
| 2 | 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 | P_VARIANT | Value transfer | Type reference (TYPE) | SCI_TSTVAR | Code Inspector: Testvariante | 20011121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | P_NAME | Call by reference | Type reference (TYPE) | SCI_CHKV | ABAP-Programmname | 20031128 | |||
| 2 | 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 | P_DONT_LOOK_FOR_NEW_CHKV | Call by reference | Type reference (TYPE) | SYCHAR01 | '' | 20030704 | |||
| 2 | P_ID | Call by reference | Type reference (TYPE) | SCI_ID | Element-ID (Chk, ChkV, ObjM, Inspec) | 20000928 | |||
| 3 | P_NAME | Call by reference | Type reference (TYPE) | SCI_CHKV | Name einer Prüfvariante | 20000928 | |||
| 4 | P_REF | Value transfer | Object reference (TYPE REF TO) | CL_CI_CHECKVARIANT | Referenz auf Prüfvariante | 20000928 | |||
| 5 | P_USER | Call by reference | Type reference (TYPE) | SCI_USER | Benutzer | 20000928 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eine angeforderte Checkvariante existiert nicht | 20001027 | ||
| 2 | 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 | P_BODY | Call by reference | Type reference (TYPE) | SCI_TSTVAR | Code Inspector: Zeile einer Test-Variante | 20001031 | |||
| 2 | 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 | P_HEAD | Call by reference | Type reference (TYPE) | SCICHKV_HD | Kopf-Information. | 20001031 | |||
| 2 | P_TABLE | Call by reference | Type reference (TYPE) | SCI_INCLUDE | Code Inspector: Include | 20001031 | |||
| 3 | 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 | P_CALLED_INTERNAL | Call by reference | Type reference (TYPE) | SYCHAR01 | 20030729 | ||||
| 2 | P_TEXT | Call by reference | Type reference (TYPE) | SCI_TEXT | Code Inspector: Elementtext (Chk, ChkV, ObjM, Inspec) | 20000928 | |||
| 3 | P_TRANSPORT | Call by reference | Type reference (TYPE) | SYCHAR01 | 'X'=transport, ''=don't 'C'=nor change nor transport | 20010215 | |||
| 4 | P_VARIANT | Call by reference | Type reference (TYPE) | SCI_TSTVAR | Code Inspector: Testvariante | 20000928 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | leere Variante sollte abgespeichert werden | 20000928 | ||
| 2 | keine Berechtigung | 20030729 | ||
| 3 | Transport-Fehler | 20010418 |
Method SET_CHKV_EXEC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | P_TEXT | Call by reference | Type reference (TYPE) | SCI_TEXT | Code Inspector: Elementtext (Chk, ChkV, ObjM, Inspec) | 20010125 | |||
| 2 | P_TRANSPORT | Call by reference | Type reference (TYPE) | SYCHAR01 | Flag: 'X'=Transport, SPACE=no | 20010215 | |||
| 3 | P_VARIANT | Call by reference | Type reference (TYPE) | SCI_TSTVAR | Code Inspector: Testvariante | 20010125 | |||
| 4 | P_VARIANT_MERGE | Call by reference | Type reference (TYPE) | SCI_TSTVAR | 20031105 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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-Fehler | 20001031 |
Method UNTRANSPORT Signature
Method UNTRANSPORT on class CL_CI_CHECKVARIANT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Transport-Fehler | 20030716 |
Method WHERE_USED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_INSP | Call by reference | Type reference (TYPE) | SCIINS_IST | 20031002 | ||||
| 2 | P_IS_USED | Call by reference | Type reference (TYPE) | SYCHAR01 | '' nicht, 'I' Insp, 'O', ObjM, 'A' beides | 20031002 | |||
| 3 | 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 |