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

ID Generation

0 Likes
787

Hi,

I have a char(24) field. I want to generate a unique ID to fill up this field. The generated ID should not have special characters like *, !, {, etc. Basically I want only letters and digits. Is there a FM for this. Moreover is there a FM to generate unique IDs within a specified range without any special characters.

Thanks,

Saurabh

5 REPLIES 5
Read only

FredericGirod
Active Contributor
0 Likes
752

Hi,

look the transaction SNRO and the function NUMBER_GET_NEXT

Rgd

Frédéric

Read only

Former Member
0 Likes
752

Use this FM

SYSTEM_GET_UNIQUE_ID but will guve U 32 char output

Read only

Former Member
0 Likes
752

Hi,

You can generate a particular sequence object using transaction SNRO.

Check it.

Regards

vijay

Read only

vinod_gunaware2
Active Contributor
0 Likes
752

there if function module

QF05_RANDOM Random number generator

QF05_RANDOM_INTEGER Random (whole) number

AQ_INT_RANDOM_NUMBERS

regard

vinod

Read only

0 Likes
752

you can also use FM

GUID_CREATE

Regards

Raja