on 05-03-2006 6:51 PM
Hello All,
I'm using the SAP FM UNIT_CONVERSION_SIMPLE to convert from QP to CS. The function module returns with sy-subrc code = 1 which means that the conversion was not found. I've looked in the master table of 0mat_unit and 0material and both QP and CS is maintained in these tables. Is there something else that I am missing?
Please help!
Regards,
Nyrvole
hi Nyrvole,
can know your code ?
how if call manually UNIT_CONVERSION_SIMPLE with SE37 and test with QP and CS ? and debug ?
hope this helps.
CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
EXPORTING
INPUT = RESULT
NO_TYPE_CHECK = 'X'
ROUND_SIGN = ' '
UNIT_IN = 'QP'
UNIT_OUT = 'CS'
IMPORTING
ADD_CONST =
DECIMALS =
DENOMINATOR =
NUMERATOR =
OUTPUT = RESULT
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.