SAP ABAP Class CL_SWNC_CONSTANTS (General Constants)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-CCM-MON (Application Component) Monitoring
⤷ SWNC_READ (Package) Read Functions for Workload Statistics
⤷ BC-CCM-MON (Application Component) Monitoring
⤷ SWNC_READ (Package) Read Functions for Workload Statistics
Properties
Class | CL_SWNC_CONSTANTS | |
Short Description | General Constants | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SWNC_READ | Read Functions for Workload Statistics |
Created | 20040521 | SAP |
Last change | 20140121 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | CL_SWNC_CONSTANTS | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_SWNC_CONSTANTS has no interface implemented.
Friends
Class CL_SWNC_CONSTANTS has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | DB_CONN_NAME_DEFAULT | Constant | Public | Type reference (TYPE) | SWNCTXT30 | 'DEFAULT' | Default DB Connection Name | 20050201 | |
2 | HTTP_STATREC_PATH_SPLIT_RULE | Constant | Public | Type reference (TYPE) | SAPWLPARNM | 'HTTP_STATREC_PATH_SPLIT_RULE' | Parameter Name for Resolution of URL for HTTP | 20050124 | |
3 | MAX_DEC12 | Constant | Public | Type reference (TYPE) | SWNCSHCNT | 999999999999 | 20081111 | ||
4 | MAX_DEC24 | Constant | Public | Type reference (TYPE) | SWNCLOCNT | 999999999999999999999999 | 10^24 - 1 | 20041019 | |
5 | MAX_INT4 | Constant | Public | Type reference (TYPE) | INT4 | 2147483647 | 2^31 - 1 | 20040521 | |
6 | PROT_HTTP | Constant | Public | Type reference (TYPE) | SWNCWEBPROT | 1 | 20050315 | ||
7 | PROT_HTTPS | Constant | Public | Type reference (TYPE) | SWNCWEBPROT | 2 | 20050315 | ||
8 | PROT_SMTP | Constant | Public | Type reference (TYPE) | SWNCWEBPROT | 4 | 20050315 | ||
9 | RECORD_ASTAT | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 25 | Aggregate Type | 20040910 | |
10 | RECORD_WLOAD | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 20 | Aggregate Type | 20040910 | |
11 | SAPSYS_MANDT | Constant | Public | Type reference (TYPE) | SWNCMANDT | '000' | SAP Workload NW Collector: Client | 20040526 | |
12 | SAPSYS_USER | Constant | Public | Type reference (TYPE) | SWNCUNAME | 'SAPSYS' | SAP Workload NW Collector: User Name | 20040526 | |
13 | SECONDS_PER_DAY | Constant | Public | Type reference (TYPE) | INT4 | 86400 | Number of Seconds per Day | 20040524 | |
14 | TT_ALE | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 253 | Virtual Task Type ALE | 20040625 | |
15 | TT_ALL | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 99 | Raw Task Type "ALL" | 20050114 | |
16 | TT_APC | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 23 | 20130424 | ||
17 | TT_AUTOABAP | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 07 | Raw Task Type AutoABAP | 20040625 | |
18 | TT_AUTOCCMS | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 18 | Raw Task Type 'auto ccms' | 20080925 | |
19 | TT_AUTOJAVA | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 16 | Raw Task Type 'auto java' | 20041217 | |
20 | TT_AUTORFC | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 249 | Virtual Task Type Auto RFC | 20120321 | |
21 | TT_AUTOTH | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 11 | Raw Task Type 'Auto Task Handler' | 20041217 | |
22 | TT_BGRFC | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 22 | Virtual Task Type BGRFC Unit | 20121022 | |
23 | TT_BGRFCSDL | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 21 | Virtual Task Type BGRFC Scheduler | 20121022 | |
24 | TT_BINPUT | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 35 | Raw Task Type 'Batch Input' | 20041217 | |
25 | TT_BTC | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 04 | Raw Task Type Batch | 20040625 | |
26 | TT_BUFREF | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 06 | Raw Task Type Buffer Refresh | 20040625 | |
27 | TT_CPIC | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 255 | Virutal Task Type CPIC | 20040625 | |
28 | TT_DDLOG | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 14 | Raw Task Type 'DDLOG Cleanup' | 20041217 | |
29 | TT_DELAY | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 15 | Raw Task Type 'DELAYED TH CALL' | 20041217 | |
30 | TT_DIA | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 01 | Raw Task Type 'Dialog' | 20040528 | |
31 | TT_DINOGUI | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 34 | Raw Task Type 'Dialog without GUI Time' | 20041217 | |
32 | TT_ENQ | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 05 | Raw Task Type Enqueue | 20040702 | |
33 | TT_ESI | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 252 | 20081111 | ||
34 | TT_FTP | Constant | Public | Type reference (TYPE) | SWNCRBYTE | '69' | Raw Task Type FTP | 20040625 | |
35 | TT_HTTP | Constant | Public | Type reference (TYPE) | SWNCRBYTE | '65' | Raw Task Type HTTP | 20040625 | |
36 | TT_HTTPS | Constant | Public | Type reference (TYPE) | SWNCRBYTE | '66' | Raw Task Type HTTPS | 20040625 | |
37 | TT_HTTPS_JSP | Constant | Public | Type reference (TYPE) | SWNCRBYTE | '76' | Raw Task Type HTTPS/JSP | 20040625 | |
38 | TT_HTTP_JSP | Constant | Public | Type reference (TYPE) | SWNCRBYTE | '75' | Raw Task Type HTTP/JSP | 20040625 | |
39 | TT_LCOM | Constant | Public | Type reference (TYPE) | SWNCRBYTE | '6C' | Raw Task Type LCOM (Fast RFC) | 20040625 | |
40 | TT_LICENCE | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 17 | 20081111 | ||
41 | TT_MSADM | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 19 | 20130424 | ||
42 | TT_NATIVE_RFC | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 09 | Raw Task Type RFC | 20040625 | |
43 | TT_NNTP | Constant | Public | Type reference (TYPE) | SWNCRBYTE | '67' | Raw Task Type NNTP | 20040625 | |
44 | TT_NONE | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 00 | 20130424 | ||
45 | TT_OTHERS | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 33 | SAP Workload NW Collector: Unsigned Byte | 20041201 | |
46 | TT_PLUGIN | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 10 | Raw Task Type PLUGIN | 20040625 | |
47 | TT_RFC | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 254 | Virtual Task Type RFC | 20040625 | |
48 | TT_RPC | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 12 | Raw Task Type "Remote Procedure Call TH" | 20041217 | |
49 | TT_SMTP | Constant | Public | Type reference (TYPE) | SWNCRBYTE | '68' | Raw Task Type SMTP | 20040625 | |
50 | TT_SPO | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 03 | Raw Task Type Spool | 20040625 | |
51 | TT_SYS_STARTUP | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 20 | 20130424 | ||
52 | TT_UPD | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 02 | Raw Task Type Update | 20040625 | |
53 | TT_UPD2 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 08 | Raw Task Type Update2 | 20040625 | |
54 | TT_VMCRFC | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 13 | Raw Task Type 'RFC inside VMC' | 20041217 | |
55 | TT_WSHTTP | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 251 | 20081111 | ||
56 | TT_WSRFC | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 250 | 20081111 | ||
57 | UNKNOWN_USERNAME | Constant | Public | Type reference (TYPE) | SWNCUNAME | 'UNKNOWN' | SAP Workload NW Collector: User Name | 20041215 | |
58 | UTC_TIMEZONE | Constant | Public | Type reference (TYPE) | TIMEZONE | 'UTC ' | Time Zone 'UTC' | 20040521 | |
59 | ZERO_DAY | Constant | Public | Type reference (TYPE) | TIMESTAMP | '19700101000000' | Day Zero | 20040521 | |
60 | ZERO_TIMEZONE | Constant | Public | Type reference (TYPE) | TIMEZONE | ' ' | Time Zone Zero | 20040521 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | GET_INSTANCE_NAME | Static method | Public | Method | Read Instance Name | 20081112 |
2 | GET_LOCAL_HOSTNAME | Static method | Public | Method | Read Local Host Name from Task Handler, Fallback SY-HOST | 20081112 |
3 | GET_TASKTYPES | Static method | Public | Method | 20130424 | |
4 | TRANSLATE_PROTOCOL | Static method | Public | Method | Converts WEB Protocol from Int to Plain Text | 20050315 |
5 | TRANSLATE_TASKTYPE | Static method | Public | Method | Converts Task Type from Raw Format to Plain Text | 20041220 |
6 | TRANSLATE_TASKTYPE_BACK | Static method | Public | Method | Converts Task Type from Plain Text to Raw Format | 20041220 |
Events
Class CL_SWNC_CONSTANTS has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_S_TASKTYPE | Public | See coding | 20130424 | BEGIN OF ty_s_tasktype,
ttype TYPE swncrbyte,
END OF ty_s_tasktype
|
||
2 | TY_T_TASKTYPES | Public | See coding | 20130424 | ty_t_tasktypes TYPE SORTED TABLE OF ty_s_tasktype
WITH UNIQUE KEY ttype
|
Method Signatures
Method GET_INSTANCE_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | INSTANCE_NAME | Value transfer | Type reference (TYPE) | SWNCHOSTNAME | SAP Workload NW Collector: Hostname | 20081112 |
Method GET_INSTANCE_NAME on class CL_SWNC_CONSTANTS has no exception.
Method GET_LOCAL_HOSTNAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | HOSTNAME | Value transfer | Type reference (TYPE) | SWNCHOSTNAME | SAP Workload NW Collector: Hostname | 20081112 |
Method GET_LOCAL_HOSTNAME on class CL_SWNC_CONSTANTS has no exception.
Method GET_TASKTYPES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ET_TASKTYPES | Value transfer | Type reference (TYPE) | CL_SWNC_CONSTANTS=>TY_T_TASKTYPES | 20130424 | |||
2 | Importing | IV_ONLY_INTERNET | Call by reference | Type reference (TYPE) | BOOLEAN | SPACE | boolsche Variable (X=true, -=false, space=unknown) | 20130424 | |
3 | Importing | IV_ONLY_RFC | Call by reference | Type reference (TYPE) | BOOLEAN | SPACE | boolsche Variable (X=true, -=false, space=unknown) | 20130424 |
Method GET_TASKTYPES on class CL_SWNC_CONSTANTS has no exception.
Method TRANSLATE_PROTOCOL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_PROTOCOL | Call by reference | Type reference (TYPE) | SWNCWEBPROT | SAP Workload NW Kollektor: Web Protokoll | 20050315 | ||
2 | Returning | RETURN | Value transfer | Type reference (TYPE) | SWLWEBPROT | SAP Workload: WebProtokoll [http(s), smtp, ...] | 20050315 |
Method TRANSLATE_PROTOCOL on class CL_SWNC_CONSTANTS has no exception.
Method TRANSLATE_TASKTYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_TASKTYPE | Call by reference | Type reference (TYPE) | SWNCTASKTYPERAW | Tasktype (Rohformat) | 20041220 | ||
2 | Returning | RETURN | Value transfer | Type reference (TYPE) | SWNCTASKTYPE | Tasktype (Klartextformat) | 20041220 |
Method TRANSLATE_TASKTYPE on class CL_SWNC_CONSTANTS has no exception.
Method TRANSLATE_TASKTYPE_BACK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_TASKTYPE | Call by reference | Type reference (TYPE) | SWNCTASKTYPE | Tasktype (Klartextformat) | 20041220 | ||
2 | Returning | RETURN | Value transfer | Type reference (TYPE) | SWNCTASKTYPERAW | Tasktype (Rohformat) | 20041220 |
Method TRANSLATE_TASKTYPE_BACK on class CL_SWNC_CONSTANTS has no exception.
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 700 |