SAP ABAP Class CL_ABAP_DECFLOAT (Utilities for DECFLOAT Types)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SABP (Package) ABAP Runtime Environment
⤷
⤷
Properties
| Class | CL_ABAP_DECFLOAT | |
| Short Description | Utilities for DECFLOAT Types | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 0 | |
| Package | SABP | ABAP Runtime Environment |
| Created | 20060217 | SAP |
| Last change | 20090618 | 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) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_ABAP_DECFLOAT has no interface implemented.
Friends
Class CL_ABAP_DECFLOAT 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 | 23 | 20060222 | |||
| 2 | Constant | Private | Type reference (TYPE) | I | 22 | 20060222 | |||
| 3 | Constant | Public | Type reference (TYPE) | I | 10 | Value Rounded | 20060222 | ||
| 4 | Constant | Private | Type reference (TYPE) | I | 20 | 20060217 | |||
| 5 | Constant | Private | Type reference (TYPE) | I | 21 | 20080716 | |||
| 6 | Constant | Private | Type reference (TYPE) | I | 30 | 20060222 | |||
| 7 | Constant | Public | Type reference (TYPE) | I | 0 | Value Imported Successfully | 20060222 | ||
| 8 | Constant | Private | Type reference (TYPE) | I | 15 | 20060221 | |||
| 9 | Constant | Private | Type reference (TYPE) | I | 24 | 20060222 | |||
| 10 | Constant | Private | Type reference (TYPE) | I | 25 | 20060427 | |||
| 11 | Constant | Public | Type reference (TYPE) | I | 11 | Value Rounded to Zero | 20060222 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Conversion from type CURR to DECFLOAT | 20090123 | |
| 2 | Static method | Public | Method | Conversion from type DECFLOAT to CURR | 20090123 | |
| 3 | Static method | Public | Method | For old type CURR: Number of decimal places | 20090123 | |
| 4 | Static method | Private | Method | 20060217 | ||
| 5 | Static method | Public | Method | Import a DECFLOAT16 Value | 20060306 | |
| 6 | Static method | Public | Method | Import a DECFLOAT34 Value | 20060217 |
Events
Class CL_ABAP_DECFLOAT has no event.
Types
Class CL_ABAP_DECFLOAT has no local type.
Method Signatures
Method CONVERT_CURR_TO_DECFLOAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AMOUNT_CURR | Call by reference | Type reference (TYPE) | P | Betrag (DDIC-Typ CURR) | 20090123 | |||
| 2 | AMOUNT_DECFLOAT | Value transfer | Type reference (TYPE) | DECFLOAT34 | Betrag (Typ DECFLOAT34) | 20090123 | |||
| 3 | CUKY | Call by reference | Type reference (TYPE) | SYCURR | Nicht-ISO-Währungsschlüssel | 20090123 |
Method CONVERT_CURR_TO_DECFLOAT on class CL_ABAP_DECFLOAT has no exception.
Method CONVERT_DECFLOAT_TO_CURR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AMOUNT_CURR | Call by reference | Type reference (TYPE) | P | Betrag (DDIC-Typ CURR) | 20090123 | |||
| 2 | AMOUNT_DECFLOAT | Call by reference | Type reference (TYPE) | DECFLOAT | Betrag (Typ DECFLOAT34) | 20090123 | |||
| 3 | CUKY | Call by reference | Type reference (TYPE) | SYCURR | Nicht-ISO-Währungsschlüssel | 20090123 | |||
| 4 | ROUNDED | Call by reference | Type reference (TYPE) | ABAP_BOOL | Betrag musste gerundet werden | 20090123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception für Overflow bei Konvertierung | 20090123 |
Method GET_DECIMAL_PLACES_FOR_CUKY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CUKY | Call by reference | Type reference (TYPE) | SYCURR | Nicht-ISO-Währungsschlüssel (für Typ CURR) | 20090123 | |||
| 2 | DECIMAL_PLACES | Value transfer | Type reference (TYPE) | INT1 | Anzahl der Nachkommastellen | 20090123 |
Method GET_DECIMAL_PLACES_FOR_CUKY on class CL_ABAP_DECFLOAT has no exception.
Method READ_DECFLOAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BUFFER | Call by reference | Type reference (TYPE) | CSEQUENCE | 20060217 | ||||
| 2 | CURRKEY | Call by reference | Type reference (TYPE) | CSEQUENCE | Währungsschlüssel | 20060427 | |||
| 3 | INVALID_CH_OFFSET | Call by reference | Type reference (TYPE) | I | Offset des ersten ungültigen Zeichens | 20060217 | |||
| 4 | OUTPUT_STYLE | Call by reference | Type reference (TYPE) | OUTPUTSTYLE | 20060427 | ||||
| 5 | RC | Call by reference | Type reference (TYPE) | I | Returncode | 20060217 | |||
| 6 | VALUE | Call by reference | Type reference (TYPE) | NUMERIC | 20060217 |
Method READ_DECFLOAT on class CL_ABAP_DECFLOAT has no exception.
Method READ_DECFLOAT16 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RC | Call by reference | Type reference (TYPE) | I | Returncode | 20060306 | |||
| 2 | STRING | Value transfer | Type reference (TYPE) | CSEQUENCE | Zeichendarstellung | 20060306 | |||
| 3 | VALUE | Call by reference | Type reference (TYPE) | DECFLOAT16 | 20060306 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unzulässiges Zeichen beim Einlesen eines DECFLOAT-Wertes | 20060306 | ||
| 2 | Fehler beim Einlesen eines DECFLOAT-Wertes | 20060306 | ||
| 3 | System-Exception für Overflow bei Konvertierung | 20060306 |
Method READ_DECFLOAT34 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RC | Call by reference | Type reference (TYPE) | I | Returncode | 20060217 | |||
| 2 | STRING | Call by reference | Type reference (TYPE) | CSEQUENCE | Zeichendarstellung | 20060217 | |||
| 3 | VALUE | Call by reference | Type reference (TYPE) | DECFLOAT34 | 20060217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unzulässiges Zeichen beim Einlesen eines DECFLOAT-Wertes | 20060223 | ||
| 2 | Fehler beim Einlesen eines DECFLOAT-Wertes | 20060223 | ||
| 3 | System-Exception für Overflow bei Konvertierung | 20060221 |
History
| Last changed by/on | SAP | 20090618 |
| SAP Release Created in | 710 |