단위 환산
call function 'UNIT_CONVERSION_SIMPLE'
exporting
input = p_old_value
no_type_check = 'X'
round_sign = ' ' " 설정하면 라운드됨.
unit_in = p_old_unit
unit_out = p_new_unit
importing
add_const = l_add_const
decimals = l_decimals
denominator = l_denominator
numerator = l_numerator
output = p_new_value
exceptions
conversion_not_found = 1
division_by_zero = 2
input_invalid = 3
output_invalid = 4
overflow = 5
type_invalid = 6
units_missing = 7
unit_in_not_found = 8
unit_out_not_found = 9
others = 10.
exporting
input = p_old_value
no_type_check = 'X'
round_sign = ' ' " 설정하면 라운드됨.
unit_in = p_old_unit
unit_out = p_new_unit
importing
add_const = l_add_const
decimals = l_decimals
denominator = l_denominator
numerator = l_numerator
output = p_new_value
exceptions
conversion_not_found = 1
division_by_zero = 2
input_invalid = 3
output_invalid = 4
overflow = 5
type_invalid = 6
units_missing = 7
unit_in_not_found = 8
unit_out_not_found = 9
others = 10.
댓글
댓글 쓰기