SAP ABAP Class CL_FDT_CALCULATION (FDT Service: Basic calculations)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
     SFDT_SERVICE (Package) BRFplus: Services
Properties
Class CL_FDT_CALCULATION  
Short Description FDT Service: Basic calculations    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SFDT_SERVICE   BRFplus: Services 
Created 20061229   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_CONSTANTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_FDT_FORMULA Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
4 IF_FDT_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_FDT_CALCULATION has no interface implemented.
Friends
Class CL_FDT_CALCULATION has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_ADD Constant Public Type reference (TYPE) I 1 Add 20061229
2 GC_CONCATENATE Constant Public Type reference (TYPE) I 6 Concatenate 20120619
3 GC_CONCATENATE_STRUCTURE Constant Public Type reference (TYPE) I 8 Concatenate Structure 20121010
4 GC_CONCATENATE_TABLE Constant Public Type reference (TYPE) I 7 Concatenate table 20121010
5 GC_DIVIDE Constant Public Type reference (TYPE) I 2 Divide 20061229
6 GC_MULTIPLY Constant Public Type reference (TYPE) I 3 Multiply 20061229
7 GC_POWER Constant Public Type reference (TYPE) I 4 Raise to a power 20070104
8 GC_SUBTRACT Constant Public Type reference (TYPE) I 5 Subtract 20061229
9 GO_CC_ABS_VALUE Static Attribute Private Object reference (TYPE REF TO) CL_CMP_COMPOSER FDT: Code Composer 20070119
10 GO_CC_ADD_BASIC Static Attribute Private Object reference (TYPE REF TO) CL_CMP_COMPOSER FDT: Code Composer 20070119
11 GO_CC_CONCATENATE_BASIC Static Attribute Private Object reference (TYPE REF TO) CL_CMP_COMPOSER FDT: Code Composer 20120619
12 GO_CC_DIVIDE_BASIC Static Attribute Private Object reference (TYPE REF TO) CL_CMP_COMPOSER FDT: Code Composer 20070119
13 GO_CC_FRACTION Static Attribute Private Object reference (TYPE REF TO) CL_CMP_COMPOSER FDT: Code Composer 20090422
14 GO_CC_MULTIPLY_BASIC Static Attribute Private Object reference (TYPE REF TO) CL_CMP_COMPOSER FDT: Code Composer 20070119
15 GO_CC_POWER_BASIC Static Attribute Private Object reference (TYPE REF TO) CL_CMP_COMPOSER FDT: Code Composer 20070119
16 GO_CC_SUBTRACT_BASIC Static Attribute Private Object reference (TYPE REF TO) CL_CMP_COMPOSER FDT: Code Composer 20070119
17 GO_CC_TO_NUMBER Static Attribute Private Object reference (TYPE REF TO) CL_CMP_COMPOSER FDT: Code Composer 20070119
18 GO_CC_TO_STRING Static Attribute Private Object reference (TYPE REF TO) CL_CMP_COMPOSER FDT: Code Composer 20120619
19 GO_CC_TRUNCATE Static Attribute Private Object reference (TYPE REF TO) CL_CMP_COMPOSER FDT: Code Composer 20090422
20 GV_UNIT_CURR_EXIT Static Attribute Public Type reference (TYPE) CLASSNAME Exit for Unit + Currency Conv (IF_FDT_UNIT_CURR) 20121220
Methods
# Method Level Visibility Method type Description Created on
1 ABS_VALUE Static method Public Method Absolute value 20070104
2 ADD Static method Public Method Add 20061229
3 ADD_BASIC Static method Private Method Add elementary data types 20061229
4 CALCULATE Static method Public Method Perform any basic two operand calculation 20061229
5 CALCULATE_BASIC Static method Private Method Perform all calculations for elementary data types 20061229
6 CONCATENATE Static method Public Method Concatenate 20120619
7 CONCATENATE_BASIC Static method Private Method Concatenate elementary data types 20120619
8 CONCATENATE_STRUCTURE Static method Public Method Concatenate the values of the components of a structure 20121004
9 CONCATENATE_TABLE Static method Public Method Concatenate the entries of an unstructured table( vector ) 20121004
10 CONVERT_STRING_TO_NUMBER Static method Public Method Convert element text to element number 20110822
11 CREATE_TABLE_DATA_TYPE Static method Private Method Create data type for FDT table type 20070104
12 DETERMINE_RESULT_TYPE Static method Private Method Determine result type of calculation 20070104
13 DIVIDE Static method Public Method Divide 20061229
14 DIVIDE_BASIC Static method Private Method Divide elementary data types 20070104
15 FRACTION Static method Public Method Decimal part of a number 20090422
16 GENERATE_ABS_VALUE Static method Public Method Generate Code for Absolute Value 20120106
17 GENERATE_CALCULATE Static method Public Method Generate Calculation 20070117
18 GENERATE_CALCULATE_BASIC Static method Private Method Generate Calculation basic (elements) 20070117
19 GENERATE_CALCULATE_MINMAX Static method Public Method Generate Calculation for MAX and MIN 20090513
20 GENERATE_CALCULATE_ONE_P Static method Public Method Generate Calculation 20070119
21 GENERATE_CALCULATE_VECTORS Static method Public Method Generate Calculation ( For Vectors ) 20111221
22 GENERATE_CONCATENATE_TABLE Static method Public Method Generate Code for Concatenating values in a vector 20121011
23 GENERATE_FRACTION Static method Public Method Generate Code for Fraction 20120106
24 GENERATE_TONUMBER Static method Public Method Generate Code for To Number 20120106
25 GENERATE_TOSTRING Static method Public Method Generate Code for To String 20120625
26 GENERATE_TRUNCATE Static method Public Method Generate Code for Truncate 20120106
27 GET_CURRENT_DEC_SETTINGS Static method Private Method Get Current Decimal Settings 20111129
28 IS_INITIAL Static method Public Method Check if a value is initial 20070104
29 MAX Static method Public Method Returns the greater value. 20090507
30 MIN Static method Public Method Returns the lesser value 20090429
31 MULTIPLY Static method Public Method Multiply 20061229
32 MULTIPLY_BASIC Static method Private Method Multiply elementary data types 20070104
33 POWER Static method Public Method Raise to a power 20070104
34 POWER_BASIC Static method Private Method Raise elementary data types to a power 20070104
35 PREPARE_4_ADD_SUB_AMOUNT Static method Public Method 20070118
36 PREPARE_4_ADD_SUB_QUANTITY Static method Public Method 20070118
37 RAISE_CONVERSION_ERROR Static method Private Method Raise CX_FDT_CONVERSION 20061229
38 ROUND_OFF Static method Public Method Rounds of the value. 20090817
39 SUBTRACT Static method Public Method Subtract 20061229
40 SUBTRACT_BASIC Static method Private Method Subtract elementary data types 20070104
41 TO_NUMBER Static method Public Method Convert to a number 20070104
42 TO_STRING Static method Public Method Convert to a string 20110707
43 TRUNCATE Static method Public Method Integer part of a number 20090422
Events
Class CL_FDT_CALCULATION has no event.
Types
Class CL_FDT_CALCULATION has no local type.
Method Signatures

