Skip to Content
Former Member
May 02, 2005 at 03:00 PM

Convert Decimal value to its Hex representation


Hi Experts-

I have a need (in ABAP) for being able to convert a decimal value to its hex representation.

I have Document IDs such as '189' and '192' and there is an image file associated with each document called '000000BD' and '000000C0.jpg' respectively. The C0 is the hex representation of the decimal 192 and BD of 189.

Is there a standard function module that I can use for determining this? If not, any quick custom code you can think of?

Thank you,

- Vik.