CLAS CL_UOM_CONVERSION

Source Link
Open in ADT

Home
Previous Object: CL_SYSTEM_UUID
Next Object: CL_UOM_DIM_MAINTENANCE

Status: RELEASED

Public
Type ty_addko TYPE cl_uom_conversion=>ty_addko
Type ty_andec TYPE cl_uom_conversion=>ty_andec
Type ty_decan TYPE cl_uom_conversion=>ty_decan
Type ty_dimid TYPE cl_uom_conversion=>ty_dimid
Type ty_dzaehl TYPE cl_uom_conversion=>ty_dzaehl
Type ty_exp10 TYPE cl_uom_conversion=>ty_exp10
Type ty_famunit TYPE cl_uom_conversion=>ty_famunit
Type ty_msehi TYPE MEINS
Type ty_nennr TYPE cl_uom_conversion=>ty_nennr
Type ty_buffer_ctr TYPE BAPI_SIGN
Type ty_context_switch TYPE BOOLEAN
Static Method create
  IMPORTING
    buffer_control TYPE BAPI_SIGN Optional
    context_switch TYPE BOOLEAN Optional
  RETURNING uom TYPE cl_uom_conversion
Method constructor
  IMPORTING
    buffer_control TYPE BAPI_SIGN Optional
    context_switch TYPE BOOLEAN Optional
Method si_unit_get
  IMPORTING
    dimension TYPE cl_uom_conversion=>ty_dimid Optional
    unit TYPE MEINS Optional
  EXPORTING
    si_unit TYPE MEINS
  EXCEPTIONS dimension_not_found
  EXCEPTIONS unit_not_found
  EXCEPTIONS si_unit_not_found
Method unit_conversion_simple
  IMPORTING
    input TYPE any
    no_type_check TYPE any Optional
    round_sign TYPE any Optional
    unit_in TYPE MEINS Optional
    unit_out TYPE MEINS Optional
  EXPORTING
    add_const TYPE any
    decimals TYPE any
    denominator TYPE any
    numerator TYPE any
    output TYPE any
  EXCEPTIONS conversion_not_found
  EXCEPTIONS division_by_zero
  EXCEPTIONS input_invalid
  EXCEPTIONS output_invalid
  EXCEPTIONS overflow
  EXCEPTIONS type_invalid
  EXCEPTIONS units_missing
  EXCEPTIONS unit_in_not_found
  EXCEPTIONS unit_out_not_found
Method unit_parameters_get
  IMPORTING
    unit TYPE MEINS
  EXPORTING
    decimals TYPE cl_uom_conversion=>ty_andec
    dimension TYPE cl_uom_conversion=>ty_dimid
    numerator TYPE cl_uom_conversion=>ty_dzaehl
    denominator TYPE cl_uom_conversion=>ty_nennr
    exponent TYPE cl_uom_conversion=>ty_exp10
    add_const TYPE cl_uom_conversion=>ty_addko
    decan TYPE cl_uom_conversion=>ty_decan
    famunit TYPE cl_uom_conversion=>ty_famunit
  EXCEPTIONS unit_not_found

Exists on:
754true
750false
702false

Bug reports and ideas welcome
Made using abaplint.app