‎2008 Apr 01 10:15 AM
Hi,
I am looking for an algorithm to generate alphanumeric sequence numbers in ABAP.
The sequence numbers should be in the following format
AAAA
AAAB
AAAC
.
.
.
AAAZ
AABA
AABB
AABC
.
.
.
AABZ
.
.
.
ZZZZ
Is there any built-in function module provided by SAP to accomplish this? Or something like a FOR statement as in C/C++?
Please help.
Helpful answers will be immediately rewarded.
Thank you.
‎2008 Apr 03 12:43 PM
Hi,
I'm not sure, but maybe you can create a number range with SNRO for alphanumerical values
otherwise you have to create your own logic (you can use hexadecimal to ascii conversion in ABAP to increment the alphanumerical values)
Kind regards, Rob Dielemans
‎2008 Apr 03 12:55 PM
hi thr...
kndly go through the following link. it contains info about converting numerics into alphanumerics. i think u can apply this to ur logic and wil be able to generate the alpha numeric numbers....
www.scribd.com/doc/416537/SAP-BC-ABAP-Programming
do reward if helpful