SAP ABAP Class /BA1/CL_F4_RANDOM_VALUE (Service for Filling Unit Test Data)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   CA-FS-MKD (Application Component) Basic Market Data
     /BA1/F4_BASIS (Package) Basic Market Data
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  /BA1/IF_F4_RANDOM_VALUE Service for Filling Unit Test Data 20100611
Properties
Class /BA1/CL_F4_RANDOM_VALUE  
Short Description Service for Filling Unit Test Data    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 5   
Package /BA1/F4_BASIS   Basic Market Data 
Created 20100611   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /BA1/CL_F4_RANDOM_VALUE has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 /BA1/IF_F4_RANDOM_VALUE Service for Filling Unit Test Data 20100611
Friends
Class /BA1/CL_F4_RANDOM_VALUE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CHARS Instance attribute Private Type reference (TYPE) STRING 20100611
2 C_CHAR_ABC Constant Private Type reference (TYPE) STRING 'QWERTZUIOPÜASDFGHJKLÖÄYXCVBNMqwertzuiopüasdfghjklöäyxcvbnm' 20100611
3 C_CHAR_NUM Constant Private Type reference (TYPE) STRING '1234567890' 20100611
4 C_CHAR_R Constant Private Type reference (TYPE) STRING ';:_*!"§%&/#()=?`,.- <>|{[]}~' 20100611
5 C_MAX_FILL_STRING Constant Private Type reference (TYPE) I 300 20100611
6 LENGTH_CHARS Instance attribute Private Type reference (TYPE) I 20100611
7 REF_RANDOM Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_RANDOM 20100611
8 S_ERROR_MSG Static Attribute Private Type reference (TYPE) STRING 20100611
9 S_REF_SINGLETON Static Attribute Private Object reference (TYPE REF TO) /BA1/IF_F4_RANDOM_VALUE Service for Filling Unit Test Data 20100611
10 S_TAH_DDIC_VALUES Static Attribute Private Type reference (TYPE) TY_TAH_DDIC_VALUES 20100611
Methods
# Method Level Visibility Method type Description Created on
1 FILL_CHAR Instance method Private Method 20100611
2 FILL_DATE Instance method Private Method 20100611
3 FILL_DDIC_VALUE Instance method Private Method 20100611
4 FILL_DDIC_VALUE_FROM_BUFFER Instance method Private Method 20100611
5 FILL_DECFLOAT16 Instance method Private Method 20100611
6 FILL_DECFLOAT34 Instance method Private Method 20100611
7 FILL_ELEMENT Instance method Private Method 20100611
8 FILL_FLOAT Instance method Private Method 20100611
9 FILL_HEX Instance method Private Method 20100611
10 FILL_INT Instance method Private Method 20100611
11 FILL_INT1 Instance method Private Method 20100611
12 FILL_INT2 Instance method Private Method 20100611
13 FILL_NUM Instance method Private Method 20100611
14 FILL_PACKED Instance method Private Method 20100611
15 FILL_REFERENCE Instance method Private Method 20100611
16 FILL_STRING Instance method Private Method 20100611
17 FILL_STRUCTURE Instance method Private Method 20100611
18 FILL_TABLE Instance method Private Method 20100611
19 FILL_TIME Instance method Private Method 20100611
20 GET_FIX_VALUES_FROM_DDIC Instance method Private Method 20100611
21 INSERT_DDIC_VALUES_INTO_BUFFER Instance method Private Method 20100611
22 READ_TRANSFORM_ASSOCIATED_TBL Instance method Private Method 20100611
23 S_CREATE_INSTANCE Static method Private Method 20100611
24 S_GET_INSTANCE Static method Public Method 20100611
25 TRANSFORM_FIX_VALUES Instance method Private Method 20100611
Events
Class /BA1/CL_F4_RANDOM_VALUE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_STR_DDIC_VALUE Private See coding 20100611 BEGIN OF ty_str_ddic_value, ddic_name TYPE string, lines TYPE i, is_doma TYPE abap_bool, associated_table TYPE entitytab, comp_name TYPE string, xml_values TYPE string, END OF ty_str_ddic_value
2 TY_TAB_DOMA_FIX_VALUES Private See coding 20100611 ty_tab_doma_fix_values TYPE STANDARD TABLE OF dd07v
3 TY_TAH_DDIC_VALUES Private See coding 20100611 ty_tah_ddic_values TYPE HASHED TABLE OF ty_str_ddic_value WITH UNIQUE KEY ddic_name
Method Signatures

Method FILL_CHAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611
2 Importing I_UPPER_CASE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100611

Method FILL_CHAR on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method FILL_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611

Method FILL_DATE on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method FILL_DDIC_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611
2 Importing I_DDIC_NAME Call by reference Type reference (TYPE) STRING 20100611
# Exception Resumable Description Created on
1 /BA1/CX_F4_NO_DDIC_VALUE 20100614

