Skip to Content
avatar image
Former Member

FM to convert HEXADECIMAL to DECIMAL in ECC6

Hi All,

Please help me in converting HEXADECIMAL VALUE to DECIMAL VALUE in SAP ECC6 using Functional modules or any conversion method.

Thanks in advance.

Regards,

Mohan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 17, 2008 at 09:20 AM

    Welcome to SCN...

    Search forum...

    Similar post:conversion-of-hexadecimal-to-decimal-value

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 17, 2008 at 09:22 AM

    hi use there fms..

    NLS_STRING_CONVERT_FROM_SYS

    NLS_STRING_CONVERT_TO_SYS

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 17, 2008 at 09:34 AM

    Try the following code :

    DATA l_hex TYPE X.

    DATA l_dec TYPE i.

    l_hex = '10'.

    l_dec = l_hex.

    write: l_dec.

    you will see a '16' on the screen

    You can even go for the following function module :

    FITP_UTIL_CONVERT_HEX2DEC

    Add comment
    10|10000 characters needed characters exceeded