Method ABS_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE Call by reference Object reference (TYPE REF TO) DATA Value 20070104
2 Importing IV_DATA_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data object type of value 20070104
3 Importing IV_ELEMENT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of value (line type for tables) 20070104
4 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20070104
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION FDT: Conversion Failure 20070104

Method ADD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE_1 Call by reference Object reference (TYPE REF TO) DATA First value 20070104
2 Importing IR_VALUE_2 Call by reference Object reference (TYPE REF TO) DATA Second value 20070104
3 Importing IV_DATA_OBJECT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data object type of first value 20061229
4 Importing IV_DATA_OBJECT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data object type of second value 20061229
5 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of first value (line type for tables) 20061229
6 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of second value (line type for tables) 20061229
7 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID of expression using calculation service 20061229
8 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20070104
# Exception Resumable Description Created on
1 CX_FDT_ARITHMETIC_ERROR FDT: Arithmetic error 20061229
2 CX_FDT_CONVERSION FDT: Conversion Failure 20061229

Method ADD_BASIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE_1 Call by reference Object reference (TYPE REF TO) DATA First value 20070104
2 Importing IR_VALUE_2 Call by reference Object reference (TYPE REF TO) DATA Second value 20070104
3 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of first value 20070104
4 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of second value 20070104
5 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID of expression using calculation service 20061229
6 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20070104
# Exception Resumable Description Created on
1 CX_FDT_ARITHMETIC_ERROR FDT: Arithmetic error 20061229
2 CX_FDT_CONVERSION FDT: Conversion Failure 20061229

