SAP ABAP Class CL_VMIT_UTILS (Interface to Virtual Machine Instruction Trace)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SABP_CORE (Package) Kernel-Level Objects

⤷

⤷

Properties
Class | CL_VMIT_UTILS | |
Short Description | Interface to Virtual Machine Instruction Trace | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SABP_CORE | Kernel-Level Objects |
Created | 20050125 | 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) |
Interfaces
Class CL_VMIT_UTILS has no interface implemented.
Friends
Class CL_VMIT_UTILS 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) | TY_S_ADMIN | 20060203 | |||
2 | ![]() |
Instance attribute | Public | Type reference (TYPE) | TY_T_DIMS | 20060203 | |||
3 | ![]() |
Instance attribute | Public | Type reference (TYPE) | TY_T_DIM_INDEXES | 20060203 | |||
4 | ![]() |
Instance attribute | Public | Type reference (TYPE) | TY_T_DIM_INTERVALS | 20060203 | |||
5 | ![]() |
Instance attribute | Public | Type reference (TYPE) | TY_T_DIM_STATS | 20060203 | |||
6 | ![]() |
Instance attribute | Public | Type reference (TYPE) | TY_T_DIM_TRANSLATIONS | 20060203 | |||
7 | ![]() |
Instance attribute | Public | Type reference (TYPE) | TY_T_INLAY_INST_INDEXES | 20060203 | |||
8 | ![]() |
Instance attribute | Public | Type reference (TYPE) | TY_T_MICRO_INST_INDEXES | 20060203 | |||
9 | ![]() |
Instance attribute | Public | Type reference (TYPE) | TY_T_NAMES | 20060203 | |||
10 | ![]() |
Instance attribute | Public | Type reference (TYPE) | TY_T_STATS | 20060203 | |||
11 | ![]() |
Instance attribute | Public | Type reference (TYPE) | TY_T_VIRT_INST_CATS | 20060203 | |||
12 | ![]() |
Instance attribute | Public | Type reference (TYPE) | I | 20060203 | |||
13 | ![]() |
Instance attribute | Public | Type reference (TYPE) | SY-UNAME | User Name | 20060203 | ||
14 | ![]() |
Constant | Public | Type reference (TYPE) | I | -2 | All External Sessions | 20050125 | |
15 | ![]() |
Constant | Public | Type reference (TYPE) | I | -1 | Current External Session Only | 20050125 | |
16 | ![]() |
Constant | Public | Type reference (TYPE) | SY-SUBRC | 8 | Return Value of ABAP Statements | 20060203 | |
17 | ![]() |
Constant | Public | Type reference (TYPE) | SY-SUBRC | 32 | Return Value of ABAP Statements | 20060203 | |
18 | ![]() |
Constant | Public | Type reference (TYPE) | SY-SUBRC | 16 | Return Value of ABAP Statements | 20060203 | |
19 | ![]() |
Constant | Public | Type reference (TYPE) | SY-SUBRC | 24 | Return Value of ABAP Statements | 20060203 | |
20 | ![]() |
Constant | Public | Type reference (TYPE) | SY-SUBRC | 28 | Return Value of ABAP Statements | 20060203 | |
21 | ![]() |
Constant | Public | Type reference (TYPE) | SY-SUBRC | 0 | Return Value of ABAP Statements | 20060203 | |
22 | ![]() |
Constant | Public | Type reference (TYPE) | SY-SUBRC | 4 | Return Value of ABAP Statements | 20060203 | |
23 | ![]() |
Constant | Public | Type reference (TYPE) | SY-SUBRC | 20 | Return Value of ABAP Statements | 20060203 | |
24 | ![]() |
Constant | Public | Type reference (TYPE) | SY-SUBRC | 12 | Return Value of ABAP Statements | 20060203 | |
25 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | `***VMIT` | 20060206 | ||
26 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | `***VMIT ERROR` | 20060206 | ||
27 | ![]() |
Static Attribute | Public | Type reference (TYPE) | TPFET-PVALUE | Value of the profile parameter | 20060206 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Method | Activate VMIT (INTERNAL) | 20060203 |
2 | ![]() |
Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20060206 |
3 | ![]() |
Instance method | Private | Method | Reset VMIT Results | 20060203 |
4 | ![]() |
Instance method | Private | Method | Deactivate VMIT (INTERNAL) | 20060203 |
5 | ![]() |
Instance method | Public | Method | Returns Named Statistics | 20060203 |
6 | ![]() |
Instance method | Public | Method | Returns VMIT Entries in WP Trace Files | 20060206 |
7 | ![]() |
Instance method | Public | Method | Returns Status of Trace and Sets I_USER if Active | 20060203 |
8 | ![]() |
Instance method | Public | Method | Deactivate VMIT | 20050125 |
9 | ![]() |
Instance method | Public | Method | Activate VMIT | 20050125 |
Events
Class CL_VMIT_UTILS has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_D_DIM_INDEX | Public | Type reference (TYPE) | I | 20050125 |
|
|
2 | TY_D_DIM_INTERVAL | Public | Type reference (TYPE) | I | 20050125 |
|
|
3 | TY_D_ERROR_TEXT | Public | Type reference (TYPE) | CHAR20 | 20050125 |
|
|
4 | TY_D_INLAY_INST_INDEX | Public | Type reference (TYPE) | I | 20050125 |
|
|
5 | TY_D_MICRO_INST_INDEX | Public | Type reference (TYPE) | I | 20050125 |
|
|
6 | TY_D_NAME | Public | Type reference (TYPE) | STRING | 20050125 |
|
|
7 | TY_S_ADMIN | Public | See coding | 20050125 | BEGIN OF ty_s_admin,
clocktickspersecond TYPE f,
overheadexectime TYPE f,
overheadexeccount TYPE i.
INCLUDE TYPE ty_s_errorinfo.
TYPES:
user TYPE sy-uname,
emode TYPE i.
INCLUDE TYPE ty_s_runid.
TYPES:
END OF ty_s_admin
|
||
8 | TY_S_DIM | Public | See coding | 20050125 | BEGIN OF ty_s_dim,
nametableindex TYPE i,
catcount TYPE i,
dimtype TYPE int1,
valcount TYPE i,
dimcattableindex TYPE i,
END OF ty_s_dim
|
||
9 | TY_S_DIM_STAT | Public | See coding | 20050125 | BEGIN OF ty_s_dim_stat,
mindimval TYPE f,
maxdimval TYPE f,
cumdimval TYPE f,
cumsqrddimval TYPE f,
END OF ty_s_dim_stat
|
||
10 | TY_S_DIM_TRANSLATION | Public | See coding | 20050125 | BEGIN OF ty_s_dim_translation,
catindex TYPE i,
nametableindex TYPE i,
END OF ty_s_dim_translation
|
||
11 | TY_S_ERRORINFO | Public | See coding | 20050125 | BEGIN OF ty_s_errorinfo,
errorcode TYPE i,
undefinedinstructioncount TYPE i,
missingdimensioncount TYPE i,
superfluousdimensioncount TYPE i,
wrongvaluecount TYPE i,
unclosedscopecount TYPE i,
openscopecount TYPE i,
missingopenscopecount TYPE i,
blackboxerrorcount TYPE i,
END OF ty_s_errorinfo
|
||
12 | TY_S_NAMED_STAT | Public | See coding | 20060203 | BEGIN OF ty_s_named_stat,
name TYPE string.
INCLUDE TYPE ty_s_stat.
TYPES:
END OF ty_s_named_stat
|
||
13 | TY_S_RUNID | Public | See coding | 20050125 | BEGIN OF ty_s_runid,
sysid TYPE sy-sysid,
host TYPE sy-host,
datum TYPE sy-datum,
uzeit TYPE sy-uzeit,
END OF ty_s_runid
|
||
14 | TY_S_STAT | Public | See coding | 20050125 | BEGIN OF ty_s_stat,
nametableindex TYPE i,
absfrequency TYPE i,
minnettoexectime TYPE f,
maxnettoexectime TYPE f,
cumsqrdnettoexectime TYPE f,
minexectime TYPE f,
maxexectime TYPE f,
cumexectime TYPE f,
cumsqrdexectime TYPE f,
mindbtime TYPE f,
maxdbtime TYPE f,
cumdbtime TYPE f,
cumsqrddbtime TYPE f,
dbcount TYPE i,
minictime TYPE f,
maxictime TYPE f,
cumictime TYPE f,
cumsqrdictime TYPE f,
iccount TYPE i,
dimcount TYPE i,
dimtableindex TYPE i,
stattableindex TYPE i,
virtinstcattableindex TYPE i,
hasinlaydim TYPE abap_bool,
microinstindex TYPE i,
inlayinstindextableindex TYPE i,
inlayinstcount TYPE i,
inlayoverflowcount TYPE i,
END OF ty_s_stat
|
||
15 | TY_S_VIRT_INST_CAT | Public | See coding | 20050125 | BEGIN OF ty_s_virt_inst_cat,
catindex TYPE i,
dimtableindex TYPE i,
dimstattableindex TYPE i,
END OF ty_s_virt_inst_cat
|
||
16 | TY_S_WPTRC_ENTRY | Public | See coding | 20060206 | BEGIN OF ty_s_wptrc_entry,
wp_no TYPE wpindex, "Workprocess number
wp_type TYPE wptyp, "Workprocess type
line_no TYPE i, "Line number in trace file
wp_entry TYPE string, "Workprocess entry
END OF ty_s_wptrc_entry
|
||
17 | TY_T_DIMS | Public | See coding | 20050125 | ty_t_dims TYPE STANDARD TABLE OF ty_s_dim WITH NON-UNIQUE DEFAULT KEY
|
||
18 | TY_T_DIM_INDEXES | Public | See coding | 20050125 | ty_t_dim_indexes TYPE STANDARD TABLE OF ty_d_dim_index WITH NON-UNIQUE DEFAULT KEY
|
||
19 | TY_T_DIM_INTERVALS | Public | See coding | 20050125 | ty_t_dim_intervals TYPE STANDARD TABLE OF ty_d_dim_interval WITH NON-UNIQUE DEFAULT KEY
|
||
20 | TY_T_DIM_STATS | Public | See coding | 20050125 | ty_t_dim_stats TYPE STANDARD TABLE OF ty_s_dim_stat WITH NON-UNIQUE DEFAULT KEY
|
||
21 | TY_T_DIM_TRANSLATIONS | Public | See coding | 20050125 | ty_t_dim_translations TYPE STANDARD TABLE OF ty_s_dim_translation WITH NON-UNIQUE DEFAULT KEY
|
||
22 | TY_T_INLAY_INST_INDEXES | Public | See coding | 20050125 | ty_t_inlay_inst_indexes TYPE STANDARD TABLE OF ty_d_inlay_inst_index WITH NON-UNIQUE DEFAULT KEY
|
||
23 | TY_T_MICRO_INST_INDEXES | Public | See coding | 20050125 | ty_t_micro_inst_indexes TYPE STANDARD TABLE OF ty_d_micro_inst_index WITH NON-UNIQUE DEFAULT KEY
|
||
24 | TY_T_NAMED_STATS | Public | See coding | 20060203 | ty_t_named_stats TYPE STANDARD TABLE OF ty_s_named_stat WITH NON-UNIQUE DEFAULT KEY
|
||
25 | TY_T_NAMES | Public | See coding | 20050125 | ty_t_names TYPE STANDARD TABLE OF ty_d_name WITH NON-UNIQUE DEFAULT KEY
|
||
26 | TY_T_STATS | Public | See coding | 20050125 | ty_t_stats TYPE STANDARD TABLE OF ty_s_stat WITH NON-UNIQUE DEFAULT KEY
|
||
27 | TY_T_VIRT_INST_CATS | Public | See coding | 20050125 | ty_t_virt_inst_cats TYPE STANDARD TABLE OF ty_s_virt_inst_cat WITH NON-UNIQUE DEFAULT KEY
|
||
28 | TY_T_WPTRC_ENTRIES | Public | See coding | 20060206 | ty_t_wptrc_entries TYPE SORTED TABLE OF ty_s_wptrc_entry
WITH UNIQUE KEY wp_no wp_type line_no
|
Method Signatures
Method ACTIVATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CH_ERROR_TEXT | Call by reference | Type reference (TYPE) | TY_D_ERROR_TEXT | 20060203 | |||
2 | ![]() |
CH_RETCODE | Call by reference | Type reference (TYPE) | SY-SUBRC | Rückgabewert von ABAP-Anweisungen | 20060203 | ||
3 | ![]() |
IM_EMODE | Call by reference | Type reference (TYPE) | I | 20060203 | |||
4 | ![]() |
IM_USER | Call by reference | Type reference (TYPE) | SY-UNAME | Benutzername | 20060203 |
Method ACTIVATE on class CL_VMIT_UTILS has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_VMIT_UTILS has no parameter.
Method CLASS_CONSTRUCTOR on class CL_VMIT_UTILS has no exception.
Method CLEAR_VMIT_RESULTS Signature
Method CLEAR_VMIT_RESULTS on class CL_VMIT_UTILS has no parameter.
Method CLEAR_VMIT_RESULTS on class CL_VMIT_UTILS has no exception.
Method DEACTIVATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CH_ADMIN | Call by reference | Type reference (TYPE) | TY_S_ADMIN | 20060203 | |||
2 | ![]() |
CH_DIMS | Call by reference | Type reference (TYPE) | TY_T_DIMS | 20060203 | |||
3 | ![]() |
CH_DIM_INDEXES | Call by reference | Type reference (TYPE) | TY_T_DIM_INDEXES | 20060203 | |||
4 | ![]() |
CH_DIM_INTERVALS | Call by reference | Type reference (TYPE) | TY_T_DIM_INTERVALS | 20060203 | |||
5 | ![]() |
CH_DIM_STATS | Call by reference | Type reference (TYPE) | TY_T_DIM_STATS | 20060203 | |||
6 | ![]() |
CH_DIM_TRANSLATIONS | Call by reference | Type reference (TYPE) | TY_T_DIM_TRANSLATIONS | 20060203 | |||
7 | ![]() |
CH_INLAY_INST_INDEXES | Call by reference | Type reference (TYPE) | TY_T_INLAY_INST_INDEXES | 20060203 | |||
8 | ![]() |
CH_MICRO_INST_INDEXES | Call by reference | Type reference (TYPE) | TY_T_MICRO_INST_INDEXES | 20060203 | |||
9 | ![]() |
CH_NAMES | Call by reference | Type reference (TYPE) | TY_T_NAMES | 20060203 | |||
10 | ![]() |
CH_RETCODE | Call by reference | Type reference (TYPE) | SY-SUBRC | Rückgabewert von ABAP-Anweisungen | 20060203 | ||
11 | ![]() |
CH_STATS | Call by reference | Type reference (TYPE) | TY_T_STATS | 20060203 | |||
12 | ![]() |
CH_VIRT_INST_CATS | Call by reference | Type reference (TYPE) | TY_T_VIRT_INST_CATS | 20060203 |
Method DEACTIVATE on class CL_VMIT_UTILS has no exception.
Method GET_NAMED_STATS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RE_NAMED_STATS | Value transfer | Type reference (TYPE) | TY_T_NAMED_STATS | 20060203 |
Method GET_NAMED_STATS on class CL_VMIT_UTILS has no exception.
Method GET_WPTRC_ENTRIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IM_ENTRY_TYPE | Call by reference | Type reference (TYPE) | STRING | MC_WPTRC_TYPE_ALL | 20060206 | ||
2 | ![]() |
RE_ENTRIES | Value transfer | Type reference (TYPE) | TY_T_WPTRC_ENTRIES | 20060206 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Ausnahmeklasse für CL_VMIT_UTILS | 20060327 |
Method IS_ACTIVE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RE_ACTIVE | Value transfer | Type reference (TYPE) | ABAP_BOOL | TRUE falls aktive, ansonsten FALSE | 20060203 |
Method IS_ACTIVE on class CL_VMIT_UTILS has no exception.
Method TRACE_OFF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CH_RETCODE | Call by reference | Type reference (TYPE) | SY-SUBRC | Rückgabewert von ABAP-Anweisungen | 20060203 |
Method TRACE_OFF on class CL_VMIT_UTILS has no exception.
Method TRACE_ON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CH_ERROR_TEXT | Call by reference | Type reference (TYPE) | TY_D_ERROR_TEXT | 20060203 | |||
2 | ![]() |
CH_RETCODE | Call by reference | Type reference (TYPE) | SY-SUBRC | Rückgabewert von ABAP-Anweisungen | 20060203 | ||
3 | ![]() |
IM_EMODE | Call by reference | Type reference (TYPE) | I | MC_ALL_EMODES | Nummer des externen Modus der getracet werden soll. | 20050125 | |
4 | ![]() |
IM_USER | Call by reference | Type reference (TYPE) | SY-UNAME | SY-UNAME | Benutzername für den der Trace eingeschaltet werden soll. | 20050125 |
Method TRACE_ON on class CL_VMIT_UTILS has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 710 |