SAP ABAP Data Element COO_SVAFN (CO obj. planning: FM to set valuation version for actv input)
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_SVAFN
Short Description CO obj. planning: FM to set valuation version for actv input  
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_SVAFN>'
IMPORTING
I_PGEBIET LIKE KPPT-PGEBIET
I_KOKRS LIKE TKA01-KOKRS
I_FOUND LIKE COO0DHF
I_KPP0D_HORIZ STRUCTURE COO0DH1
I_TKA07 STRUCTURE TKA07
EXPORTING
E_VPDIO LIKE CCSS-VPDIO
EXCEPTIONS
DETERMINATION_IMPOSSIBLE

  1. The function module parameter is mandatory or optional, depending on whether the application is to use valuation methods for activity input from other versions or not.
    Maintenance of these alternative valuations is made in version maintenance (field TKA07-VPDIO).
  2. The function module name <COO_SVAFN> is free to choose.
  3. Parameter I_PGEBIET contains the current planning area.
  4. Parameter I_KOKRS contains the default controlling area.
  5. Parameter I_FOUND contains the indicators showing which characteristics from I_KPP0D_HORIZ are filled.
  6. Parameter I_KPP0D_HORIZ contains the current characteristic combination.
  7. Parameter I_TKA07 contains the version information, including, in field I_TKA07-VPDIO the alternative valuation method.
  8. Parameter E_VPDIO is to be returned by the application and shows the valuation method for activity inputs. If this is filled, the plan consumption for this plan record is valuated with the sender activity price of this version, not that of the version used in planning
    If the function module parameter is not used, valuation method is set to that of the version from planning.
  9. Exception DETERMINATION_IMPOSSIBLE must be set if determination of the valuation due to unfilled characteristics (determined in I_FOUND) is not possible.

Note

Springing to this function module occurs only if:

  • the object is indeed a plan record from activity input
  • an alternative valuation method is indeed found in the fiscal year for the affected version from planning, and set in I_KPP0D_HORIZ

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