SAP ABAP Class CL_FM_SPLIT_RULE (Rule-Based Account Distributions Rule processor)
Hierarchy
EA-PS (Software Component) SAP Enterprise Extension Public Services
   PSM-FM (Application Component) Funds Management
     FM_SPLIT_E (Package) Automatic FM account assignment splitting tool
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_GM_ACCT_ASSIGN_SPLIT Split account assignments for GM Cost Sharing 20041223
Properties
Class CL_FM_SPLIT_RULE  
Short Description Rule-Based Account Distributions Rule processor    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package FM_SPLIT_E   Automatic FM account assignment splitting tool 
Created 20041105   SAP 
Last change 20070913   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_FM_SPLIT_RULE has no forward declaration.
Interfaces
Class CL_FM_SPLIT_RULE has no interface implemented.
Friends
Class CL_FM_SPLIT_RULE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CON_ERR_MESSAGE Constant Protected Type reference (TYPE) SYMSGTY 'E' Message type E 20041112
2 CON_INFO_MESSAGE Constant Protected Type reference (TYPE) SYMSGTY 'I' Message type I 20041112
3 CON_ON Constant Protected Type reference (TYPE) BOOLE_D 'X' X 20041116
4 CON_WARN_MESSAGE Constant Protected Type reference (TYPE) SYMSGTY 'W' Message type W 20041112
5 GS_ACTION_PROFILE Instance attribute Protected Type reference (TYPE) FMSP_ACTION_PROFILE Action profile for FM account assignment splitting 20041105
6 GS_FIELD_PROFILE Instance attribute Protected Type reference (TYPE) FMSP_FIELD_PROFILE Field profile for FM account assignment splitting 20041105
7 GS_GROUP Instance attribute Protected Type reference (TYPE) FMSP_GROUP Structure for FM account assignment split Rule Group data 20041105
8 GS_RULE Instance attribute Protected Type reference (TYPE) FMSP_RULE FM account assignment splitting rule data 20041105
9 GT_ALLOC_BLOCK Instance attribute Protected Type reference (TYPE) TY_ALLOC_BLOCK_TAB Table of allocation blocks 20041105
10 GT_CUST_DIST_METH Static Attribute Protected Type reference (TYPE) TY_CUST_DIST_METH_TAB Table of custom distribution methods 20041124
11 G_BADI_REF Instance attribute Private Object reference (TYPE REF TO) IF_EX_FMSPLIT_CONTROLLER BAdI reference to FM_SPLIT_CONTROLLER 20041125
12 G_RULE_BADI_REF Static Attribute Protected Object reference (TYPE REF TO) IF_EX_FMSPLIT_RULE_PROCESS Business add-in interface IF_EX_FMSPLIT_RULE_PROCESS 20041124
13 G_RULE_BADI_RULE_TYPE Static Attribute Protected Type reference (TYPE) FMSP_RULE_TP FM account assignment splitting rule type 20041124
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20041105
2 GET_DIST_BADI_INSTANCE Instance method Protected Method Get BAdI instance for custom distribution method 20041124
3 SPLIT_ASSIGNMENT Instance method Public Method Split sender assignment into several receivers 20041105
Events
# Event Type Visibility Description Created on
1 ACTION_PROFILE_EVENT Instance Event
(0)
Public
(2)
An event from the action profile 20041108
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_ALLOC_BLOCK Protected See coding Summary data for an allocation block 20041105 begin of TY_ALLOC_BLOCK, alloc_block type fmsp_alloc_block, total_eqvl_amt type fmsp_dist_amount, total_percent type fmsp_dist_percent, end of ty_alloc_block
2 TY_ALLOC_BLOCK_TAB Protected See coding Table of allocation block summary data 20041105 ty_alloc_block_tab type standard table of ty_alloc_block
3 TY_CUST_DIST_METH Protected See coding Custom distribution methods with badi reference 20041124 begin of TY_CUST_DIST_METH , dist_method type fmsp_dist_method, badi_ref type ref to if_ex_fmsplit_distrib_meth, initialized type boole_d, end of ty_cust_dist_meth
4 TY_CUST_DIST_METH_TAB Protected See coding Table of custom distribution methods 20041124 TY_CUST_DIST_METH_TAB type standard table of ty_cust_dist_meth
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CONTROLLER Call by reference Object reference (TYPE REF TO) CL_FM_SPLIT_CONTROLLER FM account assignment split controller 20041125
2 Importing I_SPLIT_RULE Call by reference Type reference (TYPE) FMSP_RULE_ID Identifier for FM account assignment splitting rule 20041105
# Exception Resumable Description Created on
1 CANNOT_INSTANTIATE Unable to instantiate class for specified rule 20041105

