SAP ABAP Class IF_RANDOM_NUMBER (Random number generator)
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  CL_RANDOM_NUMBER Random Number Generator 20010822
2 Interface implementation (CLASS c. INTERFACES i_ref)  CL_RANDOM_VALUE_BRF BRF: Random Values 20021203
Properties
Class IF_RANDOM_NUMBER  
Short Description Random number generator    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package      
Created 20010822   SAP 
Last change 00000000   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class IF_RANDOM_NUMBER has no forward declaration.
Interfaces
Class IF_RANDOM_NUMBER has no interface implemented.
Friends
Class IF_RANDOM_NUMBER has no friend class.
Attributes
Class IF_RANDOM_NUMBER has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 GET_RANDOM_FLOAT Instance method Public Method Generate Floating Point Number [0,1] 20010822
2 GET_RANDOM_INT Instance method Public Method Generate Integer4 Random Number [0,R-1] 20010822
3 INIT Instance method Public Method Initialization 20010822
Events
Class IF_RANDOM_NUMBER has no event.
Types
Class IF_RANDOM_NUMBER has no local type.
Method Signatures

Method GET_RANDOM_FLOAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_RANDOM Value transfer Type reference (TYPE) FLOAT Feld vom Typ FLTP 20010822

Method GET_RANDOM_FLOAT on class IF_RANDOM_NUMBER has no exception.

Method GET_RANDOM_INT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LIMIT Value transfer Type reference (TYPE) INT4 Obere Intervallgrenze 20010822
2 Returning R_RANDOM Value transfer Type reference (TYPE) INT4 Zufallszahl 20010822

Method GET_RANDOM_INT on class IF_RANDOM_NUMBER has no exception.

Method INIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SEED Value transfer Type reference (TYPE) INT4 Seed 20010822

Method INIT on class IF_RANDOM_NUMBER has no exception.
History
Last changed by/on SAP  00000000 
SAP Release Created in