‎2009 Mar 16 10:20 AM
Hi all,
when uploading the excel file into an Internal table, I need the values entered in Exponential form to be convered into Integer.
For example, 7.62E+14 must be convered to 762000000000000.
Is there any Function Module available for conversion.
Thanks in advance.
‎2009 Mar 16 10:28 AM
Hi,
Use FM *QSS0_FLTP_TO_CHAR_CONVERSION* for this purpose.
Pass the Floating point value to i_fltp_value and get the converted number in e_char_field.
-Rakesh
‎2009 Mar 16 10:25 AM
‎2009 Mar 16 10:25 AM
‎2009 Mar 16 10:25 AM
During upload, automatic conversion will take place, and there is not FM for this conversion.
manual conversion will have to be done using type-casting.
Regards,
Mansi.
‎2009 Mar 16 10:26 AM
Hi sumitha,
Use the FM:
KKEK_CONVERT_FLOAT_TO_CURR
Regards,
Nitin.
‎2009 Mar 16 10:26 AM
Hi,
Refer FM C14W_NUMBER_CHAR_CONVERSION
Hope this helps you.
Regards,
Tarun
‎2009 Mar 16 10:28 AM
Hi,
Use FM *QSS0_FLTP_TO_CHAR_CONVERSION* for this purpose.
Pass the Floating point value to i_fltp_value and get the converted number in e_char_field.
-Rakesh
‎2009 Mar 16 10:35 AM
I would prefer, instead of using any Fm, Once you get the value to your field, move it to a variable
of type p.
Regards,
Nitin.
‎2009 Mar 16 11:03 AM
the FM QSS0_FLTP_TO_CHAR_CONVERSION, is working fine. thanks a lot for everyone's effort.