Method GET_DIST_BADI_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_BADI_INSTANCE Call by reference Object reference (TYPE REF TO) IF_EX_FMSPLIT_DISTRIB_METH Business add-in interface IF_EX_FMSPLIT_DISTRIB_METH 20041124
2 Importing I_DIST_METHOD Call by reference Type reference (TYPE) FMSP_DIST_METHOD Distribution method for account assignment splitting 20041124

Method GET_DIST_BADI_INSTANCE on class CL_FM_SPLIT_RULE has no exception.

Method SPLIT_ASSIGNMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RESULT Call by reference Type reference (TYPE) FMSP_T_RULE_RESULT Table of results from FM assignment split rule 20041105
2 Importing IS_COBL Call by reference Type reference (TYPE) COBL Input account assignment in COBL format 20041223
3 Importing IS_TRIGGER Call by reference Type reference (TYPE) FMSPLIT_DERIVE Derivation Structure for FM account assignment splitting 20041108
4 Importing I_CHECK_DATE Call by reference Type reference (TYPE) DATUM Date for validity range checks and currency rates 20041108
5 Importing I_CONTROLLER Call by reference Object reference (TYPE REF TO) CL_FM_SPLIT_CONTROLLER FM account assignment split controller 20041116
6 Importing I_DIST_AMOUNT Call by reference Type reference (TYPE) FMSP_DIST_AMOUNT Amount to distribute 20041111
7 Importing I_DIST_QUANTITY Call by reference Type reference (TYPE) MENGE_D Quantity to distribute 20060915
8 Importing I_ORIG_AMOUNT Call by reference Type reference (TYPE) FMSP_DIST_AMOUNT Original total item amount 20041111
9 Importing I_ORIG_QUANTITY Call by reference Type reference (TYPE) MENGE_D Original Quantity 20060915
# Exception Resumable Description Created on
1 DISTRIBUTION_ERROR Unable to perform the split distribution 20041105
Event Signatures

Event ACTION_PROFILE_EVENT Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 ES_ACTION_SETTINGS Exporting Value transfer Type reference (TYPE) FMSP_ACTION_PROFILE_ACTION Actions in an FM account assignment splitting action profile 20041108
2 ES_SOURCE_DERIVE Exporting Value transfer Type reference (TYPE) FMSPLIT_DERIVE Source account assignment values 20041203
3 E_AMOUNT_REMAIN Exporting Value transfer Type reference (TYPE) FMSP_DIST_AMOUNT Amount unallocated after splitting 20050105
4 E_EVENT Exporting Value transfer Type reference (TYPE) FMSP_EVENT Name of event raised 20041203
5 E_QUANTITY_REMAIN Exporting Value transfer Type reference (TYPE) MENGE_D Quantity unallocated after splitting 20060915
6 E_SPLIT_ID Exporting Value transfer Type reference (TYPE) FMSP_SPLIT_ID Unique identifier for split in FM account assignment splits 20041203
7 E_SPLIT_RULE Exporting Value transfer Type reference (TYPE) FMSP_RULE_ID Identifier for FM account assignment splitting rule 20041203
8 E_TRACE_STEP Exporting Value transfer Type reference (TYPE) INT4 Step number in trace log 20041203
History
Last changed by/on SAP  20070913 
SAP Release Created in 600