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: 

Function module for getting ASCII number of the character

Former Member
0 Kudos

I need to know the ASCII number of the appropriate character. Which function module can I use? Thank you

3 REPLIES 3

Former Member
0 Kudos

hi,

U can use this code below

report demtest.

data : c.

field-symbols : <n> type x.

data : rn type i.

c = 'A'.

assign c to <n> casting.

move <n> to rn.

write rn.

This will convert 'A' to 65.

OR try FM LIST_TO_ASCII

Sri

Former Member
0 Kudos

hi

try with this

'URL_ASCII_CODE_GET'

reward point if useful

varma_narayana
Active Contributor
0 Kudos

Hi Viroj..

This is the FM that gives the ASCII value of a Character

URL_ASCII_CODE_GET

<b>Reward if Helpful.</b>