Skip to Content
author's profile photo Former Member
Former Member

FLTP_CHAR_CONVERSION_FROM_SI "Parameters" issue

Hi ,

I am trying to use this

function Module "FLTP_CHAR_CONVERSION_FROM_SI" to convert Float to Char.

The parameters i am using are

CHAR_UNIT = KM

DECIMALS = 15

Exponent = 0

FLTP_VALUE_SI = 1.222222222222222E+06

Indicator VALUE = X

When I execute it , its giving me error message .

"please use number field for Input Value". If any one can tell me what I am using wrong. I really appreciate the time and full marks would be rewarded.

Thanks,

Mili-

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Sep 29, 2008 at 12:26 AM

    Hi,

    your input variable has to have some numeric type. Check this small example which works for me:

      DATA: l_string(20) TYPE c,
            l_float TYPE f VALUE '1.222222222222222E+06'.
    
      CALL FUNCTION 'FLTP_CHAR_CONVERSION_FROM_SI'
        EXPORTING
         char_unit              = 'KM'
         fltp_value_si          = l_float
         indicator_value        = 'X'
       IMPORTING
         char_value             = l_string
       EXCEPTIONS
         no_unit_given          = 1
         unit_not_found         = 2
         OTHERS                 = 3.
    

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2008 at 05:16 PM

    Hi I tried this one but its not working. you can explain me step by step what to do?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2008 at 05:21 PM

    I see this error "Literals that take up more than one line not permitted." when I try to execute it.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.