on 02-26-2015 2:02 PM
Hi Experts,
I'm using above function module to convert the value of measuring document. I have the unit value in and unit value out, I need help on how to achieve this with function module in the routine... I wrote below code but it is giving me errors...
CALL FUNCTION POPUP_UNIT_CONVERSION
EXPORTING
VALUE_IN = 'SOURCE_FIELDS-DESIR'
INDICATOR_VALUE = ' '
UNIT_IN = 'SOURCE_FIELDS-MSSIE'
UNIT_OUT = 'SOURCE_FIELDS-RECDU'
POSITION_COLUMN = '20 '
POSITION_ROW = '5'
IMPORTING
VALUE_out.
RESULT = VALUE_out.
Can any of you guys used this before , can you please sugget the code. Thanks
-Ganesh
Hi Ganesh,
I suggest to use Function Module UNIT_CONVERSION_SIMPLE. The Function Module you mentioned seems to be applicable for dialog processing.
The coding could look as follows:
CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
EXPORTING
INPUT = SOURCE_FIELDS-DESIR
UNIT_IN = SOURCE_FIELDS-MSSIE
UNIT_OUT = SOURCE_FIELDS-RECDU
IMPORTING
OUTPUT = RESULT.
Best regards,
Sander
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.