SAP ABAP Data Element COO_FSPKA (CO Obj. Planning: Fill FM Name with Appl.-Spec. Distr. Key)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       KPLA (Package) Cost Accounting, planning RK-S
Basic Data
Data Element COO_FSPKA
Short Description CO Obj. Planning: Fill FM Name with Appl.-Spec. Distr. Key  
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  
Medium  
Long  
Heading  
Documentation

Definition

FUNCTION '<COO_FSPKA>'
IMPORTING
I_OBJNR LIKE CCSS-OBJNR
I_GJAHR LIKE CCSS-GJAHR
I_WRTTP LIKE CCSS-WRTTP
I_VERSN LIKE CCSS-VERSN
I_SPRED LIKE T821V-SPRED
EXPORTING
E_MESG LIKE MESG STRUCTURE MESG
TABLES
ITZEIT STRUCTURE RKZEITTAB
EXCEPTIONS
ERROR_IN_K_COSLA_READ

  1. The function module parameter is optional.
  2. The function module name <COO_CUAFN> is freely definable.
  3. The function module parameter is used to set application-specific distribution keys.
  4. The application contains the object number, the fiscal year, the value type, the version and the distribution key name.
  5. In the PER_VALUE field in the ITZEIT table it gives the distribution key coefficient for each period.
  6. For example, If you want an equal distribution to periods 1-8, you enter "1" in periods 1-8 and "0" in the remaining periods.
  7. Caution: PER_VALUE is a character field and cannot contain any commas!
  8. If you want to issue an error message, you should fill E_MESG appropriately.

  1. General note:
    Befor you can use this function module, you must specify the name of the distribution key. It must be saved in function group KAPP in table KPP0SV. You do this in FORM FILL_OWN_SPREADKEYS (LKAPPF22).
    Additionally, you write a function corresponding to FORM EK017_USE_SPREADKEY_11 (LKAPPE03), which calls up this function module.
    EC506_GET_VALUES_FOR_SPREADKEY (RKCCAI99) is also to be adjusted.
    The F1 Help text SPRED_APPL is to be adjusted.

History
Last changed by/on SAP  19970910 
SAP Release Created in