Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

convert hexa decimal to c,i,n

Former Member
0 Kudos

hi experts,

i am in upgradtion project... when i excute prg i am getting error as convert hexa decimal to c,i,n .

a(2) TYPE X VALUE '0020'.

wht exact mean this ...

any one can suggest me.

regards,

kumar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Praveen,

Please go through the following Link :

[Conversion of elementary data types|http://help.sap.com/saphelp_47x200/helpdata/EN/fc/eb3434358411d1829f0000e829fbfe/frameset.htm]

Scroll down to read the source type Hexadecimal for your answer.

Regards,

Swapna.

5 REPLIES 5

former_member188685
Active Contributor
0 Kudos

What are you doing..? are you using any String operations using that field which you defined as hexadecimal.

0 Kudos

a(2) TYPE X VALUE ' 0020',

TRANSLATE BDCDATA-FVAL USING a.

i am getting errror "a" must be a character-like data object (data type C, N, D,T, or STRING).

pls do needfull

thanks

praveen

Former Member
0 Kudos

Hi Praveen,

Please go through the following Link :

[Conversion of elementary data types|http://help.sap.com/saphelp_47x200/helpdata/EN/fc/eb3434358411d1829f0000e829fbfe/frameset.htm]

Scroll down to read the source type Hexadecimal for your answer.

Regards,

Swapna.

Former Member
0 Kudos

Hi,

Use FM HR_RU_CONVERT_HEX_TO_STRING...

Regards,

Kunjal

Former Member
0 Kudos

Hi,

Go through the below link and search for 'Hx' column and the value '20', i guess it is for space....

http://www.asciitable.com/

Rgds,

Bujji