2013 Feb 08 8:34 AM
Hi Expert,
In IK02 transaction Against the Measuring Point, I have entered the value for
Upper Range Limit as : 50 ,
Lower Range Limit as : 40 , &
Measurement Range Unit is: Degrees Celsius
When we look into the table IMPTT against this Measuring Point ,
the values are got stored as in the fileds ,
MRMIN = 3.1315000000000003E+02 &
MRMAX = 3.2315000000000003E+02.
How can i convert these values to the original value in the program like ( 50 & 40 ) ,
Note: In this case Measurement Range unit is : Degree celsius , it can be vary so based on the Range unit ,
how can i convert the value to original value ?
Please help me out ..
Regards,
Sankar
2013 Feb 08 8:40 AM
Hi Sankar,
I don't know, but, maybe that could help you, you have exactly the same method/rules with the caracteristic CT04 (and class CL02)
maybe you could fine doc, discution with this common transaction.
Fred
Hi Expert,
In IK02 transaction Against the Measuring Point, I have entered the value for
Upper Range Limit as : 50 ,
Lower Range Limit as : 40 , &
Measurement Range Unit is: Degrees Celsius
When we look into the table IMPTT against this Measuring Point ,
the values are got stored as in the fileds ,
MRMIN = 3.1315000000000003E+02 &
MRMAX = 3.2315000000000003E+02.
How can i convert these values to the original value in the program like ( 50 & 40 ) ,
Note: In this case Measurement Range unit is : Degree celsius , it can be vary so based on the Range unit ,
how can i convert the value to original value ?
Please help me out ..
Regards,
Sankar
2013 Feb 08 8:40 AM
Hi Sankar,
I don't know, but, maybe that could help you, you have exactly the same method/rules with the caracteristic CT04 (and class CL02)
maybe you could fine doc, discution with this common transaction.
Fred
2013 Feb 08 9:06 AM
Hi,
We are maintaining the characteristics : TEMPERATURE only and the Unit of measure is : °C only ,
this is maintained correctly.
But if you see in Ik02 , the upper range limit data type is IMRC_MRMAC which is the character 22.
but in table
the MRMAX type is : IMRC_MRMAX which is the FLTP 16.
can anybody tell me is there any function module or formula avavailable to convert it to the original ?
Regards,
Sankar
2013 Feb 08 10:22 AM
Hi Sankar,
I debugged and found that the function module 'CHAR_FLTP_CONVERSION_TO_SI' is been used for converting it to floating 16.
CALL FUNCTION 'CHAR_FLTP_CONVERSION_TO_SI'
EXPORTING
char_value = is_rimr03-mrmac
char_unit = impt-mrngu
unit_is_optional = 'X'
decimals_max = impt-decim
field_name = 'IS_RIMR03-MRMAC'
masc_symbol = y_masc_symbol__
IMPORTING
fltp_value_si = impt-mrmax
indicator_value = impt-mrmaxi
EXCEPTIONS
error_message = 1.
Thanks,
Tooshar Bendale
2013 Feb 12 1:12 PM
I got the solution .
I used this FM :
FLTP_CHAR_CONVERSION_FROM_SI
to convert it to Original.
Regards,
Sankar Manoharan
2016 Jan 21 8:38 PM
Just wanted to note that the post marked as the correct answer is wrong. The correct answer is Sankar Manoharan answer.
It is FM: FLTP_CHAR_CONVERSION_FROM_SI
not
CHAR_FLTP_CONVERSION_FROM_SI.
Thanks, Brian
2019 Oct 10 7:06 AM
You can use FM QSS0_FLTP_TO_CHAR_CONVERSION which converts floating value MRMIN and MRMAX( Measurment Range Unit Value ) of IMPTT table
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |