SAP ABAP Interface IF_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
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  CL_FDT_RANDOM FDT: Random Number 20060126
Properties
Interface IF_FDT_RANDOM  
Short Description FDT: Random Number    
General Data
Package SFDT_EXPRESSIONS   BRFplus: Expressions 
Created 20060126   SAP 
Last changed 20090618   SAP 
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_FDT_CONSTANTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 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_EXPRESSION FDT: Expression 20060126
Friends
Interface IF_FDT_RANDOM has no friend.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_EXTY_RANDOM_NUMBER Constant Public Type reference (TYPE) IF_FDT_TYPES=>ID IF_FDT_CONSTANTS=>GC_EXTY_RANDOM_NUMBER Expression Type "Random Number" 20080417
2 GC_MODE_PROBABILITY Constant Public Type reference (TYPE) CHAR1 'P' Probability Mode 20071217
3 GC_MODE_RANDOM_NUMBER Constant Public Type reference (TYPE) CHAR1 'N' Random Number Mode 20071217
4 MV_ACTION Instance attribute Public Attribute reference (LIKE) 20071228
5 MV_CUSTOMIZING_OBJECT Instance attribute Public Attribute reference (LIKE) 20071228
6 MV_EXPRESSION_TYPE_ID Instance attribute Public Attribute reference (LIKE) 20071228
7 MV_ID Instance attribute Public Attribute reference (LIKE) 20060126
8 MV_LOCAL_OBJECT Instance attribute Public Attribute reference (LIKE) 20071228
9 MV_MASTERDATA_OBJECT Instance attribute Public Attribute reference (LIKE) 20071228
10 MV_OBJECT_TYPE Instance attribute Public Attribute reference (LIKE) 20071228
11 MV_RULE Instance attribute Public Attribute reference (LIKE) 20071228
12 MV_SYSTEM_OBJECT Instance attribute Public Attribute reference (LIKE) 20071228
Methods
# Method Level Visibility Method type Description Created on
1 GET_BORDERS Instance method Public Method Get the borders (min, max) 20060126
2 GET_DECIMALS Instance method Public Method Get the number of decimals 20060126
3 GET_MODE Instance method Public Method Get the mode (random number or probability) 20071217
4 GET_PROBABILITY Instance method Public Method Get the probabilty in case of boolean result 20060130
5 SET_BORDERS Instance method Public Method Set the borders (min, max) 20060129
6 SET_DECIMALS Instance method Public Method Set the number of decimals 20060126
7 SET_PROBABILITY Instance method Public Method Set the probability in case of boolean result 20060130
Events
Interface IF_FDT_RANDOM has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 DECIMALS Public Type reference (TYPE) FDT_EXPR_2000-DECIMALS Decimals 20060129
2 PROBABILITY Public Type reference (TYPE) FDT_EXPR_2000-PROBABILITY Probability when boolean 20060130
Method Signatures

Method GET_BORDERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_MAXIMUM Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_NUMBER Border for maximum value 20060126
2 Exporting EV_MAXIMUM_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID for the border for maximum value 20060130
3 Exporting EV_MINIMUM Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_NUMBER Border for minimum value 20060126
4 Exporting EV_MINIMUM_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID for the border for minimum value 20060130
5 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20060126
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20060126

Method GET_DECIMALS 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 Time Stamp (active version) 20060126
2 Returning RV_DECIMALS Value transfer Type reference (TYPE) DECIMALS Decimals 20060126
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20060126

Method GET_MODE 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 Time Stamp (active version) 20071217
2 Returning RV_MODE Value transfer Type reference (TYPE) CHAR1 Mode (see GC_MODE*) 20071217
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20071217

Method GET_PROBABILITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PROBABILITY Call by reference Type reference (TYPE) PROBABILITY Probability when boolean 20060130
2 Exporting EV_PROBABILITY_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20060130
3 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20060130
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20060130

Method SET_BORDERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MAXIMUM Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_NUMBER Border for maximum value 20060129
2 Importing IV_MAXIMUM_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID for the border for maximum value 20060130
3 Importing IV_MINIMUM Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_NUMBER Border for minimum value 20060129
4 Importing IV_MINIMUM_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID for the border for minimum value 20060130
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20060130

Method SET_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) DECIMALS 0 Decimals (max. 14 decimals) 20060126

Method SET_DECIMALS on Interface IF_FDT_RANDOM has no exception.

Method SET_PROBABILITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PROBABILITY Call by reference Type reference (TYPE) PROBABILITY Probability when boolean 20060130
2 Importing IV_PROBABILITY_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20060130
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20060130
History
Last changed by/on SAP  20090618 
SAP Release Created in 710