SAP ABAP Class CL_RSDHA_QUANTITY_CONVERSION (Quantity 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
⤷ BW-WHM-DST-HAP (Application Component) HANA Analysis Process
⤷ RSDHA (Package) SAP HANA Analysis in BW
Properties
Class | CL_RSDHA_QUANTITY_CONVERSION | |
Short Description | Quantity Conversion | |
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... |
Interfaces
Class CL_RSDHA_QUANTITY_CONVERSION has no interface implemented.
Friends
Class CL_RSDHA_QUANTITY_CONVERSION 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) | 20120918 | ||
2 | N_SOURCE_UNIT_NAME | Instance attribute | Public | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Source Unit name (logical name) | 20130630 | ||
3 | N_S_UOMTRT | Instance attribute | Public | Type reference (TYPE) | TN_S_UOMTRT | 20120918 | |||
4 | P_R_VAR_CONTAINER | Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSAN_RT_VAR_CONTAINER | Variable Container | 20120918 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_VARIABLES | Instance method | Public | Method | Add variables to container | 20120918 |
2 | CHECK | Instance method | Public | Method | Check Quantity Conversion Type | 20120918 |
3 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20120824 |
4 | GET_SOURCE_UOM | Instance method | Public | Method | Get Source Unit of Measure | 20120918 |
5 | GET_TARGET_UOM | Instance method | Public | Method | Get Target Unit of Measure | 20120918 |
6 | P_ADD_VARIABLES | Instance method | Private | Method | Add Variables to container | 20120918 |
7 | P_CHECK_PARAMETER_SELECTION | Instance method | Private | Method | Get Variables | 20120918 |
8 | P_GET_FIELD_NAMES | Instance method | Private | Method | Get Field Names | 20120918 |
9 | P_GET_VARIABLES | Instance method | Private | Method | Get Variables | 20120918 |
10 | READ_UOMTRT | Static method | Public | Method | Read Metadata of Quantity Conversion | 20130618 |
Events
Class CL_RSDHA_QUANTITY_CONVERSION has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TN_S_UOMTRT | Public | See coding | Quantity Conversion Type | 20120918 | BEGIN OF tn_s_uomtrt.
INCLUDE TYPE rsuomtrt.
TYPES:
tunitvnam TYPE rzd1_s_globv-vnam, "Variable for Target Unit of Measure
sunitvnam TYPE rzd1_s_globv-vnam, "Variable for Source Unit of Measure
tfieldnm TYPE if_rsdham_field_descr=>tn_name, "Field Name for Target Unit of Measure
sfieldnm TYPE if_rsdham_field_descr=>tn_name. "Field Name for Source Unit of Measure
TYPES: END OF tn_s_uomtrt
|
|
2 | TN_TH_UOMTRT | Public | See coding | Quantity Conversion Type (Table Type) | 20120918 | tn_th_uomtrt TYPE HASHED TABLE OF tn_s_uomtrt WITH UNIQUE KEY uomnm
|
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 | 20120918 |
Method ADD_VARIABLES on class CL_RSDHA_QUANTITY_CONVERSION 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_QUANTITY_CONVERSION has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_R_FIELD_DESCR | Call by reference | Object reference (TYPE REF TO) | IF_RSDHAM_FIELD_DESCR | Data Field (Properties) | 20120918 | ||
2 | Importing | I_SOURCE_UNIT_NAME | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Source Unit Name | 20130630 | ||
3 | Importing | I_UOMNM | Call by reference | Type reference (TYPE) | RSUOMTRT-UOMNM | Name of Quantity Conversion Type | 20120918 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSDHA_MSG | Exception with generic message | 20120918 | |
2 | CX_RSDHA_OBJECT_NOT_FOUND | Exception: Object not found | 20120918 |
Method GET_SOURCE_UOM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_SOURCE_UOM | Value transfer | Type reference (TYPE) | RSDBUNIT | Different Types of Units of Measurement (BW) | 20120918 |
Method GET_SOURCE_UOM on class CL_RSDHA_QUANTITY_CONVERSION has no exception.
Method GET_TARGET_UOM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_TARGET_UOM | Value transfer | Type reference (TYPE) | RSDBUNIT | Different Types of Units of Measurement (BW) | 20120918 |
Method GET_TARGET_UOM on class CL_RSDHA_QUANTITY_CONVERSION has no exception.
Method P_ADD_VARIABLES Signature
Method P_ADD_VARIABLES on class CL_RSDHA_QUANTITY_CONVERSION has no parameter.
Method P_ADD_VARIABLES on class CL_RSDHA_QUANTITY_CONVERSION 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 | 20120918 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSDHA_MSG | Exception with generic message | 20120918 |
Method P_GET_FIELD_NAMES Signature
Method P_GET_FIELD_NAMES on class CL_RSDHA_QUANTITY_CONVERSION has no parameter.
Method P_GET_FIELD_NAMES on class CL_RSDHA_QUANTITY_CONVERSION has no exception.
Method P_GET_VARIABLES Signature
Method P_GET_VARIABLES on class CL_RSDHA_QUANTITY_CONVERSION has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSDHA_MSG | Exception with generic message | 20120918 | |
2 | CX_RSDHA_OBJECT_NOT_FOUND | Exception: Object not found | 20120918 |
Method READ_UOMTRT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_UOMNM | Call by reference | Type reference (TYPE) | RSUOMTRT-UOMNM | Quantity Conversion Type | 20130618 | ||
2 | Returning | R_S_UOMTRT | Value transfer | Type reference (TYPE) | TN_S_UOMTRT | Quantity Conversion Type | 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 |