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: 

random no generation

Former Member
0 Kudos

Hi experts,

How to generate random number with 12 digits in ABAP?

2 REPLIES 2

Former Member
0 Kudos

U can use function module QF05_RANDOM_INTEGER but it is only for 9 digits. If you can not get any, then u can make use of number ranges.

Sandra_Rossi
Active Contributor
0 Kudos

Please [search forum for cl_abap_random|http://www.sdn.sap.com/irj/scn/advancedsearch?query=cl_abap_random] (this is the official class)