Method CALCULATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE_1 Call by reference Object reference (TYPE REF TO) DATA First value 20070104
2 Importing IR_VALUE_2 Call by reference Object reference (TYPE REF TO) DATA Second value 20070104
3 Importing IV_CALCULATION_TYPE Call by reference Type reference (TYPE) I Calculation type 20061229
4 Importing IV_DATA_OBJECT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE Data object type of first value 20061229
5 Importing IV_DATA_OBJECT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE Data object type of second value 20061229
6 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of first value (line type for tables) 20061229
7 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of second value (line type for tables) 20061229
8 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID of expression using calculation service 20061229
9 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20070104
# Exception Resumable Description Created on
1 CX_FDT_ARITHMETIC_ERROR FDT: Arithmetic error 20061229
2 CX_FDT_CONVERSION FDT: Conversion Failure 20061229

Method CALCULATE_BASIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE_1 Call by reference Object reference (TYPE REF TO) DATA First value 20070104
2 Importing IR_VALUE_2 Call by reference Object reference (TYPE REF TO) DATA Second value 20070104
3 Importing IV_CALCULATION_TYPE Call by reference Type reference (TYPE) I Calculation type 20061229
4 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of first value 20061229
5 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of second value 20061229
6 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID of expression using calculation service 20061229
7 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20070104
# Exception Resumable Description Created on
1 CX_FDT_ARITHMETIC_ERROR FDT: Arithmetic error 20061229
2 CX_FDT_CONVERSION FDT: Conversion Failure 20061229

Method CONCATENATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE_1 Call by reference Object reference (TYPE REF TO) DATA First value 20120619
2 Importing IR_VALUE_2 Call by reference Object reference (TYPE REF TO) DATA Second value 20120619
3 Importing IV_DATA_OBJECT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data Object Type 20120619
4 Importing IV_DATA_OBJECT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data Object Type 20120619
5 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Elementary Data Type 20120619
6 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Elementary Data Type 20120619
7 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID of expression using calculation service 20120619
8 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA 20120619

Method CONCATENATE on class CL_FDT_CALCULATION has no exception.

Method CONCATENATE_BASIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE_1 Call by reference Object reference (TYPE REF TO) DATA First value 20120619
2 Importing IR_VALUE_2 Call by reference Object reference (TYPE REF TO) DATA Second value 20120619
3 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of first value 20120619
4 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of second value 20120619
5 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID of expression using calculation service 20120619
6 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20120619
# Exception Resumable Description Created on
1 CX_FDT_ARITHMETIC_ERROR FDT: Arithmetic error 20120619
2 CX_FDT_CONVERSION FDT: Conversion Failure 20120619

Method CONCATENATE_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE Call by reference Object reference (TYPE REF TO) DATA Reference of the input structure ( VALUE ) 20121009
2 Importing IV_DELIMITER Call by reference Type reference (TYPE) CSEQUENCE Demiliter character 20121008
3 Returning RV_RESULT Value transfer Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TEXT Final concatenated string 20130917

Method CONCATENATE_STRUCTURE on class CL_FDT_CALCULATION has no exception.

Method CONCATENATE_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE Call by reference Object reference (TYPE REF TO) DATA Table Value Reference 20121004
2 Importing IV_DELIMITER Call by reference Type reference (TYPE) CSEQUENCE Delimiter 20121005
3 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID of the parent expression 20121004
4 Importing IV_TABLE_LINE_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of the table line 20121005
5 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Concatenated String 20121004

