The Function Module UNIT_CONVERSION_SIMPLE_CONTEXT () is a standard Function Module in SAP ERP and is part of the function group SCV0 within the package SZME.
Function Module | UNIT_CONVERSION_SIMPLE_CONTEXT |
Short Text | |
Function Group | SCV0 |
Package | SZME |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
INPUT | LIKE | Input Value | ||
NO_TYPE_CHECK | LIKE | 'X' | Conversion factor type check | |
ROUND_SIGN | LIKE | SPACE | Rounding flag (+ up, - down, X comm.) | |
UNIT_IN | LIKE | T006-MSEHI | SPACE | Unit of input value |
UNIT_OUT | LIKE | T006-MSEHI | SPACE | Unit of output value |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
ADD_CONST | LIKE | additive constant for conversion | ||
DECIMALS | LIKE | Number of decimal places for rounding | ||
DENOMINATOR | LIKE | Denominator for conversion | ||
NUMERATOR | LIKE | Numerator for conversion | ||
OUTPUT | LIKE | Output Value |
This function module does not define any CHANGING parameters.
This function module does not define any TABLE parameters.
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
CONVERSION_NOT_FOUND | Conversion factor could not be determined |
DIVISION_BY_ZERO | Division by zero trapped |
INPUT_INVALID | Input value is not a number |
OUTPUT_INVALID | OUTPUT parameter is not a number |
OVERFLOW | Field overflow |
TYPE_INVALID | an output parameter is not a number |
UNITS_MISSING | no units specified |
UNIT_IN_NOT_FOUND | UNIT_IN is not maintained |
UNIT_OUT_NOT_FOUND | UNIT_OUT is not maintained |