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
⤷ 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 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | CL_ABAP_MATH | 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 | PARSE_EXP_TRAILING_SIGN | Constant | Private | Type reference (TYPE) | I | 23 | 20060222 | ||
2 | PARSE_INCOMPLETE_EXP | Constant | Private | Type reference (TYPE) | I | 22 | 20060222 | ||
3 | PARSE_INEXACT | Constant | Public | Type reference (TYPE) | I | 10 | Value Rounded | 20060222 | |
4 | PARSE_INVALID_CHAR | Constant | Private | Type reference (TYPE) | I | 20 | 20060217 | ||
5 | PARSE_INVALID_POSITION | Constant | Private | Type reference (TYPE) | I | 21 | 20080716 | ||
6 | PARSE_NO_MEMORY | Constant | Private | Type reference (TYPE) | I | 30 | 20060222 | ||
7 | PARSE_OK | Constant | Public | Type reference (TYPE) | I | 0 | Value Imported Successfully | 20060222 | |
8 | PARSE_OVERFLOW | Constant | Private | Type reference (TYPE) | I | 15 | 20060221 | ||
9 | PARSE_SYNTAX | Constant | Private | Type reference (TYPE) | I | 24 | 20060222 | ||
10 | PARSE_TOO_MANY_DPLACES | Constant | Private | Type reference (TYPE) | I | 25 | 20060427 | ||
11 | PARSE_UNDERFLOW | Constant | Public | Type reference (TYPE) | I | 11 | Value Rounded to Zero | 20060222 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONVERT_CURR_TO_DECFLOAT | Static method | Public | Method | Conversion from type CURR to DECFLOAT | 20090123 |
2 | CONVERT_DECFLOAT_TO_CURR | Static method | Public | Method | Conversion from type DECFLOAT to CURR | 20090123 |
3 | GET_DECIMAL_PLACES_FOR_CUKY | Static method | Public | Method | For old type CURR: Number of decimal places | 20090123 |
4 | READ_DECFLOAT | Static method | Private | Method | 20060217 | |
5 | READ_DECFLOAT16 | Static method | Public | Method | Import a DECFLOAT16 Value | 20060306 |
6 | READ_DECFLOAT34 | 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 | Importing | AMOUNT_CURR | Call by reference | Type reference (TYPE) | P | Betrag (DDIC-Typ CURR) | 20090123 | ||
2 | Returning | AMOUNT_DECFLOAT | Value transfer | Type reference (TYPE) | DECFLOAT34 | Betrag (Typ DECFLOAT34) | 20090123 | ||
3 | Importing | 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 | Exporting | AMOUNT_CURR | Call by reference | Type reference (TYPE) | P | Betrag (DDIC-Typ CURR) | 20090123 | ||
2 | Importing | AMOUNT_DECFLOAT | Call by reference | Type reference (TYPE) | DECFLOAT | Betrag (Typ DECFLOAT34) | 20090123 | ||
3 | Importing | CUKY | Call by reference | Type reference (TYPE) | SYCURR | Nicht-ISO-Währungsschlüssel | 20090123 | ||
4 | Exporting | ROUNDED | Call by reference | Type reference (TYPE) | ABAP_BOOL | Betrag musste gerundet werden | 20090123 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SY_CONVERSION_OVERFLOW | 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 | Importing | CUKY | Call by reference | Type reference (TYPE) | SYCURR | Nicht-ISO-Währungsschlüssel (für Typ CURR) | 20090123 | ||
2 | Returning | 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 | Changing | BUFFER | Call by reference | Type reference (TYPE) | CSEQUENCE | 20060217 | |||
2 | Importing | CURRKEY | Call by reference | Type reference (TYPE) | CSEQUENCE | Währungsschlüssel | 20060427 | ||
3 | Exporting | INVALID_CH_OFFSET | Call by reference | Type reference (TYPE) | I | Offset des ersten ungültigen Zeichens | 20060217 | ||
4 | Importing | OUTPUT_STYLE | Call by reference | Type reference (TYPE) | OUTPUTSTYLE | 20060427 | |||
5 | Exporting | RC | Call by reference | Type reference (TYPE) | I | Returncode | 20060217 | ||
6 | Exporting | 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 | Exporting | RC | Call by reference | Type reference (TYPE) | I | Returncode | 20060306 | ||
2 | Importing | STRING | Value transfer | Type reference (TYPE) | CSEQUENCE | Zeichendarstellung | 20060306 | ||
3 | Exporting | VALUE | Call by reference | Type reference (TYPE) | DECFLOAT16 | 20060306 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_ABAP_DECFLOAT_INVALID_CHAR | Unzulässiges Zeichen beim Einlesen eines DECFLOAT-Wertes | 20060306 | |
2 | CX_ABAP_DECFLOAT_PARSE_ERR | Fehler beim Einlesen eines DECFLOAT-Wertes | 20060306 | |
3 | CX_SY_CONVERSION_OVERFLOW | 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 | Exporting | RC | Call by reference | Type reference (TYPE) | I | Returncode | 20060217 | ||
2 | Importing | STRING | Call by reference | Type reference (TYPE) | CSEQUENCE | Zeichendarstellung | 20060217 | ||
3 | Exporting | VALUE | Call by reference | Type reference (TYPE) | DECFLOAT34 | 20060217 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_ABAP_DECFLOAT_INVALID_CHAR | Unzulässiges Zeichen beim Einlesen eines DECFLOAT-Wertes | 20060223 | |
2 | CX_ABAP_DECFLOAT_PARSE_ERR | Fehler beim Einlesen eines DECFLOAT-Wertes | 20060223 | |
3 | CX_SY_CONVERSION_OVERFLOW | System-Exception für Overflow bei Konvertierung | 20060221 |
History
Last changed by/on | SAP | 20090618 |
SAP Release Created in | 710 |