SAP ABAP Data Element COO_SCDFN (CO obj. planning: FM name to set COCalc defaults)
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_SCDFN
Short Description CO obj. planning: FM name to set COCalc defaults  
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_SCDFN>'
IMPORTING
I_KOKRS LIKE TKA01-KOKRS
I_KPP0D_HORIZ STRUCTURE COO0DH1
I_VRGNG LIKE TKA04-ACTIVITY
EXPORTING
E_COKA STRUCTURE COKA
TABLES
T_KSTAR STRUCTURE COO_KSTAR
T_COKA STRUCTURE COKA

  1. The function module parameter is necessary/unnecessary according to whether the application affects the default settings for the COKA fields with new COKA records.
    If the function module parameter is not used, you set the following defaults:
    • COKA-MGEFL = CSKB-MGEFL
    • COKA-MEINH = CSKB-MSEHI
    • COKA-EIGEN = CSKB-EIGEN
  2. The function module name <COO_SCDFN> is freely definable.
  3. Parameter I_KOKRS contains the set controlling area.
  4. Parameter I_KPP0D_HORIZ contains the current characteristic combination.
  5. Parameter I_VRGNG contains the current planning record transaction, with which the record was written in the database.
  6. The fields mentioned above are set from the application with the E_COKA parameter.
  7. Table parameter T_KSTAR contains the cost elements that have occurred so far, including the master data info. This info can now be evaluated for the current cost element in I_KPP0D_HORIZ.
  8. Table parameter T_COKA contains all the COKA records read so far. These can be used during creation of new COKA records.

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