Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

data type conversion( hexa to decimal)

when i am converting hexadecimal number "bdf" to decimal number .its giving me ans 189. but output should be 3039. how shd i remove this prob. here i am showing the code which i am using.

data value1 type x value 'BDF'.

data value2 type i.

move value1 to value2.

write value2.

Former Member
Not what you were looking for? View more on this topic or Ask a question