SAP /BCV/CL_FND_UNIT_CONV OO Class - Unit Conversion
/BCV/CL_FND_UNIT_CONV is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class /BCV/CL_FND_UNIT_CONV including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Interface Implementation
This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class /BCV/IF_EX_FND_UNIT_CONVInterface Implementation
This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class IF_BADI_INTERFACEMethod list of /BCV/CL_FND_UNIT_CONV SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
| Method Name | Description | Visability |
| CONVERT_FALLBACK | Public | |
| CALL METHOD /bcv/cl_fnd_unit_conv=>CONVERT_FALLBACK...more details | ||
| CONVERT_QUAN | Convert Quantity into Target Unit of Measure | Public |
| CALL METHOD /bcv/cl_fnd_unit_conv=>CONVERT_QUAN...more details | ||
| GET_AUX_VARIABLE | Get Auxiliary Variable for Given Unit of Measure | Private |
| CALL METHOD /bcv/cl_fnd_unit_conv=>GET_AUX_VARIABLE...more details | ||
| GET_NO_OF_DECIMALS | Get Number of Decimals for Given Unit of Measure | Public |
| CALL METHOD /bcv/cl_fnd_unit_conv=>GET_NO_OF_DECIMALS...more details | ||
| GET_UNIT_DETAILS | Get Details for Given Unit of Measure | Public |
| CALL METHOD /bcv/cl_fnd_unit_conv=>GET_UNIT_DETAILS...more details | ||
/BCV/CL_FND_UNIT_CONV attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
| Name | Level | Description | Initial Value | Type | Visability |
| GC_BADI_NAME | Static Attribute | Name of Unit Conversion BAdI | '/BCV/FND_UNIT_CONV' | LIKE STRING | Private |
| GT_BADI_BUFFER | Static Attribute | BAdI Buffer | LIKE TY_T_BADI_BUFFER | Private | |
| GT_UNITX_BUFFER | Static Attribute | Unit Decimals Buffer | LIKE TY_T_UNITX_BUFFER | Private | |
| GT_UNIT_BUFFER | Static Attribute | Unit Details Buffer | LIKE TY_T_UNIT_BUFFER | Private | |
| GT_UNIT_TEXT_BUFFER | Static Attribute | Unit Text Buffer | LIKE TY_T_UNIT_TEXT_BUFFER | Private |
/BCV/CL_FND_UNIT_CONV types
TY_S_BADI_BUFFER - BAdI Buffer Structure TypeTY_S_UNIT - Unit Details Structure Type
TY_S_UNITX_BUFFER - Unit Decimals Buffer Structure Type
TY_S_UNIT_TEXT - Unit Text Structure Type
TY_T_BADI_BUFFER - BAdI Buffer Table Type
TY_T_UNITX_BUFFER - Unit Decimals Buffer Table Type
TY_T_UNIT_BUFFER - Unit Details Buffer Table Type
TY_T_UNIT_TEXT_BUFFER - Unit Text Buffer Table Type
Links to Related Class(s)
/BCV/CL_...Full list of available SAP object classes
Search for further information about these or an SAP related objects