SAP ABAP Class /BCV/CL_FND_UNIT_CONV (Unit Conversion)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   CA-EPT-BCV (Application Component) Business Context Viewer
     /BCV/FND (Package) BCV Foundation Layer
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  /BCV/IF_EX_FND_UNIT_CONV Interface for BAdI: /BCV/FND_UNIT_CONV 20090119
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20090119
Properties
Class /BCV/CL_FND_UNIT_CONV  
Short Description Unit Conversion    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /BCV/FND   BCV Foundation Layer 
Created 20090119   SAP 
Last change 20130531   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)
Interfaces
# Interface Abstract Final Description Created on
1 /BCV/IF_EX_FND_UNIT_CONV Interface for BAdI: /BCV/FND_UNIT_CONV 20090119
2 IF_BADI_INTERFACE Tag Interface for BAdIs 20090119
Friends
Class /BCV/CL_FND_UNIT_CONV has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_BADI_NAME Static Attribute Private Type reference (TYPE) STRING '/BCV/FND_UNIT_CONV' Name of Unit Conversion BAdI 20090306
2 GT_BADI_BUFFER Static Attribute Private Type reference (TYPE) TY_T_BADI_BUFFER BAdI Buffer 20090119
3 GT_UNITX_BUFFER Static Attribute Private Type reference (TYPE) TY_T_UNITX_BUFFER Unit Decimals Buffer 20090120
4 GT_UNIT_BUFFER Static Attribute Private Type reference (TYPE) TY_T_UNIT_BUFFER Unit Details Buffer 20120808
5 GT_UNIT_TEXT_BUFFER Static Attribute Private Type reference (TYPE) TY_T_UNIT_TEXT_BUFFER Unit Text Buffer 20120808
Methods
# Method Level Visibility Method type Description Created on
1 CONVERT_FALLBACK Instance method Public Method 20090119
2 CONVERT_QUAN Static method Public Method Convert Quantity into Target Unit of Measure 20090119
3 GET_AUX_VARIABLE Static method Private Method Get Auxiliary Variable for Given Unit of Measure 20090120
4 GET_NO_OF_DECIMALS Static method Public Method Get Number of Decimals for Given Unit of Measure 20110304
5 GET_UNIT_DETAILS Static method Public Method Get Details for Given Unit of Measure 20120808
Events
Class /BCV/CL_FND_UNIT_CONV has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_S_BADI_BUFFER Private See coding BAdI Buffer Structure Type 20090119 BEGIN OF ty_s_badi_buffer, appl TYPE /bcv/fnd_appl, badi TYPE REF TO /bcv/fnd_unit_conv, END OF ty_s_badi_buffer
2 TY_S_UNIT Public Type reference (TYPE) T006 Unit Details Structure Type 20120808
3 TY_S_UNITX_BUFFER Private See coding Unit Decimals Buffer Structure Type 20090120 BEGIN OF ty_s_unitx_buffer, unit TYPE /bcv/fnd_unit, dec TYPE i, value TYPE REF TO data, END OF ty_s_unitx_buffer
4 TY_S_UNIT_TEXT Public Type reference (TYPE) T006A Unit Text Structure Type 20120808
5 TY_T_BADI_BUFFER Private See coding BAdI Buffer Table Type 20090119 ty_t_badi_buffer TYPE STANDARD TABLE OF ty_s_badi_buffer
6 TY_T_UNITX_BUFFER Private See coding Unit Decimals Buffer Table Type 20090120 ty_t_unitx_buffer TYPE STANDARD TABLE OF ty_s_unitx_buffer
7 TY_T_UNIT_BUFFER Private See coding Unit Details Buffer Table Type 20120808 ty_t_unit_buffer TYPE SORTED TABLE OF ty_s_unit WITH UNIQUE KEY msehi
8 TY_T_UNIT_TEXT_BUFFER Private See coding Unit Text Buffer Table Type 20120808 ty_t_unit_text_buffer TYPE SORTED TABLE OF ty_s_unit_text WITH UNIQUE KEY spras msehi WITH NON-UNIQUE SORTED KEY sec_key COMPONENTS spras mseh3
Method Signatures

Method CONVERT_FALLBACK Signature

Method CONVERT_FALLBACK on class /BCV/CL_FND_UNIT_CONV has no parameter.
Method CONVERT_FALLBACK on class /BCV/CL_FND_UNIT_CONV has no exception.

Method CONVERT_QUAN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_QUANTITY Call by reference Type reference (TYPE) NUMERIC Quantity 20090119
2 Importing IV_APPLICATION Call by reference Type reference (TYPE) /BCV/FND_APPL Application Name 20090119
3 Importing IV_MATERIAL Call by reference Type reference (TYPE) CSEQUENCE Conversion Material 20090119
4 Importing IV_ORIG_UNIT Call by reference Type reference (TYPE) /BCV/FND_UNIT Original Unit of Measure 20090119
5 Importing IV_TARGET_UNIT Call by reference Type reference (TYPE) /BCV/FND_TARGET_UNIT Target Unit of Measure 20090119
# Exception Resumable Description Created on
1 /BCV/CX_FND_UNIT_CONV Exception Class for Unit Conversion 20090119

Method GET_AUX_VARIABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UNIT Call by reference Type reference (TYPE) /BCV/FND_UNIT Unit of Measure 20090120
2 Returning RR_VARIABLE Value transfer Object reference (TYPE REF TO) DATA Auxiliary Variable 20090120
# Exception Resumable Description Created on
1 /BCV/CX_FND_UNIT_CONV Exception Class for Unit Conversion 20090120

Method GET_NO_OF_DECIMALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UNIT Call by reference Type reference (TYPE) /BCV/FND_UNIT Unit of Measure 20110304
2 Returning RV_DECIMALS Value transfer Type reference (TYPE) INT4 Number of Decimals 20110304

Method GET_NO_OF_DECIMALS on class /BCV/CL_FND_UNIT_CONV has no exception.

Method GET_UNIT_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_DETAILS Call by reference Type reference (TYPE) TY_S_UNIT Unit Details 20120808
2 Exporting ES_TEXT Call by reference Type reference (TYPE) TY_S_UNIT_TEXT Unit Texts 20120808
3 Importing IV_EXTERNAL Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Unit in External Format 20120808
4 Importing IV_UNIT Call by reference Type reference (TYPE) /BCV/FND_UNIT Unit of Measure 20120808

Method GET_UNIT_DETAILS on class /BCV/CL_FND_UNIT_CONV has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 702