SAP ABAP Class CL_RSDHAR_UNIT_CONVERSION (Runtime: Unit Conversion)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-WHM-DST-HAP (Application Component) HANA Analysis Process
⤷
RSDHA (Package) SAP HANA Analysis in BW
⤷
⤷
Properties
| Class | CL_RSDHAR_UNIT_CONVERSION | |
| Short Description | Runtime: Unit Conversion | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSDHA | SAP HANA Analysis in BW |
| Created | 20120823 | SAP |
| Last change | 20140121 | 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) | |
| 3 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 4 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 5 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 6 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 7 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_RSDHAR_UNIT_CONVERSION has no interface implemented.
Friends
Class CL_RSDHAR_UNIT_CONVERSION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_T_FIELD_MAPPING | Field mapping (table) | 20120823 | |||
| 2 | Constant | Private | Type reference (TYPE) | STRING | '.OUTPUT' | Suffix for Output Unit | 20130527 | ||
| 3 | Constant | Private | See coding | 20120827 | |||||
| 4 | Constant | Private | See coding | 20120827 | |||||
| 5 | Constant | Private | See coding | 20120827 | |||||
| 6 | Instance attribute | Private | Type reference (TYPE) | D | Key Date | 20121006 | |||
| 7 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCSCENARIO | CalculationScenario | 20120823 | |||
| 8 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCVIEW | View for source data | 20120823 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | CL_RSDHAR_UNIT_CONVERSION=>TN_TH_FIELD_CURR_TRAN | Field property: Currency translation (table) | 20120823 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | CL_RSDHAR_UNIT_CONVERSION=>TN_TH_FIELD_QUAN_CONV | Field property: Quantity conversion (table) | 20120823 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_T_FIELD | Fields | 20120824 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | STRING | Prefix for view names | 20120824 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Add Remaining Source fields to Vertical Union | 20120824 | |
| 2 | Instance method | Private | Method | Add Aggregation | 20120824 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20120823 | |
| 4 | Instance method | Public | Method | Create CalcViews | 20120823 | |
| 5 | Instance method | Private | Method | Add Currency Translation Views to Calculation Scenario | 20120823 | |
| 6 | Instance method | Private | Method | Add Quantity Conversion Views to Calculation Scenario | 20120823 | |
| 7 | Instance method | Private | Method | Set Constant Reference Date | 20120914 | |
| 8 | Instance method | Private | Method | Set Source Currency | 20120914 | |
| 9 | Instance method | Private | Method | Set Source Unit of Measure | 20120918 | |
| 10 | Instance method | Private | Method | Set Target Currency | 20120914 | |
| 11 | Instance method | Private | Method | Set Target Unit of Measure | 20120918 |
Events
Class CL_RSDHAR_UNIT_CONVERSION has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TN_S_FIELD_CURR_TRAN | Public | See coding | Currency Translation | 20120914 | BEGIN OF tn_s_field_curr_tran,
name TYPE if_rsdham_field_descr=>tn_name,
cttnm TYPE rscurtrt-cttnm,
object TYPE REF TO cl_rsdha_currency_translation,
END OF tn_s_field_curr_tran
|
|
| 2 | TN_S_FIELD_QUAN_CONV | Public | See coding | Quantity Conversion | 20120918 | BEGIN OF tn_s_field_quan_conv,
name TYPE if_rsdham_field_descr=>tn_name,
uomnm TYPE rsuomtrt-uomnm,
object TYPE REF TO cl_rsdha_quantity_conversion,
END OF tn_s_field_quan_conv
|
|
| 3 | TN_TH_FIELD_CURR_TRAN | Public | See coding | Currency Translation (Table Type) | 20120914 | tn_th_field_curr_tran TYPE HASHED TABLE OF tn_s_field_curr_tran WITH UNIQUE KEY name
|
|
| 4 | TN_TH_FIELD_QUAN_CONV | Public | See coding | Quantity Conversion (Table Type) | 20120918 | tn_th_field_quan_conv TYPE HASHED TABLE OF tn_s_field_quan_conv WITH UNIQUE KEY name
|
Method Signatures
Method ADD_AGGREGATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_VERTICAL_UNION | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_UNION | Projection View in Calculation Scenario | 20120824 | |||
| 2 | I_T_FIELD | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_T_FIELD | Output fields of source infoprovider | 20120824 | |||
| 3 | R_R_AGGREGATION | Value transfer | Object reference (TYPE REF TO) | CL_RSDD_CS_AGGREGATION | Calculation View vom Typ UNION | 20120824 |
Method ADD_AGGREGATION on class CL_RSDHAR_UNIT_CONVERSION has no exception.
Method ADD_FIELDS_TO_VERTICAL_UNION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_R_VERTICAL_UNION | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_UNION | Calculation View vom Typ UNION | 20120824 | |||
| 2 | I_R_SOURCE_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCVIEW | Projection View in Calculation Scenario | 20120824 | |||
| 3 | I_T_FIELD | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_T_FIELD | Output fields of source infoprovider | 20120824 |
Method ADD_FIELDS_TO_VERTICAL_UNION on class CL_RSDHAR_UNIT_CONVERSION has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_KEYDATE | Call by reference | Type reference (TYPE) | D | Key Date | 20121006 | |||
| 2 | I_TH_FIELD_CURR_TRAN | Call by reference | Type reference (TYPE) | CL_RSDHAR_UNIT_CONVERSION=>TN_TH_FIELD_CURR_TRAN | Field property: Currency translation (table) | 20120823 | |||
| 3 | I_TH_FIELD_QUAN_CONV | Call by reference | Type reference (TYPE) | CL_RSDHAR_UNIT_CONVERSION=>TN_TH_FIELD_QUAN_CONV | Field property: Quantity conversion (table) | 20120823 | |||
| 4 | I_T_FIELD | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_T_FIELD | Fields | 20120824 |
Method CONSTRUCTOR on class CL_RSDHAR_UNIT_CONVERSION has no exception.
Method CREATE_CALCVIEWS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_CALCSCENARIO | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCSCENARIO | Calculation Scenario | 20120823 | |||
| 2 | I_R_SOURCE_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCVIEW | View for source data | 20120823 | |||
| 3 | I_VIEW_PREFIX | Call by reference | Type reference (TYPE) | STRING | Prefix for view names | 20120824 | |||
| 4 | R_R_OUTPUT_VIEW | Value transfer | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCVIEW | Output View | 20120824 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception with generic message | 20130925 |
Method P_ADD_CURRENCY_TRANSLATIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_R_VERTICAL_UNION | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_UNION | Calculation View vom Typ UNION | 20120824 | |||
| 2 | C_T_FIELD | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_T_FIELD | Output fields of source infoprovider | 20120824 | |||
| 3 | I_R_SOURCE_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCVIEW | Projection View in Calculation Scenario | 20120823 | |||
| 4 | I_TH_FIELD_CURR_TRAN | Call by reference | Type reference (TYPE) | CL_RSDHAR_UNIT_CONVERSION=>TN_TH_FIELD_CURR_TRAN | Field property: Currency translation (table) | 20120823 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception with generic message | 20130925 |
Method P_ADD_QUANTITY_CONVERSIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_R_VERTICAL_UNION | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_UNION | Calculation View vom Typ UNION | 20120824 | |||
| 2 | C_T_FIELD | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_T_FIELD | Output fields of source infoprovider | 20120824 | |||
| 3 | I_R_SOURCE_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCVIEW | Projection View in Calculation Scenario | 20120823 | |||
| 4 | I_TH_FIELD_QUAN_CONV | Call by reference | Type reference (TYPE) | CL_RSDHAR_UNIT_CONVERSION=>TN_TH_FIELD_QUAN_CONV | Field property: Quantity Conversion (table) | 20120823 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception with generic message | 20130925 |
Method P_SET_REFERENCE_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_CURRENCY_TRANSLATION | Call by reference | Object reference (TYPE REF TO) | CL_RSDHA_CURRENCY_TRANSLATION | Currency Translation | 20120914 | |||
| 2 | I_R_UNIT_CONV_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_UNIT_CONV_VIEW | Calculation View for Unit Conversion | 20120914 |
Method P_SET_REFERENCE_DATE on class CL_RSDHAR_UNIT_CONVERSION has no exception.
Method P_SET_SOURCE_CURRENCY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_CURRENCY_TRANSLATION | Call by reference | Object reference (TYPE REF TO) | CL_RSDHA_CURRENCY_TRANSLATION | Currency Translation | 20120914 | |||
| 2 | I_R_UNIT_CONV_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_UNIT_CONV_VIEW | Calculation View for Unit Conversion | 20120914 |
Method P_SET_SOURCE_CURRENCY on class CL_RSDHAR_UNIT_CONVERSION has no exception.
Method P_SET_SOURCE_UOM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_QUANTITY_CONVERSION | Call by reference | Object reference (TYPE REF TO) | CL_RSDHA_QUANTITY_CONVERSION | Quantity Conversion | 20120918 | |||
| 2 | I_R_UNIT_CONV_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_UNIT_CONV_VIEW | Calculation View for Unit Conversion | 20120918 |
Method P_SET_SOURCE_UOM on class CL_RSDHAR_UNIT_CONVERSION has no exception.
Method P_SET_TARGET_CURRENCY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_CURRENCY_TRANSLATION | Call by reference | Object reference (TYPE REF TO) | CL_RSDHA_CURRENCY_TRANSLATION | Currency Translation | 20120914 | |||
| 2 | I_R_UNIT_CONV_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_UNIT_CONV_VIEW | Calculation View for Unit Conversion | 20120914 |
Method P_SET_TARGET_CURRENCY on class CL_RSDHAR_UNIT_CONVERSION has no exception.
Method P_SET_TARGET_UOM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_QUANTITY_CONVERSION | Call by reference | Object reference (TYPE REF TO) | CL_RSDHA_QUANTITY_CONVERSION | Quantity Conversion | 20120918 | |||
| 2 | I_R_UNIT_CONV_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_UNIT_CONV_VIEW | Calculation View for Unit Conversion | 20120918 |
Method P_SET_TARGET_UOM on class CL_RSDHAR_UNIT_CONVERSION has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |