SAP ABAP Data Element COO_COCFN (CO obj. planning: FB name to test data combination)
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_COCFN
Short Description CO obj. planning: FB name to test data combination  
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_COCFN>'
IMPORTING
I_PGEBIET LIKE KPPT-PGEBIET
I_KOKRS LIKE TKA01-KOKRS
I_KPP0D_HORIZ STRUCTURE COO0DH1 or 2 or 3 (acc. to planning area)
I_EC501_FOUND STRUCTURE COO0DHF
I_GJAHR_EINE_AUSPR
EXPORTING
E_SUBRC LIKE SYST-SUBRC
E_MESG STRUCTURE MESG
TABLES
T_KSTAR STRUCTURE COO_KSTAR
T_LSTAR STRUCTURE COO_LSTAR

  1. The function module parameter is necessary/unnecessary according to whether or not the application is to execute validations for characteristics combinations.
  2. Function module name <COO_COCFN> is freely definable.
  3. Parameter I_PGEBIET contains the current planning area.
  4. Parameter I_KOKRS contains the set controlling area.
  5. Parameter I_KPP0D_HORIZ contains the current characteristics combination.
  6. Parameter I_EC501_FOUND contains for each characteristic the information as to whether or not the characteristic value exists in I_KPP0D_HORIZ.
  7. Parameter I_GJAHR_EINE_AUSPR indicates whether the fiscal year characteristic in the current planning session has only one characteristic value. In this case, the application could possibly leave out fiscal year dependent validations (for performance reasons).
  8. Parameter E_SUBRC is set from the application and indicates whether the combination is correct (E_SUBRC=0), or incorrect (E_SUBRC>0).
  9. Parameter E_MESG is used in case of error to transfer a message. These messages are collected and can be displayed using the function "Error log ->" "Combinations...' within planning.
  10. Table parameter T_KSTAR contains the cost elements that have occurred so far, including the master data info. This info can be used for validations.
  11. Table parameter T_LSTAR contains the activity types that have occurred so far, including the master data info. This info can be used for validations.

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