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
⤷
⤷
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 | Instance attribute | Public | Type reference (TYPE) | MEALERTS_CONFIG | Configuration for Alerts Monitored by CCMS | 20040205 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | MEALERTS_TYPE | 20040205 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20040205 | |
| 2 | Instance method | Public | Method | Compares Alerts to Alert Configuration | 20040205 | |
| 3 | Instance method | Public | Method | Get All Alerts for Deletion | 20040205 | |
| 4 | Instance method | Private | Method | Get Last Reported Alert | 20040205 | |
| 5 | Instance method | Public | Method | Restores Alerts Moved to mealerts_save | 20040304 | |
| 6 | Instance method | Private | Method | Gets All Alerts for Given Time Interval | 20040205 | |
| 7 | Instance method | Public | Method | Get All Alerts for All Devices by Configuration | 20040205 | |
| 8 | Instance method | Public | Method | Gets Single Alert | 20040205 | |
| 9 | Instance method | Public | Method | Get Configuration of Alerts | 20040205 | |
| 10 | Static method | Public | Method | Writes Alert to mealerts | 20040420 | |
| 11 | Instance method | Public | Method | Writes Restored Alerts to mealerts | 20040304 | |
| 12 | 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 | ALERT_AMOUNT | Value transfer | Type reference (TYPE) | ALERT_NUMBER | 20040205 | ||||
| 2 | ALERT_CONFIG | Value transfer | Type reference (TYPE) | MEALERTS_CONFIG | Configuration of MI Alerts | 20040205 | |||
| 3 | ALERT_MEASUREMENT | Value transfer | Type reference (TYPE) | MEALERTS_RESULT | Result of measurement | 20040205 | |||
| 4 | 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 | ALERT_CONFIG | Value transfer | Type reference (TYPE) | MEALERTS_CONFIG | Configuration of MI Alerts | 20040205 | |||
| 2 | ALERT_COUNT | Value transfer | Type reference (TYPE) | CHAR1 | Character Field Length = 10 | 20040205 | |||
| 3 | ALERT_DATE | Value transfer | Type reference (TYPE) | ALERT_DATE | 20040326 | ||||
| 4 | ALERT_NUM | Value transfer | Type reference (TYPE) | ATTRIBUTE_VALUE | 20040205 | ||||
| 5 | ALERT_SELECTION | Value transfer | Type reference (TYPE) | ALERT_SELECTION | 20040303 | ||||
| 6 | ALERT_STATUS | Value transfer | Type reference (TYPE) | ALERT_STATUS | Include: Ranges in Selektionsbedingungen | 20040323 | |||
| 7 | ALERT_TAB | Value transfer | Type reference (TYPE) | MEALERTS_TYPE | 20040205 | ||||
| 8 | 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 | ALERT_CONFIG | Call by reference | Type reference (TYPE) | MEALERTS_CONFIG | 20040205 | ||||
| 2 | ALERT_TAB | Value transfer | Type reference (TYPE) | MEALERTS_TYPE | 20040205 | ||||
| 3 | DEVICE_ID | Call by reference | Type reference (TYPE) | MEDEVGUID | Mobile Engine: Unique ID of Device | 20040205 | |||
| 4 | USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20040205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20040205 |
Method GET_ALERTS_FOR_RESTORE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ALERT_SELECTION | Value transfer | Type reference (TYPE) | ALERT_SELECTION | 20040304 | ||||
| 2 | ALERT_TAB | Value transfer | Type reference (TYPE) | MEALERTS_TYPE | 20040304 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20040304 | |||
| 2 | 20040304 |
Method GET_ALERTS_FOR_TIMELINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ALERT_CONFIG | Value transfer | Type reference (TYPE) | MEALERTS_CONFIG | 20040205 | ||||
| 2 | ALERT_TAB | Value transfer | Type reference (TYPE) | MEALERTS_TYPE | 20040205 | ||||
| 3 | DEVICE_ID | Value transfer | Type reference (TYPE) | MEDEVGUID | Mobile Engine: Unique ID of Device | 20040205 | |||
| 4 | USER_ID | Value transfer | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20040205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20040205 |
Method GET_ALERT_BY_CONFIGURATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ALERT_CONFIG | Value transfer | Type reference (TYPE) | MEALERTS_CONFIG | Configuration for Alerts monitored by CCMS | 20040205 | |||
| 2 | ALERT_SELECTION | Value transfer | Type reference (TYPE) | ALERT_SELECTION | 20040303 | ||||
| 3 | ALERT_TAB | Value transfer | Type reference (TYPE) | MEALERTS_TYPE | 20040205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20040219 | |||
| 2 | 20040205 |
Method GET_ALERT_BY_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ALERT | Value transfer | Type reference (TYPE) | MEALERTS_TYPE | Result of measurement | 20040205 | |||
| 2 | SEL_COND | Value transfer | Type reference (TYPE) | STRING | Selection | 20040217 | |||
| 3 | S_ALERTN | Call by reference | Type reference (TYPE) | ANY TABLE | Interface: Selection criteria | 20040301 | |||
| 4 | S_ALERT_DATE | Call by reference | Type reference (TYPE) | ANY TABLE | Interface: Selection criteria | 20040301 | |||
| 5 | S_ALERT_TIME | Call by reference | Type reference (TYPE) | ANY TABLE | Interface: Selection criteria | 20040301 | |||
| 6 | S_DEPLID | Call by reference | Type reference (TYPE) | ANY TABLE | Interface: Selection criteria | 20040301 | |||
| 7 | S_STATUS | Call by reference | Type reference (TYPE) | ANY TABLE | Interface: Selection criteria | 20040301 | |||
| 8 | S_USERID | Call by reference | Type reference (TYPE) | ANY TABLE | Interface: Selection criteria | 20040301 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20040205 |
Method GET_ALERT_CONFIGURATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ALERT_CONFIG | Value transfer | Type reference (TYPE) | MEALERTS_CONFIG | Configuration for Alerts monitored by CCMS | 20040303 | |||
| 2 | ALERT_NAME | Value transfer | Type reference (TYPE) | STRING | 20040205 | ||||
| 3 | ALERT_SELECTION | Value transfer | Type reference (TYPE) | ALERT_SELECTION | 20040303 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20040205 |
Method SET_ALERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTRIBUTE_NAME | Value transfer | Type reference (TYPE) | ATTRIBUTE_NAME | 20040420 | ||||
| 2 | ATTRIBUTE_VALUE | Value transfer | Type reference (TYPE) | ATTRIBUTE_VALUE | 20040420 | ||||
| 3 | DEPLID | Value transfer | Type reference (TYPE) | MEDEVGUID | Mobile Engine: Unique ID of Device | 20040420 | |||
| 4 | SOURCE_SYSTEM | Value transfer | Type reference (TYPE) | MI_SOURCE_SYSTEM | 20040420 | ||||
| 5 | USERID | Value transfer | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20040420 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20040421 | |||
| 2 | 20040421 |
Method SET_ALERTS_RESTORED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ALERT_TAB | Value transfer | Type reference (TYPE) | MEALERTS_TYPE | 20040304 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20040304 |
Method SET_INACTIVE_OR_DELETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ALERT_TAB | Value transfer | Type reference (TYPE) | MEALERTS_TYPE | 20040205 | ||||
| 2 | INACTIVE | Value transfer | Type reference (TYPE) | CHAR1 | Single-character flag | 20040205 | |||
| 3 | TABLE | Value transfer | Type reference (TYPE) | STRING | 20040503 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20040205 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 640 |