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

Reg : cl_abap_random

former_member194669
Active Contributor
0 Likes
420

Hi,

I am generating random numbers using

v_random = cl_abap_random=>create( v_start ).

i want to reinitialise the number at one point of time during execution

Any info?

a®s

Edited by: a®s on Jul 16, 2008 9:32 AM

Hi,

I am generating random numbers using

v_random = cl_abap_random=>create( v_start ).

i want to reinitialise the number at one point of time during execution

Any info?

a®s

Edited by: a®s on Jul 16, 2008 9:32 AM

1 REPLY 1
Read only

former_member194669
Active Contributor
0 Likes
392

Problem Solved


    v_number = v_random->intinrange(
      low  = v_start
      high = v_end ).