SAP ABAP Class CL_ABAP_RANDOM_PACKED_DEC14 (CL_ABAP_RANDOM_PACKED_DEC14)
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 | 20030716 |
Properties
Class | CL_ABAP_RANDOM_PACKED_DEC14 | |
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 | 20030716 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
3 | ![]() |
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 | 20030716 |
Friends
Class CL_ABAP_RANDOM_PACKED_DEC14 has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Protected | Type reference (TYPE) | CL_ABAP_RANDOM_PACKED=>P31_0 | 100000000000000 | Connersion Factor to P31_0 | 20030716 | |
2 | ![]() |
Constant | Protected | Type reference (TYPE) | P31_14 | '99999999999999999.99999999999999' | Maximum Packed Value | 20030716 | |
3 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | P31_14 | '-9999999999999999.99999999999999' | Minumum Packed Value | 20030716 | |
4 | ![]() |
Instance attribute | Protected | Object reference (TYPE REF TO) | CL_ABAP_RANDOM_PACKED | Pseudo Random Number Generator | 20030716 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Create a PRNG for packed numbers | 20030716 |
2 | ![]() |
Instance method | Public | Method | Next "Packed" Pseudo Random Number in [min,max] | 20030716 |
Events
Class CL_ABAP_RANDOM_PACKED_DEC14 has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | P31_14 | Public | See coding | Data Type: Packed, 31 Characters, 14 Decimal Places | 20030716 | P31_14 type p length 16 decimals 14
|
Method Signatures
Method CREATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
MAX | Call by reference | Type reference (TYPE) | P31_14 | '99999999999999999.99999999999999' | Obere Grenze für Wertebereich | 20030716 | |
2 | ![]() |
MIN | Call by reference | Type reference (TYPE) | P31_14 | '-99999999999999999.99999999999999' | Untere Grenze für Wertebereich | 20030716 | |
3 | ![]() |
PRNG | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_RANDOM_PACKED_DEC14 | Zufallszahlengenerator-Objekt | 20030716 | ||
4 | ![]() |
SEED | Call by reference | Type reference (TYPE) | I | Initialwert des PRNGs | 20030716 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception for CL_ABAP_RANDOM* | 20030716 |
Method GET_NEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
VALUE | Value transfer | Type reference (TYPE) | P31_14 | Pseudozufallszahl | 20030716 |
Method GET_NEXT on class CL_ABAP_RANDOM_PACKED_DEC14 has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 640 |