SAP ABAP Class CL_MI_ALERT (Central Class for Alerts)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-MOB (Application Component) SAP NetWeaver Mobile - Use subcomponents
⤷ S_ME_CCMS (Package) Mobile: Monitoring
⤷ BC-MOB (Application Component) SAP NetWeaver Mobile - Use subcomponents
⤷ S_ME_CCMS (Package) Mobile: Monitoring
Properties
Class | CL_MI_ALERT | |
Short Description | Central Class for Alerts | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | S_ME_CCMS | Mobile: Monitoring |
Created | 20040205 | SAP |
Last change | 20110908 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_MI_ALERT has no forward declaration.
Interfaces
Class CL_MI_ALERT has no interface implemented.
Friends
Class CL_MI_ALERT has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ALERT_CONFIG | Instance attribute | Public | Type reference (TYPE) | MEALERTS_CONFIG | Configuration for Alerts Monitored by CCMS | 20040205 | ||
2 | ALERT_TAB | Instance attribute | Public | Type reference (TYPE) | MEALERTS_TYPE | 20040205 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20040205 |
2 | DO_MEASUREMENT | Instance method | Public | Method | Compares Alerts to Alert Configuration | 20040205 |
3 | GET_ALERTS_FOR_DELETE | Instance method | Public | Method | Get All Alerts for Deletion | 20040205 |
4 | GET_ALERTS_FOR_LASTSYNC | Instance method | Private | Method | Get Last Reported Alert | 20040205 |
5 | GET_ALERTS_FOR_RESTORE | Instance method | Public | Method | Restores Alerts Moved to mealerts_save | 20040304 |
6 | GET_ALERTS_FOR_TIMELINE | Instance method | Private | Method | Gets All Alerts for Given Time Interval | 20040205 |
7 | GET_ALERT_BY_CONFIGURATION | Instance method | Public | Method | Get All Alerts for All Devices by Configuration | 20040205 |
8 | GET_ALERT_BY_ID | Instance method | Public | Method | Gets Single Alert | 20040205 |
9 | GET_ALERT_CONFIGURATION | Instance method | Public | Method | Get Configuration of Alerts | 20040205 |
10 | SET_ALERT | Static method | Public | Method | Writes Alert to mealerts | 20040420 |
11 | SET_ALERTS_RESTORED | Instance method | Public | Method | Writes Restored Alerts to mealerts | 20040304 |
12 | SET_INACTIVE_OR_DELETE | Instance method | Public | Method | Set Given Alerts as Inactive or Delete Given Alerts | 20040205 |
Events
Class CL_MI_ALERT has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | ALERTS_AMOUNT | Public | See coding | 20040205 | begin of alerts_amount,
attribute_name type attribute_name,
alert_type(1) type c,
amount type i,
end of alerts_amount
|
||
2 | ALERT_DATE | Public | See coding | 20040326 | alert_date type range of udatum
|
||
3 | ALERT_NUMBER | Public | See coding | 20040302 | alert_number type standard table of alerts_amount
|
||
4 | ALERT_SELECTION | Public | See coding | 20040303 | alert_selection type range of attribute_name
|
||
5 | ALERT_STATUS | Public | See coding | 20040323 | alert_status type range of mealert_stat
|
||
6 | ALERT_TIME | Public | See coding | 20040326 | alert_time type range of uzeit
|
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_MI_ALERT has no parameter.
Method CONSTRUCTOR on class CL_MI_ALERT has no exception.
Method DO_MEASUREMENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ALERT_AMOUNT | Value transfer | Type reference (TYPE) | ALERT_NUMBER | 20040205 | |||
2 | Importing | ALERT_CONFIG | Value transfer | Type reference (TYPE) | MEALERTS_CONFIG | Configuration of MI Alerts | 20040205 | ||
3 | Exporting | ALERT_MEASUREMENT | Value transfer | Type reference (TYPE) | MEALERTS_RESULT | Result of measurement | 20040205 | ||
4 | Importing | ALERT_TAB | Value transfer | Type reference (TYPE) | MEALERTS_TYPE | 20040205 |
Method DO_MEASUREMENT on class CL_MI_ALERT has no exception.
Method GET_ALERTS_FOR_DELETE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ALERT_CONFIG | Value transfer | Type reference (TYPE) | MEALERTS_CONFIG | Configuration of MI Alerts | 20040205 | ||
2 | Importing | ALERT_COUNT | Value transfer | Type reference (TYPE) | CHAR1 | Character Field Length = 10 | 20040205 | ||
3 | Importing | ALERT_DATE | Value transfer | Type reference (TYPE) | ALERT_DATE | 20040326 | |||
4 | Exporting | ALERT_NUM | Value transfer | Type reference (TYPE) | ATTRIBUTE_VALUE | 20040205 | |||
5 | Importing | ALERT_SELECTION | Value transfer | Type reference (TYPE) | ALERT_SELECTION | 20040303 | |||
6 | Importing | ALERT_STATUS | Value transfer | Type reference (TYPE) | ALERT_STATUS | Include: Ranges in Selektionsbedingungen | 20040323 | ||
7 | Exporting | ALERT_TAB | Value transfer | Type reference (TYPE) | MEALERTS_TYPE | 20040205 | |||
8 | Importing | ALERT_TIME | Value transfer | Type reference (TYPE) | ALERT_TIME | 20040326 |
Method GET_ALERTS_FOR_DELETE on class CL_MI_ALERT has no exception.
Method GET_ALERTS_FOR_LASTSYNC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ALERT_CONFIG | Call by reference | Type reference (TYPE) | MEALERTS_CONFIG | 20040205 | |||
2 | Changing | ALERT_TAB | Value transfer | Type reference (TYPE) | MEALERTS_TYPE | 20040205 | |||
3 | Importing | DEVICE_ID | Call by reference | Type reference (TYPE) | MEDEVGUID | Mobile Engine: Unique ID of Device | 20040205 | ||
4 | Importing | USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20040205 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_RELEVANT_ALERTS | 20040205 |
Method GET_ALERTS_FOR_RESTORE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ALERT_SELECTION | Value transfer | Type reference (TYPE) | ALERT_SELECTION | 20040304 | |||
2 | Exporting | ALERT_TAB | Value transfer | Type reference (TYPE) | MEALERTS_TYPE | 20040304 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | DB_UPDATE_FAILED | 20040304 | ||
2 | NO_ALERTS_FOUND | 20040304 |
Method GET_ALERTS_FOR_TIMELINE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ALERT_CONFIG | Value transfer | Type reference (TYPE) | MEALERTS_CONFIG | 20040205 | |||
2 | Changing | ALERT_TAB | Value transfer | Type reference (TYPE) | MEALERTS_TYPE | 20040205 | |||
3 | Importing | DEVICE_ID | Value transfer | Type reference (TYPE) | MEDEVGUID | Mobile Engine: Unique ID of Device | 20040205 | ||
4 | Importing | USER_ID | Value transfer | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20040205 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_RELEVANT_ALERTS | 20040205 |
Method GET_ALERT_BY_CONFIGURATION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ALERT_CONFIG | Value transfer | Type reference (TYPE) | MEALERTS_CONFIG | Configuration for Alerts monitored by CCMS | 20040205 | ||
2 | Importing | ALERT_SELECTION | Value transfer | Type reference (TYPE) | ALERT_SELECTION | 20040303 | |||
3 | Exporting | ALERT_TAB | Value transfer | Type reference (TYPE) | MEALERTS_TYPE | 20040205 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_ALERTS_FOUND | 20040219 | ||
2 | NO_ALERT_CONFIG_FOUND | 20040205 |
Method GET_ALERT_BY_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ALERT | Value transfer | Type reference (TYPE) | MEALERTS_TYPE | Result of measurement | 20040205 | ||
2 | Importing | SEL_COND | Value transfer | Type reference (TYPE) | STRING | Selection | 20040217 | ||
3 | Importing | S_ALERTN | Call by reference | Type reference (TYPE) | ANY TABLE | Interface: Selection criteria | 20040301 | ||
4 | Importing | S_ALERT_DATE | Call by reference | Type reference (TYPE) | ANY TABLE | Interface: Selection criteria | 20040301 | ||
5 | Importing | S_ALERT_TIME | Call by reference | Type reference (TYPE) | ANY TABLE | Interface: Selection criteria | 20040301 | ||
6 | Importing | S_DEPLID | Call by reference | Type reference (TYPE) | ANY TABLE | Interface: Selection criteria | 20040301 | ||
7 | Importing | S_STATUS | Call by reference | Type reference (TYPE) | ANY TABLE | Interface: Selection criteria | 20040301 | ||
8 | Importing | S_USERID | Call by reference | Type reference (TYPE) | ANY TABLE | Interface: Selection criteria | 20040301 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_ALERT_FOR_SELECTION | 20040205 |
Method GET_ALERT_CONFIGURATION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ALERT_CONFIG | Value transfer | Type reference (TYPE) | MEALERTS_CONFIG | Configuration for Alerts monitored by CCMS | 20040303 | ||
2 | Importing | ALERT_NAME | Value transfer | Type reference (TYPE) | STRING | 20040205 | |||
3 | Importing | ALERT_SELECTION | Value transfer | Type reference (TYPE) | ALERT_SELECTION | 20040303 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_ALERT_CONFIGURATION | 20040205 |
Method SET_ALERT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ATTRIBUTE_NAME | Value transfer | Type reference (TYPE) | ATTRIBUTE_NAME | 20040420 | |||
2 | Importing | ATTRIBUTE_VALUE | Value transfer | Type reference (TYPE) | ATTRIBUTE_VALUE | 20040420 | |||
3 | Importing | DEPLID | Value transfer | Type reference (TYPE) | MEDEVGUID | Mobile Engine: Unique ID of Device | 20040420 | ||
4 | Importing | SOURCE_SYSTEM | Value transfer | Type reference (TYPE) | MI_SOURCE_SYSTEM | 20040420 | |||
5 | Importing | USERID | Value transfer | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20040420 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MI_PARAMETER_MISSING | 20040421 | ||
2 | CX_MI_UPDATE_FAILED | 20040421 |
Method SET_ALERTS_RESTORED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ALERT_TAB | Value transfer | Type reference (TYPE) | MEALERTS_TYPE | 20040304 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | DB_UPDATE_FAILED | 20040304 |
Method SET_INACTIVE_OR_DELETE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ALERT_TAB | Value transfer | Type reference (TYPE) | MEALERTS_TYPE | 20040205 | |||
2 | Importing | INACTIVE | Value transfer | Type reference (TYPE) | CHAR1 | Single-character flag | 20040205 | ||
3 | Importing | TABLE | Value transfer | Type reference (TYPE) | STRING | 20040503 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | DB_UPDATE_FAILED | 20040205 |
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 640 |