SAP ABAP Class CL_RSDHA_CURRENCY_TRANSLATION (Currency Translation)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷ BW-WHM-DST-HAP (Application Component) HANA Analysis Process
⤷ RSDHA (Package) SAP HANA Analysis in BW
⤷ BW-WHM-DST-HAP (Application Component) HANA Analysis Process
⤷ RSDHA (Package) SAP HANA Analysis in BW
Properties
Class | CL_RSDHA_CURRENCY_TRANSLATION | |
Short Description | Currency Translation | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | RSDHA | |
Program status | ||
Category | 0 | |
Package | RSDHA | SAP HANA Analysis in BW |
Created | 20120824 | SAP |
Last change | 20140121 | 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_CHAR_UTILITIES | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
3 | CL_RSDHAM_FIELD_DESCR | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
4 | CL_RSDHA_UTILITIES | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
5 | IF_RSDHAM_FIELD_DESCR | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
6 | IF_RSDHA_TYPES | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
7 | RSZ | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
8 | RZD1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSDHA_CURRENCY_TRANSLATION has no interface implemented.
Friends
Class CL_RSDHA_CURRENCY_TRANSLATION has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | N_R_FIELD_DESCR | Instance attribute | Public | Object reference (TYPE REF TO) | IF_RSDHAM_FIELD_DESCR | Data Field (Properties) | 20120917 | ||
2 | N_SOURCE_CURRENCY_NAME | Instance attribute | Public | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Source Currency Name | 20130630 | ||
3 | N_S_CURTRT | Instance attribute | Public | Type reference (TYPE) | TN_S_CURTRT | Currency Translation Types | 20120914 | ||
4 | P_R_VAR_CONTAINER | Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSAN_RT_VAR_CONTAINER | Variable Container | 20120914 |
Methods
Events
Class CL_RSDHA_CURRENCY_TRANSLATION has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TN_S_CURTRT | Public | See coding | Currency Translation | 20120918 | BEGIN OF tn_s_curtrt.
INCLUDE TYPE rscurtrt.
TYPES:
tcurvnam TYPE rzd1_s_globv-vnam, "Variable for Target Currency
vdatevnam TYPE rzd1_s_globv-vnam, "Variable for Valid-From Date
rtypevnam TYPE rzd1_s_globv-vnam, "Variable for Exchange Rate
scurvnam TYPE rzd1_s_globv-vnam, "Variable for Source Currency
timeshiftvnam TYPE rzd1_s_globv-vnam, "Variable for Time Shift
tcurfieldnm TYPE if_rsdham_field_descr=>tn_name, "Field Name for Target Currency
scurfieldnm TYPE if_rsdham_field_descr=>tn_name, "Field Name for Source Currency
datfieldnm TYPE if_rsdham_field_descr=>tn_name, "Field Name for Valid-From Date
ratefieldnm TYPE if_rsdham_field_descr=>tn_name. "Field Name for Exchange Rate
TYPES: END OF tn_s_curtrt
|
|
2 | TN_TH_CURTRT | Public | See coding | Currency Translation (Table Type) | 20120918 | tn_th_curtrt TYPE HASHED TABLE OF tn_s_curtrt WITH UNIQUE KEY cttnm
|
Method Signatures
Method ADD_VARIABLES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_R_VAR_CONTAINER | Call by reference | Object reference (TYPE REF TO) | CL_RSAN_RT_VAR_CONTAINER | Variable Container | 20120914 |
Method ADD_VARIABLES on class CL_RSDHA_CURRENCY_TRANSLATION has no exception.
Method CHECK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | Return Value | 20120918 | ||
2 | Exporting | E_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20120918 | ||
3 | Importing | I_TH_FIELD | Call by reference | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_TH_FIELD_DESCR | Data Field (Properties) - Table Type | 20120918 |
Method CHECK on class CL_RSDHA_CURRENCY_TRANSLATION has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_CTTNM | Call by reference | Type reference (TYPE) | RSCURTRT-CTTNM | StrMember: Name of Currency Conversion Type | 20120913 | ||
2 | Importing | I_R_FIELD_DESCR | Call by reference | Object reference (TYPE REF TO) | IF_RSDHAM_FIELD_DESCR | Data Field (Properties) | 20120917 | ||
3 | Importing | I_SOURCE_CURRENCY_NAME | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Source Currency Name | 20130630 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSDHA_MSG | Exception with generic message | 20120914 | |
2 | CX_RSDHA_OBJECT_NOT_FOUND | Exception: Object not found | 20120913 |
Method GET_EXCHANGE_RATE_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_EXCHANGE_RATE_TYPE | Value transfer | Type reference (TYPE) | KURST_CURR | Exchange rate type | 20120914 |
Method GET_EXCHANGE_RATE_TYPE on class CL_RSDHA_CURRENCY_TRANSLATION has no exception.
Method GET_SOURCE_CURRENCY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_SOURCE_CURRENCY | Value transfer | Type reference (TYPE) | WAERS | Currency Key | 20120914 |
Method GET_SOURCE_CURRENCY on class CL_RSDHA_CURRENCY_TRANSLATION has no exception.
Method GET_TARGET_CURRENCY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_TARGET_CURRENCY | Value transfer | Type reference (TYPE) | WAERS | Currency Key | 20120914 |
Method GET_TARGET_CURRENCY on class CL_RSDHA_CURRENCY_TRANSLATION has no exception.
Method GET_VALID_FROM_DATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_VALID_FROM_DATE | Value transfer | Type reference (TYPE) | RSDATEFROM | Valid-From Date | 20120914 |
Method GET_VALID_FROM_DATE on class CL_RSDHA_CURRENCY_TRANSLATION has no exception.
Method P_ADD_VARIABLES Signature
Method P_ADD_VARIABLES on class CL_RSDHA_CURRENCY_TRANSLATION has no parameter.
Method P_ADD_VARIABLES on class CL_RSDHA_CURRENCY_TRANSLATION has no exception.
Method P_CHECK_PARAMETER_SELECTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_S_GLOBV | Call by reference | Type reference (TYPE) | RZD1_S_GLOBV | 20120914 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSDHA_MSG | Exception with generic message | 20120914 |
Method P_GET_FIELD_NAMES Signature
Method P_GET_FIELD_NAMES on class CL_RSDHA_CURRENCY_TRANSLATION has no parameter.
Method P_GET_FIELD_NAMES on class CL_RSDHA_CURRENCY_TRANSLATION has no exception.
Method P_GET_VARIABLES Signature
Method P_GET_VARIABLES on class CL_RSDHA_CURRENCY_TRANSLATION has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSDHA_MSG | Exception with generic message | 20120914 | |
2 | CX_RSDHA_OBJECT_NOT_FOUND | Exception: Object not found | 20120914 |
Method READ_CURTRT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_CTTNM | Call by reference | Type reference (TYPE) | RSCURTRT-CTTNM | StrMember: Name of Currency Conversion Type | 20130618 | ||
2 | Returning | R_S_CURTRT | Value transfer | Type reference (TYPE) | TN_S_CURTRT | Currency Translation Types | 20130618 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSDHA_OBJECT_NOT_FOUND | Exception: Object not found | 20130618 |
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 740 |