Hierarchy
⤷
⤷
Properties
| Class | CL_SMEC_UTILITY | |
| Short Description | MEC Utility Class | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_MEC | Measurement Environment Check |
| Created | 20101215 | SAP |
| Last change | 20130531 | 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_SMEC_UTILITY has no interface implemented.
Friends
Class CL_SMEC_UTILITY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | SEOCLSNAME | 'LCL_CI_' | Local Check Class Prefix | 20110204 | ||
| 2 | Constant | Private | Type reference (TYPE) | SEOCLSNAME | 'IF_SMEC_UTILITY' | Object Type Name | 20110204 | ||
| 3 | Constant | Private | Type reference (TYPE) | SEOCLSNAME | 'IF_SMEC_UTILITY_CHECK' | Object Type Name | 20110204 | ||
| 4 | Constant | Private | Type reference (TYPE) | SEOCLSNAME | 'CL_SMEC_CI_PROTOTYPE' | Object Type Name | 20110204 | ||
| 5 | Constant | Private | Type reference (TYPE) | INT4 | 5 | Natural number | 20110705 | ||
| 6 | Instance attribute | Public | Type reference (TYPE) | S_MEC_ITEM_HOSTNAME | MEC item Hostname | 20110415 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | S_MEC_ITEM_SYINSTANCE | MEC Instance Number of the System | 20101229 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | S_MEC_ITEM_INSTNR | MEC Instance Number of the System | 20110415 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | SMEC_T_SERVER | MEC Server List | 20110413 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | SMEC_T_CI_ID_REF | MEC Table with Check Item IDs and IF References | 20101230 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | SMEC_T_CPUT | MEC CPU Test Table Type | 20110630 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | SMEC_T_CPUT | MEC CPU Test Table Type | 20110630 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | SMEC_T_ITEM | MEC Check item table of all Checks | 20110406 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | SMEC_T_ITEM | MEC Check item table of all Checks | 20110204 | |||
| 15 | Instance attribute | Public | Type reference (TYPE) | SMEC_T_ITEM | MEC Check item table of all Checks | 20110204 | |||
| 16 | Instance attribute | Public | Type reference (TYPE) | SMEC_T_PROF_PARAM | MEC Profile Parameter Data Table Type | 20110426 | |||
| 17 | Instance attribute | Public | Type reference (TYPE) | SMEC_T_PROF_PARAM | MEC Profile Parameter Data Table Type | 20110426 | |||
| 18 | Instance attribute | Public | Type reference (TYPE) | S_MEC_ITEM_SYNAME | MEC item System Name (RFC Name of Appl.-Server) | 20110415 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | INT4 | Number of received RFCs | 20110204 | |||
| 20 | Static Attribute | Private | Type reference (TYPE) | S_MEC_ITEM_SYSID | MEC item System ID | 20101229 | |||
| 21 | Instance attribute | Public | Type reference (TYPE) | S_MEC_ITEM_SID | MEC item System ID | 20110415 | |||
| 22 | Instance attribute | Private | Type reference (TYPE) | SYSTDATLO | Local Date for Current User | 20101229 | |||
| 23 | Instance attribute | Private | Type reference (TYPE) | SYSTTIMLO | Local Time of Current User | 20101229 | |||
| 24 | Static Attribute | Private | Type reference (TYPE) | S_MEC_ITEM_SYNAME | MEC item System Name (RFC Name of Appl.-Server) | 20101229 | |||
| 25 | Static Attribute | Private | Type reference (TYPE) | S_MEC_ITEM_SYSERVER | MEC Server Name (Application Server) | 20101229 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Apply criteria for getting traffic lights | 20110406 | |
| 2 | Static method | Private | Method | Check ACTivity case | 20110406 | |
| 3 | Static method | Private | Method | Check CHAracter case | 20110406 | |
| 4 | Static method | Private | Method | Check NUMber case | 20110406 | |
| 5 | Static method | Private | Method | Check whether value is in range | 20110706 | |
| 6 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20101229 | |
| 7 | Instance method | Public | Constructor | CONSTRUCTOR | 20101215 | |
| 8 | Instance method | Public | Method | ... get CPU test data asynchronously | 20110630 | |
| 9 | Instance method | Public | Method | Get table of CPU test data | 20110630 | |
| 10 | Instance method | Public | Method | Get table of CPU test data of all system servers | 20110630 | |
| 11 | Instance method | Public | Method | Get table of all check items | 20101228 | |
| 12 | Instance method | Public | Method | Get table of all check items of all system servers | 20110203 | |
| 13 | Instance method | Public | Method | Get table of all profile parameters (covered by MEC) | 20110426 | |
| 14 | Instance method | Public | Method | Get table of all profile parameters of all system servers | 20110426 | |
| 15 | Instance method | Private | Method | Get IF reference for a given check item ID | 20101230 | |
| 16 | Instance method | Public | Method | Get check item with given ID | 20110407 | |
| 17 | Instance method | Public | Method | Return CPU Test Data of Local Host | 20110630 | |
| 18 | Instance method | Public | Method | Return CPU Test Data of Remotel Hosts | 20110630 | |
| 19 | Instance method | Public | Method | Join local and remote items | 20110406 | |
| 20 | Instance method | Public | Method | Return Check Item List of Local Host | 20110204 | |
| 21 | Instance method | Public | Method | Return Check Item List of Remote Hosts | 20110419 | |
| 22 | Instance method | Public | Method | Return Check Profile Parameter List of Local Host | 20110426 | |
| 23 | Instance method | Public | Method | Return Check Profile Parameter List of Remotel Hosts | 20110426 | |
| 24 | Instance method | Public | Method | Get list of all active instances (like SM51) | 20110204 | |
| 25 | Instance method | Private | Method | Get date and time of current snapshot | 20101229 | |
| 26 | Instance method | Public | Method | Navigation by ID | 20110427 | |
| 27 | Instance method | Public | Method | ... get item list asynchronously | 20110204 | |
| 28 | Instance method | Private | Method | Perform all checks with registered IF | 20110203 | |
| 29 | Instance method | Private | Method | Perform single check for IF reference of check item | 20110203 | |
| 30 | Instance method | Public | Method | ... get profile parameter list asynchronously | 20110426 |
Events
Class CL_SMEC_UTILITY has no event.
Types
Class CL_SMEC_UTILITY has no local type.
Method Signatures
Method APPLY_MEC_CRITERIA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITEM | Call by reference | Type reference (TYPE) | SMEC_ITEM | MEC Check item table of all Checks | 20110407 |
Method APPLY_MEC_CRITERIA on class CL_SMEC_UTILITY has no exception.
Method CHECK_ACT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITEM | Call by reference | Type reference (TYPE) | SMEC_ITEM | MEC Check Item | 20110406 |
Method CHECK_ACT on class CL_SMEC_UTILITY has no exception.
Method CHECK_CHA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITEM | Call by reference | Type reference (TYPE) | SMEC_ITEM | MEC Check Item | 20110406 | |||
| 2 | REFRESH_NOW | Call by reference | Type reference (TYPE) | S_MEC_ITEM_CHECKED | MEC item Check Status | 20110413 |
Method CHECK_CHA on class CL_SMEC_UTILITY has no exception.
Method CHECK_NUM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITEM | Call by reference | Type reference (TYPE) | SMEC_ITEM | MEC Check Item | 20110406 |
Method CHECK_NUM on class CL_SMEC_UTILITY has no exception.
Method CHECK_VALUE_IN_RANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RANGE_ITEM | Call by reference | Type reference (TYPE) | SMEC_RANGE_ITEM | MEC Range Item for Number Evaluation | 20110706 |
Method CHECK_VALUE_IN_RANGE on class CL_SMEC_UTILITY has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_SMEC_UTILITY has no parameter.
Method CLASS_CONSTRUCTOR on class CL_SMEC_UTILITY has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_SMEC_UTILITY has no parameter.
Method CONSTRUCTOR on class CL_SMEC_UTILITY has no exception.
Method CPUT_RECEIVED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_TASK | Call by reference | Type reference (TYPE) | CLIKE | 20110630 |
Method CPUT_RECEIVED on class CL_SMEC_UTILITY has no exception.
Method GET_CHECK_CPUT_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PARAM_SET | Call by reference | Type reference (TYPE) | SMEC_CPUTEST_PARAM | MEC CPU Test Parameter | 20110630 |
Method GET_CHECK_CPUT_LIST on class CL_SMEC_UTILITY has no exception.
Method GET_CHECK_CPUT_LIST_REM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PARAM_SET | Call by reference | Type reference (TYPE) | SMEC_CPUTEST_PARAM | MEC CPU Test Parameter Structure | 20110704 |
Method GET_CHECK_CPUT_LIST_REM on class CL_SMEC_UTILITY has no exception.
Method GET_CHECK_ITEM_LIST Signature
Method GET_CHECK_ITEM_LIST on class CL_SMEC_UTILITY has no parameter.
Method GET_CHECK_ITEM_LIST on class CL_SMEC_UTILITY has no exception.
Method GET_CHECK_ITEM_LIST_REM Signature
Method GET_CHECK_ITEM_LIST_REM on class CL_SMEC_UTILITY has no parameter.
Method GET_CHECK_ITEM_LIST_REM on class CL_SMEC_UTILITY has no exception.
Method GET_CHECK_PROF_LIST Signature
Method GET_CHECK_PROF_LIST on class CL_SMEC_UTILITY has no parameter.
Method GET_CHECK_PROF_LIST on class CL_SMEC_UTILITY has no exception.
Method GET_CHECK_PROF_LIST_REM Signature
Method GET_CHECK_PROF_LIST_REM on class CL_SMEC_UTILITY has no parameter.
Method GET_CHECK_PROF_LIST_REM on class CL_SMEC_UTILITY has no exception.
Method GET_ITEM_REF_FOR_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID | Call by reference | Type reference (TYPE) | S_MEC_ITEM_ID | MEC item ID | 20101230 | |||
| 2 | ITEM_IFREF | Value transfer | Object reference (TYPE REF TO) | IF_SMEC_UTILITY | SMEC Utility Check Item Methods | 20101230 |
Method GET_ITEM_REF_FOR_ID on class CL_SMEC_UTILITY has no exception.
Method GET_ITEM_WITH_STATUS_BY_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | APPLY_CRIT_FLAG | Call by reference | Type reference (TYPE) | S_MEC_ITEM_CHECKED | 'X' | MEC item Check Status | 20110414 | ||
| 2 | ITEM | Value transfer | Type reference (TYPE) | SMEC_ITEM | MEC Check Item | 20110407 | |||
| 3 | WANTED_ID | Call by reference | Type reference (TYPE) | S_MEC_ITEM_ID | MEC item ID | 20110407 |
Method GET_ITEM_WITH_STATUS_BY_ID on class CL_SMEC_UTILITY has no exception.
Method GET_IT_CPUT_LOCAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_IT_CPUT | Value transfer | Type reference (TYPE) | SMEC_T_CPUT | MEC CPU Test Table Type | 20110630 |
Method GET_IT_CPUT_LOCAL on class CL_SMEC_UTILITY has no exception.
Method GET_IT_CPUT_REMOTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_IT_CPUT | Value transfer | Type reference (TYPE) | SMEC_T_CPUT | MEC CPU Test Table Type | 20110630 |
Method GET_IT_CPUT_REMOTE on class CL_SMEC_UTILITY has no exception.
Method GET_IT_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ITEM_JOINED_LOC_REM | Call by reference | Type reference (TYPE) | SMEC_T_ITEM | MEC Check item table of all Checks | 20110406 |
Method GET_IT_ITEM on class CL_SMEC_UTILITY has no exception.
Method GET_IT_ITEM_LOCAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_IT_ITEM | Value transfer | Type reference (TYPE) | SMEC_T_ITEM | MEC Check item table of all Checks | 20110204 |
Method GET_IT_ITEM_LOCAL on class CL_SMEC_UTILITY has no exception.
Method GET_IT_ITEM_REMOTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_IT_ITEM | Value transfer | Type reference (TYPE) | SMEC_T_ITEM | MEC Check item table of all Checks | 20110419 |
Method GET_IT_ITEM_REMOTE on class CL_SMEC_UTILITY has no exception.
Method GET_IT_PROF_LOCAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_IT_PROF | Value transfer | Type reference (TYPE) | SMEC_T_PROF_PARAM | MEC Profile Parameter Data Table Type | 20110426 |
Method GET_IT_PROF_LOCAL on class CL_SMEC_UTILITY has no exception.
Method GET_IT_PROF_REMOTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_IT_PROF | Value transfer | Type reference (TYPE) | SMEC_T_PROF_PARAM | MEC Profile Parameter Data Table Type | 20110426 |
Method GET_IT_PROF_REMOTE on class CL_SMEC_UTILITY has no exception.
Method GET_SERVER_LIST Signature
Method GET_SERVER_LIST on class CL_SMEC_UTILITY has no parameter.
Method GET_SERVER_LIST on class CL_SMEC_UTILITY has no exception.
Method GET_SNAP_DATE_TIME Signature
Method GET_SNAP_DATE_TIME on class CL_SMEC_UTILITY has no parameter.
Method GET_SNAP_DATE_TIME on class CL_SMEC_UTILITY has no exception.
Method NAVIGATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DEST | Call by reference | Type reference (TYPE) | S_MEC_ITEM_RFC_DEST_NAME | MEC item RFC Destination Name | 20110607 | |||
| 2 | ID | Call by reference | Type reference (TYPE) | S_MEC_ITEM_ID | MEC item ID | 20110609 | |||
| 3 | PARAM | Call by reference | Type reference (TYPE) | S_MEC_ITEM_NAVCODE | MEC item Navigation Code for Button | 20110609 |
Method NAVIGATE on class CL_SMEC_UTILITY has no exception.
Method PAR_RECEIVED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_TASK | Call by reference | Type reference (TYPE) | CLIKE | 20110204 |
Method PAR_RECEIVED on class CL_SMEC_UTILITY has no exception.
Method PERFORM_ALL_CHECKS Signature
Method PERFORM_ALL_CHECKS on class CL_SMEC_UTILITY has no parameter.
Method PERFORM_ALL_CHECKS on class CL_SMEC_UTILITY has no exception.
Method PERFORM_SINGLE_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_CI | Call by reference | Object reference (TYPE REF TO) | IF_SMEC_UTILITY | SMEC Utility Check Item Methods | 20110203 |
Method PERFORM_SINGLE_CHECK on class CL_SMEC_UTILITY has no exception.
Method PROF_RECEIVED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_TASK | Call by reference | Type reference (TYPE) | CLIKE | 20110426 |
Method PROF_RECEIVED on class CL_SMEC_UTILITY has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 731 |