SAP ABAP Class CL_FDT_RANDOM (FDT: Random Number)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
⤷ SFDT_EXPRESSIONS (Package) BRFplus: Expressions
⤷ BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
⤷ SFDT_EXPRESSIONS (Package) BRFplus: Expressions
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_FDT_EXPRESSION | FDT: Abstract Expression Class | 20060126 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_FDT_RANDOM | FDT: Random Number | 20060126 |
Properties
Class | CL_FDT_RANDOM | |
Short Description | FDT: Random Number | |
Super Class | CL_FDT_EXPRESSION | FDT: Abstract Expression Class |
Instantiability of a Class | 1 | Protected |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SFDT_EXPRESSIONS | BRFplus: Expressions |
Created | 20060126 | SAP |
Last change | 20140121 | 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 | IF_FDT_RANDOM | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
3 | IF_FDT_TYPES | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_FDT_RANDOM | FDT: Random Number | 20060126 |
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_FDT_FACTORY | 20060126 | FDT: Factory |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GC_EXPR_2000 | Constant | Private | Type reference (TYPE) | TABNAME | 'FDT_EXPR_2000' | Table Name | 20070813 | |
2 | MS_BUFFER | Instance attribute | Private | Type reference (TYPE) | S_BUFFER | Transactional Data Buffer | 20060126 | ||
3 | MS_BUFFER_DB | Instance attribute | Private | Type reference (TYPE) | S_BUFFER | Transactional Data Buffer | 20060126 | ||
4 | MV_ID | Instance attribute | Private | Attribute reference (LIKE) | 20060126 | ||||
5 | MV_MS_BUFFER_DB_LOADED | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE: MS_BUFFER_DB is loaded | 20070813 | ||
6 | MV_MS_BUFFER_LOADED | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE: MS_BUFFER is loaded | 20060801 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADJUST_BORDERS | Instance method | Private | Method | Adjust borders | 20060129 |
2 | ADJUST_DECIMALS | Instance method | Private | Method | Adjust the decimals | 20060129 |
3 | ADJUST_PROBABILITY | Instance method | Private | Method | Adjust the probability | 20060203 |
4 | CHECK_BORDERS | Instance method | Private | Method | Checks the borders | 20070219 |
5 | CHECK_NUMERIC | Instance method | Private | Method | Check for numeric | 20060204 |
6 | GENERATE_RANDOM_PROCESS | Instance method | Private | Method | Generates the code for the process of the random number expr | 20070305 |
7 | GENERATE_RANDOM_RES_NUMBER | Instance method | Private | Method | Generates the result processing for the number type result | 20070306 |
8 | LOAD_BUFFER | Instance method | Private | Method | Load the buffer | 20060126 |
9 | LOAD_BUFFER_DB | Instance method | Private | Method | Load the buffer from data base | 20060126 |
10 | SAVE_BUFFER_DB | Instance method | Private | Method | Save the buffer into the data base | 20060126 |
11 | SET_BUFFER | Instance method | Private | Method | Set the buffer | 20060126 |
Events
Class CL_FDT_RANDOM has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | S_BUFFER | Private | See coding | Transactional Data Buffer | 20060126 | BEGIN OF s_buffer,
decimals TYPE if_fdt_random=>decimals,
* minimum TYPE fdt_expr_2000-minimum,
minimum TYPE if_fdt_types=>element_number,
minimum_id TYPE if_fdt_types=>id,
* maximum TYPE fdt_expr_2000-maximum,
maximum TYPE if_fdt_types=>element_number,
maximum_id TYPE if_fdt_types=>id,
probability TYPE if_fdt_random=>probability,
probability_id TYPE if_fdt_types=>id,
END OF s_buffer
|
Method Signatures
Method ADJUST_BORDERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CV_MAXIMUM | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_NUMBER | Border for maximum value | 20101202 | ||
2 | Changing | CV_MINIMUM | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_NUMBER | Border for minimum value | 20101202 |
Method ADJUST_BORDERS on class CL_FDT_RANDOM has no exception.
Method ADJUST_DECIMALS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_DECIMALS | Call by reference | Type reference (TYPE) | IF_FDT_RANDOM=>DECIMALS | Decimals | 20060129 | ||
2 | Returning | RV_DECIMALS | Value transfer | Type reference (TYPE) | IF_FDT_RANDOM=>DECIMALS | Adjusted decimals | 20060129 |
Method ADJUST_DECIMALS on class CL_FDT_RANDOM has no exception.
Method ADJUST_PROBABILITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CV_PROBABILITY | Call by reference | Type reference (TYPE) | IF_FDT_RANDOM=>PROBABILITY | 20101202 |
Method ADJUST_PROBABILITY on class CL_FDT_RANDOM has no exception.
Method CHECK_BORDERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_ACTIVATION_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20070219 | ||
2 | Importing | IV_COMPLETE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20070219 | ||
3 | Importing | IV_MAXIMUM | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_NUMBER | 20070219 | |||
4 | Importing | IV_MAXIMUM_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | 20070219 | |||
5 | Importing | IV_MINIMUM | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_NUMBER | 20070219 | |||
6 | Importing | IV_MINIMUM_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | 20070219 | |||
7 | Returning | RT_MESSAGE | Value transfer | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | 20070219 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_FDT_INPUT | FDT: Invalid Input | 20110107 |
Method CHECK_NUMERIC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_COMPLETE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20060204 | ||
2 | Importing | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | 20060204 | |||
3 | Importing | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | Time Stamp (active version) | 20060806 | ||
4 | Returning | RS_MESSAGE | Value transfer | Type reference (TYPE) | IF_FDT_TYPES=>S_MESSAGE | 20060204 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_FDT_INPUT | FDT: Invalid Input | 20060806 |
Method GENERATE_RANDOM_PROCESS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CTS_USED_CONTEXT_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_USED_CONTEXT_ID | 20070305 | |||
2 | Exporting | ET_SOURCE_CODE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_SOURCE_CODE | 20070305 | |||
3 | Importing | IO_GENERATION_MNGR | Call by reference | Object reference (TYPE REF TO) | CL_FDT_GENERATION_MANAGER | FDT: Generation of Classes | 20080420 | ||
4 | Importing | IV_CREATE_VARIABLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20070305 | ||
5 | Importing | IV_FUNCTION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | 20070720 | |||
6 | Importing | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | 20070305 | |||
7 | Importing | IV_VARIABLE_NAME | Call by reference | Type reference (TYPE) | CLIKE | 20070305 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_FDT_GENERATION | FDT: Error in the Generation Process | 20070305 | |
2 | CX_FDT_INPUT | FDT: Invalid Input | 20070305 |
Method GENERATE_RANDOM_RES_NUMBER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_SOURCE_CODE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_SOURCE_CODE | 20070306 | |||
2 | Importing | IV_MAX_NAME | Call by reference | Type reference (TYPE) | STRING | 20070306 | |||
3 | Importing | IV_MIN_NAME | Call by reference | Type reference (TYPE) | STRING | 20070306 | |||
4 | Importing | IV_RESULT_NAME | Call by reference | Type reference (TYPE) | CLIKE | 20070306 | |||
5 | Importing | IV_SEED_NAME | Call by reference | Type reference (TYPE) | STRING | 20070306 | |||
6 | Importing | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | 20070306 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_FDT_GENERATION | FDT: Error in the Generation Process | 20070306 | |
2 | CX_FDT_INPUT | FDT: Invalid Input | 20070306 |
Method LOAD_BUFFER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | Timestamp of active version | 20070811 | ||
2 | Importing | IV_VERSION | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>VERSION | 20060126 | |||
3 | Returning | RS_BUFFER | Value transfer | Type reference (TYPE) | S_BUFFER | 20060126 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_FDT_INPUT | 20060126 |
Method LOAD_BUFFER_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_VERSION | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>VERSION | 20060126 | |||
2 | Returning | RS_BUFFER | Value transfer | Type reference (TYPE) | S_BUFFER | 20060126 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_FDT_INPUT | 20060126 |
Method SAVE_BUFFER_DB Signature
Method SAVE_BUFFER_DB on class CL_FDT_RANDOM has no parameter.
Method SAVE_BUFFER_DB on class CL_FDT_RANDOM has no exception.
Method SET_BUFFER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_BUFFER | Call by reference | Type reference (TYPE) | S_BUFFER | 20060126 |
Method SET_BUFFER on class CL_FDT_RANDOM has no exception.
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 710 |