SAP ABAP Data Element COO_CQUFN (CO obj. planning: FM name to check COCalc quantity unit)
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_CQUFN
Short Description CO obj. planning: FM name to check COCalc quantity unit  
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_CQUFN>'
IMPORTING
I_KOKRS LIKE TKA01-KOKRS
I_MEINH_IN LIKE COKA-MEINH
I_MEINH_OUT LIKE COKA-MEINH
I_MEINH_OLD LIKE COKA-MEINH
I_KPP0D_HORIZ STRUCTURE COO0DH1
I_VRGNG LIKE TKA04-ACTIVITY
EXPORTING
E_SUBRC LIKE SYST-SUBRC
E_MESG STRUCTURE MESG
TABLES
T_COKA STRUCTURE COKA

  1. The function module parameter is optional and is used to perform application-specific validations when changing a COKA unit of measure.
    It was already checked from function group KAPP whether the change was compatible with the old unit of measure I_MEINH_OUT or with old unit of measure at initial access.
  2. The function module name <COO_CQUFN> is freely definable.
  3. Parameter I_KOKRS contains the set controlling area.
  4. Parameter I_MEINH_IN contains the newly entered unit of measure.
  5. Parameter I_MEINH_OUT contains the old unit of measure.
  6. Parameter I_MEINH_OLD contains the old unit of measure at initial access.
  7. Parameter I_KPP0D_HORIZ contains the current characteristics combination.
  8. Parameter I_VRGNG contains the current planning record transaction, with which the record is written in the database.
  9. Parameter E_SUBRC is set from the application and indicates whether the new unit of measure is correct (E_SUBRC=0), or incorrect (E_SUBRC>0).
  10. Parameter E_MESG is used in case of error to transfer a message.
  11. Table parameter T_COKA contains all COKA records read so far.

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