Method CONCATENATE_TABLE on class CL_FDT_CALCULATION has no exception.

Method CONVERT_STRING_TO_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_NUMBER Value transfer Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_NUMBER Elementary Data Type Number 20110822
2 Importing IV_TEXT Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TEXT Elementary Data Type Text 20110822
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION FDT: Conversion Failure 20110822

Method CREATE_TABLE_DATA_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ELEMENT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE FDT Element type of table line 20070104
2 Returning RR_DATA Value transfer Object reference (TYPE REF TO) DATA Data reference for table with line type of this element type 20070104
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION FDT: Conversion Failure 20070104

Method DETERMINE_RESULT_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RESULT_DATA_DEPENDENT Call by reference Type reference (TYPE) ABAP_BOOL 'X': If Result Type is data dependent 20110912
2 Exporting EV_RESULT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Result type of calculation 20110912
3 Importing IV_CALCULATION_TYPE Call by reference Type reference (TYPE) I Calculation type 20070104
4 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of first value (line type for tables) 20070104
5 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of second value (line type for tables) 20070104
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION FDT: Conversion Failure 20070104

Method DIVIDE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE_1 Call by reference Object reference (TYPE REF TO) DATA First value 20070104
2 Importing IR_VALUE_2 Call by reference Object reference (TYPE REF TO) DATA Second value 20070104
3 Importing IV_DATA_OBJECT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data object type of first value 20061229
4 Importing IV_DATA_OBJECT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data object type of second value 20061229
5 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of first value (line type for tables) 20061229
6 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of second value (line type for tables) 20061229
7 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID of expression using calculation service 20061229
8 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20070104
# Exception Resumable Description Created on
1 CX_FDT_ARITHMETIC_ERROR FDT: Arithmetic error 20061229
2 CX_FDT_CONVERSION FDT: Conversion Failure 20061229

Method DIVIDE_BASIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE_1 Call by reference Object reference (TYPE REF TO) DATA First value 20070104
2 Importing IR_VALUE_2 Call by reference Object reference (TYPE REF TO) DATA Second value 20070104
3 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of first value 20070104
4 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of second value 20070104
5 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20070104
# Exception Resumable Description Created on
1 CX_FDT_ARITHMETIC_ERROR FDT: Arithmetic error 20070104
2 CX_FDT_CONVERSION FDT: Conversion Failure 20070104

Method FRACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE Call by reference Object reference (TYPE REF TO) DATA Value 20090422
2 Importing IV_DATA_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data object type of value 20090422
3 Importing IV_ELEMENT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of value (line type for tables) 20090422
4 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20090422
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION FDT: Conversion Failure 20090422

Method GENERATE_ABS_VALUE 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 Table with Source Code 20120106
2 Importing IV_CREATE_VARIABLE Call by reference Type reference (TYPE) ABAP_BOOL 20120106
3 Importing IV_DATA_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE Data Object Type 20120106
4 Importing IV_ELEMENT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Elementary Data Type 20120106
5 Importing IV_OPERAND Call by reference Type reference (TYPE) STRING 20120106
6 Importing IV_RESULT_NAME Call by reference Type reference (TYPE) CLIKE 20120106

Method GENERATE_ABS_VALUE on class CL_FDT_CALCULATION has no exception.

