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_CONV

Interface Implementation

This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class IF_BADI_INTERFACE

Method 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 NameDescriptionVisability
CONVERT_FALLBACKPublic
CALL METHOD /bcv/cl_fnd_unit_conv=>CONVERT_FALLBACK...more details

CONVERT_QUANConvert Quantity into Target Unit of MeasurePublic
CALL METHOD /bcv/cl_fnd_unit_conv=>CONVERT_QUAN...more details

GET_AUX_VARIABLEGet Auxiliary Variable for Given Unit of MeasurePrivate
CALL METHOD /bcv/cl_fnd_unit_conv=>GET_AUX_VARIABLE...more details

GET_NO_OF_DECIMALSGet Number of Decimals for Given Unit of MeasurePublic
CALL METHOD /bcv/cl_fnd_unit_conv=>GET_NO_OF_DECIMALS...more details

GET_UNIT_DETAILSGet Details for Given Unit of MeasurePublic
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.

NameLevelDescriptionInitial ValueTypeVisability
GC_BADI_NAMEStatic AttributeName of Unit Conversion BAdI'/BCV/FND_UNIT_CONV'LIKE
STRING
Private
GT_BADI_BUFFERStatic AttributeBAdI BufferLIKE
TY_T_BADI_BUFFER
Private
GT_UNITX_BUFFERStatic AttributeUnit Decimals BufferLIKE
TY_T_UNITX_BUFFER
Private
GT_UNIT_BUFFERStatic AttributeUnit Details BufferLIKE
TY_T_UNIT_BUFFER
Private
GT_UNIT_TEXT_BUFFERStatic AttributeUnit Text BufferLIKE
TY_T_UNIT_TEXT_BUFFER
Private




/BCV/CL_FND_UNIT_CONV types

TY_S_BADI_BUFFER - BAdI Buffer Structure Type
TY_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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!