cancel
Showing results for 
Search instead for 
Did you mean: 

Create Random String

Former Member
0 Kudos

Hi, how can I build a string which contains random text? I only know RND which does this for numbers. Thanks in advance. Axel

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Axel,

I don't think there exists a function. I only know a workaround:

CHR(RND(0,26))&CHR(RND(0,26))&CHR(RND(0,26))&CHR(RND(0,26))

This would be an example for a 4-character random string.

Just repeat the part "&CHR(RND(0,26))" for every character you need more.

Best regards,

Benni

Message was edited by:

Benjamin Leunig

guillaume-hrc
Active Contributor
0 Kudos

Hi,

What about building some RFC around function modules like 'GUID_CREATE' ?

Best regards,

Guillaume

Answers (0)