SAP ABAP Class CL_EAMWS_SAFETY_TEXT (Find and create safety texts)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
PM (Application Component) Plant Maintenance
⤷
EAMWS_RISK (Package) Integration with Risk Management
⤷
⤷
Properties
| Class | CL_EAMWS_SAFETY_TEXT | |
| Short Description | Find and create safety texts | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | EAMWS_RISK | Integration with Risk Management |
| Created | 20100906 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_EAMWS_SAFETY_TEXT has no forward declaration.
Interfaces
Class CL_EAMWS_SAFETY_TEXT has no interface implemented.
Friends
Class CL_EAMWS_SAFETY_TEXT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_EAMWS_SAFETY_TEXT | Find and create safety texts | 20100906 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add a safety text to the given text | 20100907 | |
| 2 | Instance method | Public | Method | Get safety texts from longtext | 20100906 | |
| 3 | Instance method | Public | Method | Remove all existing safety texts | 20100927 | |
| 4 | Instance method | Public | Method | Remove an existing safety text | 20100907 | |
| 5 | Static method | Public | Method | Get Singleton | 20100906 |
Events
Class CL_EAMWS_SAFETY_TEXT has no event.
Types
Class CL_EAMWS_SAFETY_TEXT has no local type.
Method Signatures
Method ADD_SAFETY_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TEXT | Call by reference | Type reference (TYPE) | EMTY_BAPI_ALM_TEXT_LINES | Existing text | 20100907 | |||
| 2 | IT_SAFETY_TEXT | Call by reference | Type reference (TYPE) | EMTY_BAPI_ALM_TEXT_LINES | Text to add | 20100907 | |||
| 3 | IV_SAFETY_TEXT_NUMBER | Call by reference | Type reference (TYPE) | EAMWS_SAFETY_TEXT_NUMBER | Safety text number | 20100927 | |||
| 4 | IV_SAFETY_TEXT_TITLE | Call by reference | Type reference (TYPE) | TEXT40 | Title of the safety text | 20100927 |
Method ADD_SAFETY_TEXT on class CL_EAMWS_SAFETY_TEXT has no exception.
Method GET_SAFETY_TEXTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SAFETY_TEXT_INFO | Call by reference | Type reference (TYPE) | EAMWS_T_SAFETY_TEXT | List of safety texts of a text | 20100907 | |||
| 2 | EV_MAX_TEXT_NUMBER | Call by reference | Type reference (TYPE) | NUMC2 | Two digit number | 20100907 | |||
| 3 | IT_TEXT | Call by reference | Type reference (TYPE) | EMTY_BAPI_ALM_TEXT_LINES | Import Longtext | 20100906 |
Method GET_SAFETY_TEXTS on class CL_EAMWS_SAFETY_TEXT has no exception.
Method REMOVE_ALL_SAFETY_TEXTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TEXT | Call by reference | Type reference (TYPE) | EMTY_BAPI_ALM_TEXT_LINES | Text Rows for ALM BAPIs | 20100927 |
Method REMOVE_ALL_SAFETY_TEXTS on class CL_EAMWS_SAFETY_TEXT has no exception.
Method REMOVE_SAFETY_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TEXT | Call by reference | Type reference (TYPE) | EMTY_BAPI_ALM_TEXT_LINES | Text Rows for ALM BAPIs | 20100907 | |||
| 2 | IV_NUMBER | Call by reference | Type reference (TYPE) | NUMC2 | IS-H: General Field with Length 2, for Function Modules | 20100907 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100907 |
Method S_GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_EAMWS_SAFETY_TEXT | Find and create safety texts | 20100906 |
Method S_GET_INSTANCE on class CL_EAMWS_SAFETY_TEXT has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 606 |