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
⤷
⤷
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 | 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 | Constant | Public | Type reference (TYPE) | SWNCTXT30 | 'DEFAULT' | Default DB Connection Name | 20050201 | ||
| 2 | Constant | Public | Type reference (TYPE) | SAPWLPARNM | 'HTTP_STATREC_PATH_SPLIT_RULE' | Parameter Name for Resolution of URL for HTTP | 20050124 | ||
| 3 | Constant | Public | Type reference (TYPE) | SWNCSHCNT | 999999999999 | 20081111 | |||
| 4 | Constant | Public | Type reference (TYPE) | SWNCLOCNT | 999999999999999999999999 | 10^24 - 1 | 20041019 | ||
| 5 | Constant | Public | Type reference (TYPE) | INT4 | 2147483647 | 2^31 - 1 | 20040521 | ||
| 6 | Constant | Public | Type reference (TYPE) | SWNCWEBPROT | 1 | 20050315 | |||
| 7 | Constant | Public | Type reference (TYPE) | SWNCWEBPROT | 2 | 20050315 | |||
| 8 | Constant | Public | Type reference (TYPE) | SWNCWEBPROT | 4 | 20050315 | |||
| 9 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 25 | Aggregate Type | 20040910 | ||
| 10 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 20 | Aggregate Type | 20040910 | ||
| 11 | Constant | Public | Type reference (TYPE) | SWNCMANDT | '000' | SAP Workload NW Collector: Client | 20040526 | ||
| 12 | Constant | Public | Type reference (TYPE) | SWNCUNAME | 'SAPSYS' | SAP Workload NW Collector: User Name | 20040526 | ||
| 13 | Constant | Public | Type reference (TYPE) | INT4 | 86400 | Number of Seconds per Day | 20040524 | ||
| 14 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 253 | Virtual Task Type ALE | 20040625 | ||
| 15 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 99 | Raw Task Type "ALL" | 20050114 | ||
| 16 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 23 | 20130424 | |||
| 17 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 07 | Raw Task Type AutoABAP | 20040625 | ||
| 18 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 18 | Raw Task Type 'auto ccms' | 20080925 | ||
| 19 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 16 | Raw Task Type 'auto java' | 20041217 | ||
| 20 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 249 | Virtual Task Type Auto RFC | 20120321 | ||
| 21 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 11 | Raw Task Type 'Auto Task Handler' | 20041217 | ||
| 22 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 22 | Virtual Task Type BGRFC Unit | 20121022 | ||
| 23 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 21 | Virtual Task Type BGRFC Scheduler | 20121022 | ||
| 24 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 35 | Raw Task Type 'Batch Input' | 20041217 | ||
| 25 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 04 | Raw Task Type Batch | 20040625 | ||
| 26 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 06 | Raw Task Type Buffer Refresh | 20040625 | ||
| 27 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 255 | Virutal Task Type CPIC | 20040625 | ||
| 28 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 14 | Raw Task Type 'DDLOG Cleanup' | 20041217 | ||
| 29 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 15 | Raw Task Type 'DELAYED TH CALL' | 20041217 | ||
| 30 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 01 | Raw Task Type 'Dialog' | 20040528 | ||
| 31 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 34 | Raw Task Type 'Dialog without GUI Time' | 20041217 | ||
| 32 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 05 | Raw Task Type Enqueue | 20040702 | ||
| 33 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 252 | 20081111 | |||
| 34 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | '69' | Raw Task Type FTP | 20040625 | ||
| 35 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | '65' | Raw Task Type HTTP | 20040625 | ||
| 36 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | '66' | Raw Task Type HTTPS | 20040625 | ||
| 37 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | '76' | Raw Task Type HTTPS/JSP | 20040625 | ||
| 38 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | '75' | Raw Task Type HTTP/JSP | 20040625 | ||
| 39 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | '6C' | Raw Task Type LCOM (Fast RFC) | 20040625 | ||
| 40 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 17 | 20081111 | |||
| 41 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 19 | 20130424 | |||
| 42 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 09 | Raw Task Type RFC | 20040625 | ||
| 43 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | '67' | Raw Task Type NNTP | 20040625 | ||
| 44 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 00 | 20130424 | |||
| 45 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 33 | SAP Workload NW Collector: Unsigned Byte | 20041201 | ||
| 46 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 10 | Raw Task Type PLUGIN | 20040625 | ||
| 47 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 254 | Virtual Task Type RFC | 20040625 | ||
| 48 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 12 | Raw Task Type "Remote Procedure Call TH" | 20041217 | ||
| 49 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | '68' | Raw Task Type SMTP | 20040625 | ||
| 50 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 03 | Raw Task Type Spool | 20040625 | ||
| 51 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 20 | 20130424 | |||
| 52 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 02 | Raw Task Type Update | 20040625 | ||
| 53 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 08 | Raw Task Type Update2 | 20040625 | ||
| 54 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 13 | Raw Task Type 'RFC inside VMC' | 20041217 | ||
| 55 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 251 | 20081111 | |||
| 56 | Constant | Public | Type reference (TYPE) | SWNCRBYTE | 250 | 20081111 | |||
| 57 | Constant | Public | Type reference (TYPE) | SWNCUNAME | 'UNKNOWN' | SAP Workload NW Collector: User Name | 20041215 | ||
| 58 | Constant | Public | Type reference (TYPE) | TIMEZONE | 'UTC ' | Time Zone 'UTC' | 20040521 | ||
| 59 | Constant | Public | Type reference (TYPE) | TIMESTAMP | '19700101000000' | Day Zero | 20040521 | ||
| 60 | Constant | Public | Type reference (TYPE) | TIMEZONE | ' ' | Time Zone Zero | 20040521 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Read Instance Name | 20081112 | |
| 2 | Static method | Public | Method | Read Local Host Name from Task Handler, Fallback SY-HOST | 20081112 | |
| 3 | Static method | Public | Method | 20130424 | ||
| 4 | Static method | Public | Method | Converts WEB Protocol from Int to Plain Text | 20050315 | |
| 5 | Static method | Public | Method | Converts Task Type from Raw Format to Plain Text | 20041220 | |
| 6 | 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 | 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 | 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 | ET_TASKTYPES | Value transfer | Type reference (TYPE) | CL_SWNC_CONSTANTS=>TY_T_TASKTYPES | 20130424 | ||||
| 2 | IV_ONLY_INTERNET | Call by reference | Type reference (TYPE) | BOOLEAN | SPACE | boolsche Variable (X=true, -=false, space=unknown) | 20130424 | ||
| 3 | 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 | I_PROTOCOL | Call by reference | Type reference (TYPE) | SWNCWEBPROT | SAP Workload NW Kollektor: Web Protokoll | 20050315 | |||
| 2 | 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 | I_TASKTYPE | Call by reference | Type reference (TYPE) | SWNCTASKTYPERAW | Tasktype (Rohformat) | 20041220 | |||
| 2 | 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 | I_TASKTYPE | Call by reference | Type reference (TYPE) | SWNCTASKTYPE | Tasktype (Klartextformat) | 20041220 | |||
| 2 | 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 |