Method GENERATE_CALCULATE 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 20070117
2 Exporting ET_SOURCE_CODE Call by reference Type reference (TYPE) IF_FDT_TYPES=>T_SOURCE_CODE 20070117
3 Importing IV_CALCULATION_TYPE Call by reference Type reference (TYPE) STRING 20070117
4 Importing IV_CREATE_RESULT Call by reference Type reference (TYPE) ABAP_BOOL 20070117
5 Importing IV_DATA_OBJECT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE 20070117
6 Importing IV_DATA_OBJECT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE 20070117
7 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE 20070117
8 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE 20070117
9 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20070117
10 Importing IV_OPERAND_1 Call by reference Type reference (TYPE) STRING 20070117
11 Importing IV_OPERAND_2 Call by reference Type reference (TYPE) STRING 20070117
12 Importing IV_QUAN_OP_RESULT Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Result in case of a quantity operation 20130107
13 Importing IV_RESULT Call by reference Type reference (TYPE) CLIKE 20070117
14 Importing IV_USE_REF Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20121207
# Exception Resumable Description Created on
1 CX_FDT_GENERATION FDT: Error in the Generation Process 20070117
2 CX_FDT_INPUT FDT: Invalid Input 20070117

Method GENERATE_CALCULATE_BASIC 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 20070117
2 Exporting ET_SOURCE_CODE Call by reference Type reference (TYPE) IF_FDT_TYPES=>T_SOURCE_CODE 20070117
3 Importing IV_CALCULATION_TYPE Call by reference Type reference (TYPE) STRING 20070117
4 Importing IV_CREATE_RESULT Call by reference Type reference (TYPE) ABAP_BOOL 20070117
5 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE 20070117
6 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE 20070117
7 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20070117
8 Importing IV_OPERAND_1 Call by reference Type reference (TYPE) STRING 20070117
9 Importing IV_OPERAND_2 Call by reference Type reference (TYPE) STRING 20070117
10 Importing IV_RESULT Call by reference Type reference (TYPE) CLIKE 20070117
# Exception Resumable Description Created on
1 CX_FDT_GENERATION FDT: Error in the Generation Process 20070117
2 CX_FDT_INPUT FDT: Invalid Input 20070117

Method GENERATE_CALCULATE_MINMAX 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 20090513
2 Exporting ET_SOURCE_CODE Call by reference Type reference (TYPE) IF_FDT_TYPES=>T_SOURCE_CODE 20090513
3 Importing IV_CREATE_VARIABLE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Include declaration of result var IV_VARIABLE_NAME yes/no? 20090513
4 Importing IV_DATA_OBJECT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE 20090513
5 Importing IV_DATA_OBJECT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE 20090513
6 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE 20090513
7 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE 20090513
8 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20090513
9 Importing IV_MAX Call by reference Type reference (TYPE) ABAP_BOOL True: Max, False: Min 20090513
10 Importing IV_OPERAND_1 Call by reference Type reference (TYPE) STRING 20090513
11 Importing IV_OPERAND_2 Call by reference Type reference (TYPE) STRING 20090513
12 Importing IV_RESULT Call by reference Type reference (TYPE) CLIKE 20090513
# Exception Resumable Description Created on
1 CX_FDT_GENERATION FDT: Error in the Generation Process 20090513
2 CX_FDT_INPUT FDT: Invalid Input 20090513

Method GENERATE_CALCULATE_ONE_P 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 20070119
2 Exporting ET_SOURCE_CODE Call by reference Type reference (TYPE) IF_FDT_TYPES=>T_SOURCE_CODE 20070119
3 Importing IV_CALCULATION_TYPE Call by reference Type reference (TYPE) STRING 20070119
4 Importing IV_CREATE_RESULT Call by reference Type reference (TYPE) ABAP_BOOL 20070119
5 Importing IV_DATA_OBJECT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE 20070119
6 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE 20070119
7 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20070119
8 Importing IV_OPERAND_1 Call by reference Type reference (TYPE) STRING 20070119
9 Importing IV_RESULT Call by reference Type reference (TYPE) CLIKE 20070119
# Exception Resumable Description Created on
1 CX_FDT_GENERATION FDT: Error in the Generation Process 20070119
2 CX_FDT_INPUT FDT: Invalid Input 20070119