Method FILL_DDIC_VALUE_FROM_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611
2 Importing I_DDIC_NAME Call by reference Type reference (TYPE) STRING 20100611
# Exception Resumable Description Created on
1 /BA1/CX_F4_NOT_IN_BUFFER 20100614
2 /BA1/CX_F4_NO_DDIC_VALUE 20100614

Method FILL_DECFLOAT16 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611

Method FILL_DECFLOAT16 on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method FILL_DECFLOAT34 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611

Method FILL_DECFLOAT34 on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method FILL_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611
2 Importing I_REF_ELEMENT_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_ELEMDESCR 20100611
3 Importing I_UPPER_CASE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100611
4 Importing I_USE_DDIC_VALUES Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100611
# Exception Resumable Description Created on
1 /BA1/CX_F4_AUNIT_ERROR 20100614

Method FILL_FLOAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611

Method FILL_FLOAT on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method FILL_HEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611

Method FILL_HEX on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method FILL_INT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611

Method FILL_INT on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method FILL_INT1 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611

Method FILL_INT1 on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method FILL_INT2 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611

Method FILL_INT2 on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method FILL_NUM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611
2 Importing I_REF_ELEMENT_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_ELEMDESCR 20100611

Method FILL_NUM on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method FILL_PACKED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611
2 Importing I_REF_ELEMENT_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_ELEMDESCR 20100611
# Exception Resumable Description Created on
1 /BA1/CX_F4_AUNIT_ERROR 20100614

Method FILL_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611
2 Importing I_LINES_PER_TABLE Call by reference Type reference (TYPE) I 2 20100611
3 Importing I_REF_REFERENCE_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_REFDESCR 20100611
4 Importing I_UPPER_CASE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100611
5 Importing I_USE_DDIC_VALUES Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100611
# Exception Resumable Description Created on
1 /BA1/CX_F4_AUNIT_ERROR 20100614

Method FILL_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611
2 Importing I_UPPER_CASE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100611

Method FILL_STRING on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method FILL_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611
2 Importing I_LINES_PER_TABLE Call by reference Type reference (TYPE) I 2 20100611
3 Importing I_REF_STRUCT_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR 20100611
4 Importing I_UPPER_CASE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100611
5 Importing I_USE_DDIC_VALUES Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100611

Method FILL_STRUCTURE on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method FILL_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611
2 Importing I_LINES_PER_TABLE Call by reference Type reference (TYPE) I 2 20100611
3 Importing I_REF_TABLE_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR 20100611
4 Importing I_UPPER_CASE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100611
5 Importing I_USE_DDIC_VALUES Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100611

Method FILL_TABLE on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method FILL_TIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) ANY 20100611

Method FILL_TIME on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method GET_FIX_VALUES_FROM_DDIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_ASSOCIATED_TABLE Call by reference Type reference (TYPE) ENTITYTAB 20100611
2 Exporting E_TAB_DOMA_FIX_VALUES Call by reference Type reference (TYPE) TY_TAB_DOMA_FIX_VALUES 20100611
3 Importing I_DDIC_NAME Call by reference Type reference (TYPE) STRING 20100611

Method GET_FIX_VALUES_FROM_DDIC on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method INSERT_DDIC_VALUES_INTO_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DDIC_NAME Call by reference Type reference (TYPE) STRING 20100611

Method INSERT_DDIC_VALUES_INTO_BUFFER on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method READ_TRANSFORM_ASSOCIATED_TBL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_COMPONENT_NAME Call by reference Type reference (TYPE) STRING 20100611
2 Exporting E_LINES Call by reference Type reference (TYPE) I 20100611
3 Exporting E_XML_VALUES Call by reference Type reference (TYPE) STRING 20100611
4 Importing I_ASSOCIATED_TABLE Call by reference Type reference (TYPE) ENTITYTAB 20100611
5 Importing I_DDIC_NAME Call by reference Type reference (TYPE) STRING 20100611

Method READ_TRANSFORM_ASSOCIATED_TBL on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method S_CREATE_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_REF_INSTANCE Value transfer Object reference (TYPE REF TO) /BA1/CL_F4_RANDOM_VALUE Service um Unit-Testdaten zu füllen 20100611

Method S_CREATE_INSTANCE on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method S_GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_REF_INSTANCE Value transfer Object reference (TYPE REF TO) /BA1/IF_F4_RANDOM_VALUE Service um Unit-Testdaten zu füllen 20100611

Method S_GET_INSTANCE on class /BA1/CL_F4_RANDOM_VALUE has no exception.

Method TRANSFORM_FIX_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_LINES Call by reference Type reference (TYPE) I 20100611
2 Exporting E_XML_VALUES Call by reference Type reference (TYPE) STRING 20100611
3 Importing I_TAB_DOMA_FIX_VALUES Call by reference Type reference (TYPE) TY_TAB_DOMA_FIX_VALUES 20100611

Method TRANSFORM_FIX_VALUES on class /BA1/CL_F4_RANDOM_VALUE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 400