SAP ABAP Data Element CACSBWDATEFUNCTION (FM for Determining Organizational Unit in BW Using Key Date)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   ICM (Application Component) Incentive and Commission Management (ICM)
     CACSBW (Package) Commissions: Business Warehouse
Basic Data
Data Element CACSBWDATEFUNCTION
Short Description FM for Determining Organizational Unit in BW Using Key Date  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type FUNCNAME    
Data Type CHAR   Character String 
Length 30    
Decimal Places 0    
Output Length 30    
Value Table TFDIR    
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 FuncModule 
Medium 20 Function Module 
Long 20 Function Module 
Heading 10 FuncModule 
Documentation

Definition

Function module that tells you the key date for determining the organizational unit in Business Warehouse.

Notes

The remuneration line extractor for Business Warehouse attempts to create a link to organizational units for each remuneration line item.

If this information is already in the remuneration line, the organizational unit there is used. If the organizational unit is not known, the information is taken from the organization structure. As the structure is version-managed, a decision must be made regarding which version to take.

At this point, it is usually the organizational unit to which the business transaction is transferred. It is also possible to take the most recent one, or the choice may depend on the remuneration line item itself.

For this reason, you can define a function module in Customizing that is called for each line item and tells you the date to be set

The event derived from the effective date (CLC_DATE) and the effective time (CLC_TIME) is sent to the function modules maintained in Customizing. If this is the required function, you can set the function module maintained in Customizing to inactive.

The function module CACS_SAMPLE_EXIT_0001 can be used as a template and also covers the function of retrieving the current date.

Warning

Note that this function module is called for each item in the remuneration documents and can therefore lead to a severe drop in performance. We recommend, therefore, that you avoid reading data from the database tables and use buffering mechanisms where possible.

History
Last changed by/on SAP  20100310 
SAP Release Created in 462