Method GENERATE_CALCULATE_VECTORS 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 20111221
2 Exporting ET_SOURCE_CODE Call by reference Type reference (TYPE) IF_FDT_TYPES=>T_SOURCE_CODE 20111221
3 Importing IV_CALCULATION_TYPE Call by reference Type reference (TYPE) STRING 20111221
4 Importing IV_CREATE_RESULT Call by reference Type reference (TYPE) ABAP_BOOL 20111221
5 Importing IV_DATA_OBJECT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE 20111221
6 Importing IV_DATA_OBJECT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE 20111221
7 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE 20111221
8 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE 20111221
9 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20111221
10 Importing IV_OPERAND_1 Call by reference Type reference (TYPE) STRING 20111221
11 Importing IV_OPERAND_2 Call by reference Type reference (TYPE) STRING 20111221
12 Importing IV_QUAN_OP_RESULT Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Elementary Data Type 20130107
13 Importing IV_RESULT Call by reference Type reference (TYPE) CLIKE 20111221
# Exception Resumable Description Created on
1 CX_FDT_GENERATION FDT: Error in the Generation Process 20111221
2 CX_FDT_INPUT FDT: Invalid Input 20111221

Method GENERATE_CONCATENATE_TABLE 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 Table with Source Code 20121011
2 Importing IV_CREATE_RESULT Call by reference Type reference (TYPE) ABAP_BOOL 'X': Create the result declaration 20121011
3 Importing IV_OPERAND_1 Call by reference Type reference (TYPE) STRING Table Operand 20121011
4 Importing IV_OPERAND_2 Call by reference Type reference (TYPE) STRING Delimiter 20121011
5 Importing IV_RESULT_NAME Call by reference Type reference (TYPE) CLIKE Result Name 20121011
6 Importing IV_TABLE_LINE_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Table line type 20121011

Method GENERATE_CONCATENATE_TABLE on class CL_FDT_CALCULATION has no exception.

Method GENERATE_FRACTION 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 Table with Source Code 20120106
2 Importing IV_CREATE_VARIABLE Call by reference Type reference (TYPE) ABAP_BOOL 20120106
3 Importing IV_DATA_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE Data Object Type 20120106
4 Importing IV_ELEMENT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Elementary Data Type 20120106
5 Importing IV_OPERAND Call by reference Type reference (TYPE) STRING 20120106
6 Importing IV_RESULT_NAME Call by reference Type reference (TYPE) CLIKE 20120106

Method GENERATE_FRACTION on class CL_FDT_CALCULATION has no exception.

Method GENERATE_TONUMBER 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 Table with Source Code 20120106
2 Importing IV_CREATE_VARIABLE Call by reference Type reference (TYPE) ABAP_BOOL 20120106
3 Importing IV_DATA_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE Data Object Type 20120106
4 Importing IV_ELEMENT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Elementary Data Type 20120106
5 Importing IV_OPERAND Call by reference Type reference (TYPE) STRING 20120106
6 Importing IV_RESULT_NAME Call by reference Type reference (TYPE) CLIKE 20120106

Method GENERATE_TONUMBER on class CL_FDT_CALCULATION has no exception.

Method GENERATE_TOSTRING 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 Table with Source Code 20120625
2 Importing IV_CREATE_VARIABLE Call by reference Type reference (TYPE) ABAP_BOOL 20120625
3 Importing IV_DATA_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE Data Object Type 20120625
4 Importing IV_ELEMENT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Elementary Data Type 20120625
5 Importing IV_OPERAND Call by reference Type reference (TYPE) STRING 20120625
6 Importing IV_RESULT_NAME Call by reference Type reference (TYPE) CLIKE 20120625

Method GENERATE_TOSTRING on class CL_FDT_CALCULATION has no exception.

Method GENERATE_TRUNCATE 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 Table with Source Code 20120106
2 Importing IV_CREATE_VARIABLE Call by reference Type reference (TYPE) ABAP_BOOL 20120106
3 Importing IV_DATA_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE Data Object Type 20120106
4 Importing IV_ELEMENT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Elementary Data Type 20120106
5 Importing IV_OPERAND Call by reference Type reference (TYPE) STRING 20120106
6 Importing IV_RESULT_NAME Call by reference Type reference (TYPE) CLIKE 20120106

Method GENERATE_TRUNCATE on class CL_FDT_CALCULATION has no exception.

