SAP ABAP Class CL_ABAP_RANDOM_PACKED_DEC2 (CL_ABAP_RANDOM_PACKED_DEC2)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
     SABP_RANDOM (Package) Random Number Generator
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SERIALIZABLE_OBJECT Serializable Object 20030715
Properties
Class CL_ABAP_RANDOM_PACKED_DEC2  
Short Description    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status S  System Program 
Category 0   
Package SABP_RANDOM   Random Number Generator 
Created 20030715   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_ABAP_RANDOM Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
# Interface Abstract Final Description Created on
1 IF_SERIALIZABLE_OBJECT Serializable Object 20030715
Friends
Class CL_ABAP_RANDOM_PACKED_DEC2 has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 FACTOR Constant Protected Type reference (TYPE) I 100 Connersion Factor to P31_0 20030715
2 MAX_PACKED Constant Protected Type reference (TYPE) P31_2 '99999999999999999999999999999.99' Maximum Packed Value 20030715
3 MIN_PACKED Instance attribute Protected Type reference (TYPE) P31_2 '-99999999999999999999999999999.99' Minumum Packed Value 20030715
4 PRNG Instance attribute Protected Object reference (TYPE REF TO) CL_ABAP_RANDOM_PACKED Pseudo Random Number Generator 20030715
Methods
# Method Level Visibility Method type Description Created on
1 CREATE Static method Public Method Create a PRNG for packed numbers 20030715
2 GET_NEXT Instance method Public Method Next "Packed" Pseudo Random Number in [min,max] 20030715
Events
Class CL_ABAP_RANDOM_PACKED_DEC2 has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 P31_2 Public See coding Data Type: Packed, 31 Characters, 2 Decimal Places 20030715 P31_2 type p length 16 decimals 2
Method Signatures

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MAX Call by reference Type reference (TYPE) P31_2 '99999999999999999999999999999.99' Obere Grenze für Wertebereich 20030715
2 Importing MIN Call by reference Type reference (TYPE) P31_2 '-99999999999999999999999999999.99' Untere Grenze für Wertebereich 20030715
3 Returning PRNG Value transfer Object reference (TYPE REF TO) CL_ABAP_RANDOM_PACKED_DEC2 Zufallszahlengenerator-Objekt 20030715
4 Importing SEED Call by reference Type reference (TYPE) I Initialwert des PRNGs 20030715
# Exception Resumable Description Created on
1 CX_ABAP_RANDOM Exception for CL_ABAP_RANDOM* 20030715

Method GET_NEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Type reference (TYPE) P31_2 Pseudozufallszahl 20030715

Method GET_NEXT on class CL_ABAP_RANDOM_PACKED_DEC2 has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 640