SAP ABAP Class IF_WD_CONVERSION_UTILS (Conversion Routines)
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_WDR_CONVERSION_UTILS | Conversion Routines | 20030924 |
Properties
| Class | IF_WD_CONVERSION_UTILS | |
| Short Description | Conversion Routines | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20030924 | SAP |
| Last change | 20070911 | 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 IF_WD_CONVERSION_UTILS has no interface implemented.
Friends
Class IF_WD_CONVERSION_UTILS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'TYPE=WDY_BOOLEAN' | Web Dynpro Boolean Type | 20030924 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | 20030924 | ||
| 2 | Static method | Public | Method | Converts String to Value | 20030924 | |
| 3 | Static method | Public | Method | Checks Whether a Variable Is "Boolean" | 20030924 | |
| 4 | Static method | Public | Method | Checks Whether a Type Is "Boolean" | 20030924 | |
| 5 | Static method | Public | Method | Internal "Boolean" Test | 20030924 | |
| 6 | Static method | Public | Method | Converts String to Integer | 20030924 | |
| 7 | Static method | Public | Method | Converts Value to String | 20030924 | |
| 8 | Static method | Public | Method | 20030924 |
Events
Class IF_WD_CONVERSION_UTILS has no event.
Types
Class IF_WD_CONVERSION_UTILS has no local type.
Method Signatures
Method DATE_2_XML_SCHEMA_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DATE_INTERNAL | Value transfer | Type reference (TYPE) | D | 20030924 | ||||
| 2 | R_DATE_XML_SCHEMA | Value transfer | Type reference (TYPE) | STRING | 20030924 |
Method DATE_2_XML_SCHEMA_DATE on class IF_WD_CONVERSION_UTILS has no exception.
Method FROM_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTRIBUTE_INFO | Call by reference | Type reference (TYPE) | WDR_CONTEXT_ATTRIBUTE_INFO | Meta-Information für ein Attribute eines Nodes eines Context | 20040908 | |||
| 2 | CLIENT_CONVERTER | Call by reference | Object reference (TYPE REF TO) | IF_WD_CLIENT_CONVERSION_UTIL | Konvertierungsroutinen | 20041216 | |||
| 3 | DATA | Call by reference | Type reference (TYPE) | DATA | zu füllendes Datum | 20030924 | |||
| 4 | IN | Call by reference | Type reference (TYPE) | STRING | Eingabestring | 20030924 | |||
| 5 | IS_NULL | Call by reference | Type reference (TYPE) | WDY_BOOLEAN | Ersatz für echten boolschen Typ: 'X' == wahr '' == falsch | 20060123 | |||
| 6 | NUM_DECIMALS | Call by reference | Type reference (TYPE) | I | Anzahl Dezimalstellen | 20030924 | |||
| 7 | REFERENCE_TYPE | Call by reference | Type reference (TYPE) | C | Q: Menge, C: Währung | 20030924 | |||
| 8 | REFERENCE_VALUE | Call by reference | Type reference (TYPE) | C | Referenz z.B. bei Währungsfeldern | 20030924 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Konvertierungsfehler | 20040602 |
Method IS_BOOLEAN_BY_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_BOOLEAN | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20030924 | ||||
| 2 | VALUE | Call by reference | Type reference (TYPE) | ANY | 20030924 |
Method IS_BOOLEAN_BY_DATA on class IF_WD_CONVERSION_UTILS has no exception.
Method IS_BOOLEAN_BY_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_BOOLEAN | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20030924 | ||||
| 2 | TYPE_NAME | Call by reference | Type reference (TYPE) | ANY | 20030924 |
Method IS_BOOLEAN_BY_NAME on class IF_WD_CONVERSION_UTILS has no exception.
Method IS_BOOLEAN_BY_TYPEDESCR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_BOOLEAN | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20030924 | ||||
| 2 | TYPE_DESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Run-Time Type Identification | 20030924 |
Method IS_BOOLEAN_BY_TYPEDESCR on class IF_WD_CONVERSION_UTILS has no exception.
Method TO_INTEGER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IN | Call by reference | Type reference (TYPE) | STRING | Eingabestring | 20030924 | |||
| 2 | OUT | Value transfer | Type reference (TYPE) | I | Ausgabe-Integer | 20030924 |
Method TO_INTEGER on class IF_WD_CONVERSION_UTILS has no exception.
Method TO_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTRIBUTE_INFO | Call by reference | Type reference (TYPE) | WDR_CONTEXT_ATTRIBUTE_INFO | 20030924 | ||||
| 2 | CLIENT_CONVERTER | Call by reference | Object reference (TYPE REF TO) | IF_WD_CLIENT_CONVERSION_UTIL | Konvertierungsroutinen | 20041216 | |||
| 3 | FORMATTING_INFO | Call by reference | Object reference (TYPE REF TO) | WDY_ATTRIBUTE_FORMAT_PROP | nur Ausgabeparameter! | 20060724 | |||
| 4 | IS_NULL | Call by reference | Type reference (TYPE) | WDY_BOOLEAN | ABAP_FALSE | Ersatz für echten boolschen Typ: 'X' == wahr '' == falsch | 20050727 | ||
| 5 | NUM_DECIMALS | Call by reference | Type reference (TYPE) | I | -1 | Anzahl Dezimalstellen | 20030924 | ||
| 6 | OUTPUT | Value transfer | Type reference (TYPE) | STRING | Ausgabestring | 20030924 | |||
| 7 | REFERENCE_TYPE | Call by reference | Type reference (TYPE) | C | Referenztyp (Q: Quantity, C: Currency) | 20030924 | |||
| 8 | REFERENCE_VALUE | Call by reference | Type reference (TYPE) | C | Referenz (Währung oder Mengeneinheit) | 20030924 | |||
| 9 | VALUE | Call by reference | Type reference (TYPE) | ANY | Eingabewert | 20030924 | |||
| 10 | VALUE_TYPE | Call by reference | Type reference (TYPE) | STRING | Datentyp, falls bekannt | 20030924 |
Method TO_STRING on class IF_WD_CONVERSION_UTILS has no exception.
Method XML_SCHEMA_DATE_2_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DATE_XML_SCHEMA | Value transfer | Type reference (TYPE) | STRING | 20030924 | ||||
| 2 | R_DATE_INTERNAL | Value transfer | Type reference (TYPE) | D | 20030924 |
Method XML_SCHEMA_DATE_2_DATE on class IF_WD_CONVERSION_UTILS has no exception.
History
| Last changed by/on | SAP | 20070911 |
| SAP Release Created in |