SAP ABAP Class CL_WB_SCAN_ABAP_SOURCE (Wrapper for SCAN Command)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-ABA (Application Component) ABAP Editor
⤷
SEDI_ENH (Package) Enhancement Functions in Program Editor (SEDI)
⤷
⤷
Properties
| Class | CL_WB_SCAN_ABAP_SOURCE | |
| Short Description | Wrapper for SCAN Command | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SEDI_ENH | Enhancement Functions in Program Editor (SEDI) |
| Created | 20080114 | 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 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 4 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 5 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_WB_SCAN_ABAP_SOURCE has no interface implemented.
Friends
Class CL_WB_SCAN_ABAP_SOURCE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | GT_SCAN_TYPE | 'N' | Scan Without Enh. and Key Addition | 20080207 | ||
| 2 | Constant | Public | Type reference (TYPE) | GT_SCAN_TYPE | 'E' | SCAN with Enhancements | 20080207 | ||
| 3 | Constant | Public | Type reference (TYPE) | GT_SCAN_TYPE | 'S' | SCAN with Special Keywords | 20080207 | ||
| 4 | Instance attribute | Private | Type reference (TYPE) | SREPTAB | Replacements for SCAN | 20090217 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | GT_SENHMT_TAB | Enhancement Table | 20080114 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | GT_SEOPTN_TAB | Table of All Enhancement Options | 20080114 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | PROGRAM | Include for SCAN | 20080114 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | STRING | Prefix for Generation of Full Names of Explicit Enh. Options | 20090113 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | FLAG | General Flag | 20080207 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | GT_SLEVEL_TAB | Level Table | 20080114 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | PROGRAM | Framework Program for SCAN | 20080114 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | GT_SCAN_ERROR | Error Message from Scan | 20080409 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | GT_SSTMNT_TAB | Statement Table | 20080114 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | GT_STOKES_TAB | Token Table | 20080114 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20080114 | |
| 2 | Instance method | Private | Method | Deletes entry in m_enhancements | 20080821 | |
| 3 | Static method | Public | Method | Temporary workaround to get include_fullname_prefix | 20090113 | |
| 4 | Instance method | Public | Method | Table of all relevant enhancements based on scan result | 20080616 | |
| 5 | Instance method | Public | Method | Prefix for Generation of Full Names of Explicit Enh. Options | 20090113 | |
| 6 | Instance method | Public | Method | Supplies results of SCAN | 20080114 | |
| 7 | Instance method | Public | Method | contains source-explicit options | 20080616 | |
| 8 | Instance method | Public | Method | Source contains implicit enhancement implementations | 20080115 | |
| 9 | Instance method | Public | Method | 20080130 | ||
| 10 | Instance method | Public | Method | Source contains nested enhancement implementations | 20080115 | |
| 11 | Instance method | Public | Method | Source contains enhancement implementations | 20080115 | |
| 12 | Instance method | Private | Method | New Scan Version (considers program structure) | 20081211 | |
| 13 | Instance method | Private | Method | 20080403 | ||
| 14 | Instance method | Private | Method | Limit Enh.Info of Scan to p_reduced_enh_list | 20081208 | |
| 15 | Instance method | Private | Method | 20080207 | ||
| 16 | Instance method | Public | Method | Call of Scan (Without Includes and Enhancements) | 20080207 | |
| 17 | Instance method | Public | Method | Call of Scan with Use of Enhancements | 20080207 |
Events
Class CL_WB_SCAN_ABAP_SOURCE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | GT_SCAN_ERROR | Public | See coding | 20080409 | begin of gt_scan_error,
message(90) type c,
include type program,
word(30) type c,
row type i,
col type i,
end of gt_scan_error
|
||
| 2 | GT_SCAN_TYPE | Public | Type reference (TYPE) | FLAG | Possible Call Types for SCAN | 20080207 | |
| 3 | GT_SENHMT_TAB | Public | See coding | 20080114 | gt_senhmt_tab type standard table of senhmt with non-unique key table_line
|
||
| 4 | GT_SEOPTN_TAB | Public | See coding | 20080114 | gt_seoptn_tab type standard table of seoptn with non-unique key table_line
|
||
| 5 | GT_SLEVEL_TAB | Public | See coding | 20080114 | gt_slevel_tab type standard table of slevel with non-unique key table_line
|
||
| 6 | GT_SSTMNT_TAB | Public | See coding | 20080114 | gt_sstmnt_tab type standard table of sstmnt with non-unique key table_line
|
||
| 7 | GT_STOKES_TAB | Public | See coding | 20080114 | gt_stokes_tab type standard table of stokesx with non-unique key table_line
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_INCLUDE | Call by reference | Type reference (TYPE) | PROGRAM | Include | 20080114 | |||
| 2 | P_MAIN | Call by reference | Type reference (TYPE) | PROGRAM | Rahmenprogramm | 20080114 |
Method CONSTRUCTOR on class CL_WB_SCAN_ABAP_SOURCE has no exception.
Method DELETE_ENTRY_IN_ENHMT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_INDEX | Call by reference | Type reference (TYPE) | I | Index des zu löschenden Eintrages | 20080821 |
Method DELETE_ENTRY_IN_ENHMT on class CL_WB_SCAN_ABAP_SOURCE has no exception.
Method DETERMINE_FULLNAME_PREFIX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_INCLUDE | Call by reference | Type reference (TYPE) | PROGRAM | Name des betrachteten Includes | 20090113 | |||
| 2 | P_INCLUDE_FULLNAME_PREFIX | Value transfer | Type reference (TYPE) | STRING | fullnbame prefix fuer Enh-Optionen | 20090113 | |||
| 3 | P_INCL_IS_MULTI_USED | Call by reference | Type reference (TYPE) | ABAP_BOOL | include is multi_used | 20090116 | |||
| 4 | P_MAIN | Call by reference | Type reference (TYPE) | PROGRAM | Name des Rahmenprogrammes | 20090113 |
Method DETERMINE_FULLNAME_PREFIX on class CL_WB_SCAN_ABAP_SOURCE has no exception.
Method GET_ENHANCEMENT_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ENH_TABLE | Value transfer | Type reference (TYPE) | ENHSUBENHNAME_IT | Interne Tabelle über ENHSUBENHNAMES | 20080616 |
Method GET_ENHANCEMENT_TABLE on class CL_WB_SCAN_ABAP_SOURCE has no exception.
Method GET_INCLUDE_FULLNAME_PREFIX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_INCLUDE_FULLNAME_PREFIX | Value transfer | Type reference (TYPE) | STRING | Fullname-Prefix fuer expizite Optionen im Include | 20090113 |
Method GET_INCLUDE_FULLNAME_PREFIX on class CL_WB_SCAN_ABAP_SOURCE has no exception.
Method GET_SCAN_RESULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_EINCLUDE_REPLACEMENT | Call by reference | Type reference (TYPE) | SREPTAB | 20090217 | ||||
| 2 | P_ENHANCEMENTS | Call by reference | Type reference (TYPE) | GT_SENHMT_TAB | 20080114 | ||||
| 3 | P_ENHOPTIONS | Call by reference | Type reference (TYPE) | GT_SEOPTN_TAB | 20080114 | ||||
| 4 | P_ERROR | Call by reference | Type reference (TYPE) | GT_SCAN_ERROR | 20080409 | ||||
| 5 | P_LEVELS | Call by reference | Type reference (TYPE) | GT_SLEVEL_TAB | 20080114 | ||||
| 6 | P_STATEMENTS | Call by reference | Type reference (TYPE) | GT_SSTMNT_TAB | 20080114 | ||||
| 7 | P_TOKENS | Call by reference | Type reference (TYPE) | GT_STOKES_TAB | 20080114 |
Method GET_SCAN_RESULT on class CL_WB_SCAN_ABAP_SOURCE has no exception.
Method HAS_EXPLICIT_ENHOPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_HAS_EXPLICIT_OPTIONS | Value transfer | Type reference (TYPE) | SEU_BOOL | '?', falls SCAN nicht geeignet aufgerufen | 20080616 |
Method HAS_EXPLICIT_ENHOPS on class CL_WB_SCAN_ABAP_SOURCE has no exception.
Method HAS_IMPLICIT_ENHANCEMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_IS_ENHANCED | Value transfer | Type reference (TYPE) | SEU_BOOL | '?', falls SCAN nicht geeignet aufgerufen | 20080115 |
Method HAS_IMPLICIT_ENHANCEMENTS on class CL_WB_SCAN_ABAP_SOURCE has no exception.
Method HAS_INCLUDE_BOUND_ENHOPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_HAS_INCL_BOUND_ENHOPS | Value transfer | Type reference (TYPE) | SEU_BOOL | '?', falls SCAN nicht geeignet aufgerufen | 20080130 |
Method HAS_INCLUDE_BOUND_ENHOPS on class CL_WB_SCAN_ABAP_SOURCE has no exception.
Method HAS_NESTED_ENHANCEMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_HAS_NESTED_ENHANCEMENTS | Value transfer | Type reference (TYPE) | SEU_BOOL | '?', falls SCAN nicht geeignet aufgerufen | 20080115 |
Method HAS_NESTED_ENHANCEMENTS on class CL_WB_SCAN_ABAP_SOURCE has no exception.
Method IS_ENHANCED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_IS_ENHANCED | Value transfer | Type reference (TYPE) | SEU_BOOL | '?', falls SCAN nicht geeignet aufgerufen | 20080115 |
Method IS_ENHANCED on class CL_WB_SCAN_ABAP_SOURCE has no exception.
Method IS_NEW_SCAN_VERSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_NEW | Value transfer | Type reference (TYPE) | SEU_BOOL | 'X'->Scan berücksichtigt bei Fullnames die Programm-Struktur | 20081211 |
Method IS_NEW_SCAN_VERSION on class CL_WB_SCAN_ABAP_SOURCE has no exception.
Method QUALIFY_ENH_TOKENS Signature
Method QUALIFY_ENH_TOKENS on class CL_WB_SCAN_ABAP_SOURCE has no parameter.
Method QUALIFY_ENH_TOKENS on class CL_WB_SCAN_ABAP_SOURCE has no exception.
Method REDUCE_ENHINFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_REDUCED_ENH_LIST | Call by reference | Type reference (TYPE) | ENHNAME_IT | u berücksichtigende Enh.Impls | 20081208 |
Method REDUCE_ENHINFO on class CL_WB_SCAN_ABAP_SOURCE has no exception.
Method RESET_SCAN_RESULT Signature
Method RESET_SCAN_RESULT on class CL_WB_SCAN_ABAP_SOURCE has no parameter.
Method RESET_SCAN_RESULT on class CL_WB_SCAN_ABAP_SOURCE has no exception.
Method SCAN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_KEYWORDS | Call by reference | Type reference (TYPE) | SEDI_KW_TAB | 20080207 | ||||
| 2 | P_SOURCE_REF | Call by reference | Object reference (TYPE REF TO) | RSWSOURCET | zu scannende ABAP-Source | 20080226 | |||
| 3 | P_WITH_ENH_KEYWORDS | Call by reference | Type reference (TYPE) | SEU_BOOL | 'X'->nur Enhancement-Schlüsselworte | 20080207 |
Method SCAN on class CL_WB_SCAN_ABAP_SOURCE has no exception.
Method SCAN_WITH_ENHANCEMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_D010ENH_REPLACEMENT | Call by reference | Type reference (TYPE) | CL_ENH_SCP_CONTAINER=>D010ENH_TABLE_T | Ersetzungstabelle für Implementierungselemente | 20080821 | |||
| 2 | P_EINCLUDE_REPLACEMENT | Call by reference | Type reference (TYPE) | SREPTAB | Ersetzungstabelle für die E-Includes | 20080821 | |||
| 3 | P_REDUCED_ENH_LIST | Call by reference | Type reference (TYPE) | ENHNAME_IT | die zu berücksichtigenden Enh.Impls. sind einzuschränken | 20081208 | |||
| 4 | P_SOURCE_REF | Call by reference | Object reference (TYPE REF TO) | RSWSOURCET | zu scannende ABAP-Source | 20080226 | |||
| 5 | P_SWITCHED_ON_ONLY | Call by reference | Type reference (TYPE) | SEU_BOOL | 'X' -> nur eingeschaltete Erweiterungen | 20080227 | |||
| 6 | P_VERSION | Call by reference | Type reference (TYPE) | R3STATE | 'A'/'I'/' '->aktiv/inaktiv7gemäß Workingset | 20080306 |
Method SCAN_WITH_ENHANCEMENTS on class CL_WB_SCAN_ABAP_SOURCE has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 711 |