Method GET_CURRENT_DEC_SETTINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DECIMAL_SEPARATOR Call by reference Type reference (TYPE) CHAR1 Decimal Separator 20111129
2 Exporting EV_THOUSAND_SEPARATOR Call by reference Type reference (TYPE) CHAR1 Thousand Separator 20111129

Method GET_CURRENT_DEC_SETTINGS on class CL_FDT_CALCULATION has no exception.

Method IS_INITIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE Call by reference Object reference (TYPE REF TO) DATA Value 20070104
2 Importing IV_DATA_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data object type of value 20070104
3 Importing IV_ELEMENT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of value (line type for tables) 20070104
4 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL True: Value is initial 20070104
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION FDT: Conversion Failure 20070104

Method MAX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE_1 Call by reference Type reference (TYPE) DATA First value 20090507
2 Importing IR_VALUE_2 Call by reference Type reference (TYPE) DATA Second value 20090507
3 Importing IV_DATA_OBJECT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data Object Type 20090507
4 Importing IV_DATA_OBJECT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data Object Type 20090507
5 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Elementary Data Type 20090507
6 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Elementary Data Type 20090507
7 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20090507
8 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA 20090507

Method MAX on class CL_FDT_CALCULATION has no exception.

Method MIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE_1 Call by reference Type reference (TYPE) DATA First value 20090429
2 Importing IR_VALUE_2 Call by reference Type reference (TYPE) DATA Second value 20090429
3 Importing IV_DATA_OBJECT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data Object Type 20090429
4 Importing IV_DATA_OBJECT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data Object Type 20090429
5 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Elementary Data Type 20090429
6 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Elementary Data Type 20090429
7 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20090429
8 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA 20090429

Method MIN on class CL_FDT_CALCULATION has no exception.

Method MULTIPLY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE_1 Call by reference Object reference (TYPE REF TO) DATA First value 20070104
2 Importing IR_VALUE_2 Call by reference Object reference (TYPE REF TO) DATA Second value 20070104
3 Importing IV_DATA_OBJECT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data object type of first value 20061229
4 Importing IV_DATA_OBJECT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data object type of second value 20061229
5 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of first value (line type for tables) 20061229
6 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of second value (line type for tables) 20061229
7 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID of expression using calculation service 20061229
8 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20070104
# Exception Resumable Description Created on
1 CX_FDT_ARITHMETIC_ERROR FDT: Arithmetic error 20061229
2 CX_FDT_CONVERSION FDT: Conversion Failure 20061229

Method MULTIPLY_BASIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE_1 Call by reference Object reference (TYPE REF TO) DATA First value 20070104
2 Importing IR_VALUE_2 Call by reference Object reference (TYPE REF TO) DATA Second value 20070104
3 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of first value 20070104
4 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of second value 20070104
5 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20070104
# Exception Resumable Description Created on
1 CX_FDT_ARITHMETIC_ERROR FDT: Arithmetic error 20070104
2 CX_FDT_CONVERSION FDT: Conversion Failure 20070104

Method POWER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE_1 Call by reference Object reference (TYPE REF TO) DATA First value 20070104
2 Importing IR_VALUE_2 Call by reference Object reference (TYPE REF TO) DATA Second value 20070104
3 Importing IV_DATA_OBJECT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data object type of first value 20070104
4 Importing IV_DATA_OBJECT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data object type of second value 20070104
5 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of first value (line type for tables) 20070104
6 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of second value (line type for tables) 20070104
7 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID of expression using calculation service 20070104
8 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20070104
# Exception Resumable Description Created on
1 CX_FDT_ARITHMETIC_ERROR FDT: Arithmetic error 20070104
2 CX_FDT_CONVERSION FDT: Conversion Failure 20070104

Method POWER_BASIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE_1 Call by reference Object reference (TYPE REF TO) DATA First value 20070104
2 Importing IR_VALUE_2 Call by reference Object reference (TYPE REF TO) DATA Second value 20070104
3 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of first value 20070104
4 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of second value 20070104
5 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20070104
# Exception Resumable Description Created on
1 CX_FDT_ARITHMETIC_ERROR FDT: Arithmetic error 20070104
2 CX_FDT_CONVERSION FDT: Conversion Failure 20070104

