SAP ABAP Function Module COPA_SPREAD_VALUE_WITH_ACTION (Verteilung und Aktion auf Summenebene)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       KE (Package) Profitability Analysis
Basic Data
Function Module COPA_SPREAD_VALUE_WITH_ACTION Verteilung und Aktion auf Summenebene  
Function Group KEFV   Distribution functions  
Program Name SAPLKEFV    
INCLUDE Name LKEFVU01    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting SPREAD_KEY TYPE T821V-SPRED New distribution key
Exporting SUM TYPE Total of the distributed values
Importing APERIO TYPE T821S-APERIO Starting period in the transfer ta
Importing COPA_EXTENSION TYPE SPACE Flag: Cross-year distribution seri
Importing DECIMALS TYPE 0 Number of places behind decimal po
Importing DECIMALS_ANDEC TYPE T006-ANDEC -1 Anzahl Dezimalstellen, auf die gerundet wird
Importing ERRSUM0 TYPE ' ' = 'X', falls Exc. bei Summe = 0 gewünscht
Importing LENGTH TYPE Length of the P-fields OLDVALUE/NE
Importing PERFLAG TYPE T821S-PERFLAG '1' Period type indicator
Importing PERIV TYPE T821S-PERIV Business annual variant
Importing SPREAD_ACTION TYPE '*' Action
Importing SPREAD_KEY TYPE T821V-SPRED New distribution key
Importing VALUE TYPE Value to be distributed
Importing CALCM TYPE KPP0L-CALCM '1' Berechnungsmethode einer Datenzelle
Importing I_SPREADMULTI_USE TYPE KPP1L-XFELD SPACE Bezugsbasis mit VALUES-SPREADMULTI multipliz.
Tables VALUES TYPE CEPFV Value table
Exception DECIMAL_OVERFLOW TYPE Decimal place overflow 505
Exception I_COPA_APERIO TYPE Starting period in VTL not defined
Exception I_COPA_PERFLAG TYPE Period type indictors do not match
Exception I_COPA_PERIV TYPE Fiscal year variants do not match
Exception I_COPA_ZYKEL TYPE Time pattern weeks cannot be cycli
Exception I_SPREADKEY_INVALID TYPE Distribution key not defined 501
Exception I_SPREADKEY_MANUAL TYPE Distribution for manual VTL not po
Exception I_SPREAD_ACTION_INVALID TYPE Action not defined 504
Exception I_T821S_COPA TYPE VTL only provided for use in COPA
Exception I_T821S_NOTFOUND TYPE VTL in table T821S not defined 506
Exception I_T821S_NOT_COPA TYPE VTL not provided for use in COPA 5
Exception SUM_SPREADKEY_EQ_0 TYPE nur bei ERRSUM0='X', Summe Vtl.faktoren = 0 ---
Exception SPREADMULTI_ALL_EQ_0 TYPE Alle Faktoren in CEPFV-SPREADMULTI = 0 515
Exception WEIGHT_SPREADVALUE_ALL_EQ_0 TYPE Alle Faktoren WEIGHT*SPREADVALUE = 0 516
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  19930710 
SAP Release Created in