SAP ABAP Data Element COO_CNOFN (CO obj. planning: FM name to generate new CO object number)
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_CNOFN
Short Description CO obj. planning: FM name to generate new CO object number  
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_CNOFN>'
IMPORTING
I_PGEBIET LIKE KPPT-PGEBIET
I_KOKRS LIKE TKA01-KOKRS
I_KPP0D_HORIZ STRUCTURE COO0DH1 or 2 or 3 (acc. to planning area)
EXPORTING
E_OBJNR LIKE CCSS-OBJNR
TABLES
T_COIOB STRUCTURE COIOB
T_COO0A STRUCTURE COO0A

  1. The function module parameter is required if the application is to create new object numbers at the same time as creating new planning records. It starts if during the preparation of the posting tables it is determined that the object number, in which the current data 1 entry is still initial (that is, this could not/was not set within the function module COO0SF-GOCFN).
  2. The function module name <COO_CNOFN> 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 E_OBJNR should be returned by the application and contains the CO object number to be created. This is posted by the application itself. When you use function module 'OBJECT_NUMBER_GET_xx', you do not need to make a separate update request, as this module executes the DB insert itself during COMMIT WORK.
  7. Table parameter T_COIOB is built through the application. It has two consequences for object planning:
    • Index for characteristic values for the application-specific characteristics (You can find the CO object number for a specific characteristic value).
    • Interpretation of the posting data for applications during integrated planning (transfer of data via the FI/CO interface).
  8. Table parameter T_COO0A should also be structured through the application. It contains control information that is identical for all CO objects and is not contained in the COIOB structure.

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