Method PREPARE_4_ADD_SUB_AMOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_RESULT Value transfer Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_AMOUNT 20070118
2 Importing IV_OPERAND_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_AMOUNT 20070118
3 Importing IV_OPERAND_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_AMOUNT 20070118
# Exception Resumable Description Created on
1 CX_FDT_ARITHMETIC_ERROR FDT: Arithmetic error 20090528
2 CX_FDT_CONVERSION FDT: Conversion Failure 20080718

Method PREPARE_4_ADD_SUB_QUANTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_RESULT Value transfer Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_QUANTITY 20070118
2 Importing IV_OPERAND_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_QUANTITY 20070118
3 Importing IV_OPERAND_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_QUANTITY 20070118
# Exception Resumable Description Created on
1 CX_FDT_ARITHMETIC_ERROR FDT: Arithmetic error 20090528
2 CX_FDT_CONVERSION FDT: Conversion Failure 20090528

Method RAISE_CONVERSION_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CALCULATION_TYPE Call by reference Type reference (TYPE) I Calculation type 20061229
2 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of first value 20061229
3 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of second value 20061229
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION FDT: Conversion Failure 20061229

Method ROUND_OFF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE Call by reference Type reference (TYPE) DATA Input Value 20090817
2 Importing IV_DATA_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE Data Object Type 20090817
3 Importing IV_DEC Call by reference Type reference (TYPE) I Decimal Places 20090817
4 Importing IV_ELEMENT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Elementary Data Type 20090817
5 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20090817
6 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Rounded Off result 20090817

Method ROUND_OFF on class CL_FDT_CALCULATION has no exception.

Method SUBTRACT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE_1 Call by reference Object reference (TYPE REF TO) DATA First value 20070104
2 Importing IR_VALUE_2 Call by reference Object reference (TYPE REF TO) DATA Second value 20070104
3 Importing IV_DATA_OBJECT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data object type of first value 20061229
4 Importing IV_DATA_OBJECT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data object type of second value 20061229
5 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of first value (line type for tables) 20061229
6 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of second value (line type for tables) 20061229
7 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID of expression using calculation service 20061229
8 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20070104
# Exception Resumable Description Created on
1 CX_FDT_ARITHMETIC_ERROR FDT: Arithmetic error 20061229
2 CX_FDT_CONVERSION FDT: Conversion Failure 20061229

Method SUBTRACT_BASIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE_1 Call by reference Object reference (TYPE REF TO) DATA First value 20070104
2 Importing IR_VALUE_2 Call by reference Object reference (TYPE REF TO) DATA Second value 20070104
3 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of first value 20070104
4 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of second value 20070104
5 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID of expression using calculation service 20070104
6 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20070104
# Exception Resumable Description Created on
1 CX_FDT_ARITHMETIC_ERROR FDT: Arithmetic error 20070104
2 CX_FDT_CONVERSION FDT: Conversion Failure 20070104

Method TO_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE Call by reference Object reference (TYPE REF TO) DATA Value 20070104
2 Importing IV_DATA_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data object type of value 20070104
3 Importing IV_ELEMENT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of value (line type for tables) 20070104
4 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20070104
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION FDT: Conversion Failure 20070104

Method TO_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE Call by reference Object reference (TYPE REF TO) DATA Value 20110707
2 Importing IV_DATA_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data object type of value 20110707
3 Importing IV_ELEMENT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of value (line type for tables) 20110707
4 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20110707
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION FDT: Conversion Failure 20110707

Method TRUNCATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_VALUE Call by reference Object reference (TYPE REF TO) DATA Value 20090422
2 Importing IV_DATA_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT Data object type of value 20090422
3 Importing IV_ELEMENT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of value (line type for tables) 20090422
4 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA Result of calculation 20090422
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION FDT: Conversion Failure 20090422
History
Last changed by/on SAP  20140121 
SAP Release Created in 710