Application Development and Automation 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: 
Read only

Function Module that converts Alphabet into numeric value

Former Member
0 Likes
390

Hi,

Is there Function Module that converts Alphbet into number .. for example..

If we pass A , it should return 1

B = 2, C = 3.....Z= 26.

Waiting to hear,

Thanks

Kisu

Edited by: kisu kr on May 7, 2008 11:13 AM

1 REPLY 1
Read only

Former Member
0 Likes
299

Write your own.

Case v_alpha.

when 'A'.

v_num = 1.

when 'B'.

v_num = 2.

when 'C'.

v_num = 3.

.

.

.

.

endcase.