SAP ABAP Class CL_SIW_TEXT_FORMATTER (Helper class converting/formatting texts)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ESI-SIW (Application Component) Service Implementation Workbench
⤷
S_SIW_PRODUCTION (Package) Service Implementation Production
⤷
⤷
Properties
| Class | CL_SIW_TEXT_FORMATTER | |
| Short Description | Helper class converting/formatting texts | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_SIW_PRODUCTION | Service Implementation Production |
| Created | 20100416 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SIW_TEXT_FORMATTER has no forward declaration.
Interfaces
Class CL_SIW_TEXT_FORMATTER has no interface implemented.
Friends
Class CL_SIW_TEXT_FORMATTER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | I | 255 | Maximum length of text line | 20100416 | ||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_SIW_TEXT_FORMATTER | Singleton Instance | 20100416 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Formats text table (CHAR255) to a xml string | 20100416 | |
| 2 | Instance method | Public | Method | Formats xml string to text table (CHAR255) | 20100416 | |
| 3 | Static method | Public | Method | Returns the singleton instance | 20100416 |
Events
Class CL_SIW_TEXT_FORMATTER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_TEXT | Public | See coding | 20100416 | TY_TEXT TYPE STANDARD TABLE OF char255 WITH DEFAULT KEY
|
Method Signatures
Method FORMAT_TEXT_TO_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TAB_TEXT | Call by reference | Type reference (TYPE) | TY_TEXT | Table with text lines (255 char) | 20100416 | |||
| 2 | R_XML | Value transfer | Type reference (TYPE) | STRING | xml string | 20100416 |
Method FORMAT_TEXT_TO_XML on class CL_SIW_TEXT_FORMATTER has no exception.
Method FORMAT_XML_TO_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_XML | Call by reference | Type reference (TYPE) | STRING | xml string | 20100416 | |||
| 2 | R_TAB_TEXT | Value transfer | Type reference (TYPE) | TY_TEXT | Table with text lines (255 char) | 20100416 |
Method FORMAT_XML_TO_TEXT on class CL_SIW_TEXT_FORMATTER has no exception.
Method S_GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_SIW_TEXT_FORMATTER | Helper class converting/formatting texts | 20100416 |
Method S_GET_INSTANCE on class CL_SIW_TEXT_FORMATTER has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 703 |