SAP ABAP Class CL_GRFN_FDT_AMOUNT_CONV (FDT Service: Conversion of amounts w. currencycode)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷ GRC (Application Component) Governance, Risk and Compliance
⤷ GRFN_AUTO_MONITOR (Package) GRC Automated Monitoring Framework
⤷ GRC (Application Component) Governance, Risk and Compliance
⤷ GRFN_AUTO_MONITOR (Package) GRC Automated Monitoring Framework
Properties
Class | CL_GRFN_FDT_AMOUNT_CONV | |
Short Description | FDT Service: Conversion of amounts w. currencycode | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | GRFN_AUTO_MONITOR | GRC Automated Monitoring Framework |
Created | 20100430 | SAP |
Last change | 20141106 | |
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 | IF_FDT_TYPES | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_GRFN_FDT_AMOUNT_CONV has no interface implemented.
Friends
Class CL_GRFN_FDT_AMOUNT_CONV has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GTH_CURR_EXIST | Static Attribute | Private | Type reference (TYPE) | TH_CURR_EXIST | 20100430 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONVERT_FROM_CURR | Static method | Public | Method | Convert from external to internal format | 20100430 |
2 | CONVERT_TO_CURR | Static method | Public | Method | Convert from internal to external format | 20100430 |
3 | GET_CURRENCY_DECIMALS | Static method | Public | Method | Get number of decimals for currency (TCURX), default 2 | 20100430 |
4 | SHIFT | Static method | Private | Method | Shift number by specified digits | 20100430 |
Events
Class CL_GRFN_FDT_AMOUNT_CONV has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | AMOUNT_INTERNAL | Public | See coding | 20100430 | |
||
2 | S_CURR_EXIST | Private | See coding | 20100430 | |
||
3 | TH_CURR_EXIST | Private | See coding | 20100430 | |
Method Signatures
Method CONVERT_FROM_CURR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_AMOUNT_CURR | Call by reference | Type reference (TYPE) | GRFN_FDT_AMOUNT_CURR | Amount shifted and therefore with 2 decimals of currency | 20100430 | ||
2 | Importing | IV_CURRENCY | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_AMOUNT-CURRENCY | BRFplus Currency | 20100430 | ||
3 | Returning | RV_AMOUNT | Value transfer | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_AMOUNT-NUMBER | BRFplus Decimal Number | 20100430 |
Method CONVERT_FROM_CURR on class CL_GRFN_FDT_AMOUNT_CONV has no exception.
Method CONVERT_TO_CURR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EV_AMOUNT_CURR | Call by reference | Type reference (TYPE) | GRFN_FDT_AMOUNT_CURR | Amount shifted by and therefore with 2 decimal places | 20100430 | ||
2 | Exporting | EV_AMOUNT_INT | Call by reference | Type reference (TYPE) | AMOUNT_INTERNAL | Amount shifted by and therefore without decimal places | 20100430 | ||
3 | Importing | IS_AMOUNT | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_AMOUNT | 20100430 |
Method CONVERT_TO_CURR on class CL_GRFN_FDT_AMOUNT_CONV has no exception.
Method GET_CURRENCY_DECIMALS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_CURRENCY | Call by reference | Type reference (TYPE) | SYCURR | Currency Key | 20100430 | ||
2 | Importing | IV_RELATIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Get relative to default 2 decimals | 20100430 | |
3 | Returning | RV_DECIMALS | Value transfer | Type reference (TYPE) | CURRDEC | Number of decimal places | 20100430 |
Method GET_CURRENCY_DECIMALS on class CL_GRFN_FDT_AMOUNT_CONV has no exception.
Method SHIFT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_AMOUNT | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_AMOUNT-NUMBER | 20100430 | |||
2 | Importing | IV_DECIMALS | Call by reference | Type reference (TYPE) | I | 20100430 | |||
3 | Returning | RV_SHIFTED_AMOUNT | Value transfer | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_AMOUNT-NUMBER | 20100430 |
Method SHIFT on class CL_GRFN_FDT_AMOUNT_CONV has no exception.
History
Last changed by/on | SAP | 20141106 |
SAP Release Created in | 600 |