SAP ABAP Data Element COO_AFAFN (CO obj. planning: FM name to fill appl.-spec. attributes)
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_AFAFN
Short Description CO obj. planning: FM name to fill appl.-spec. attributes  
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_AFAFN>'
IMPORTING
I_PGEBIET LIKE KPPT-PGEBIET
I_INTERNAL TYPE CHAR1
TABLES
T_KPP0U STRUCTURE KPP0U
T_KPP0UD1 STRUCTURE KPP0UD1

  1. The function module parameter is obligatory and is used
    • to provide general attributes with application-specific extra info.
  2. Function module name <COO_AFAFN> is freely definable.
  3. Parameter I_PGEBIET contains the current planning area.
  4. Parameter I_INTERNAL informs whether the call-up occurs from layout maintenance (I_INTERNAL=SPACE) or from planning (I_INTERNAL='X')
  5. Tab parameter T_KPP0U should be supplied through the application. The following fields are supplied from T_KPP0U:
    • TABNAME ( = to access the data dictionary (such as F1 Help))
    • RFIELDNAME ( = to access the data dictionary (such as F1 Help))
    • DFIELDNAME ( = characteristic that carries the attribute )

      The following general attributes must be supplied:

    • Object currency (T_KPP0U-FIELDNAME = UATTR_OWAER, UATTR_OWAER from LKAPPCON
    • Activity unit if the planning area is activities/activity prices (T_KPP0U-FIELDNAME = UATTR_LEINH, UATTR_LEINH from LKAPPCON)
    • Output factor if the planning area is activities/activity prices (T_KPP0U-FIELDNAME = UATTR_AUSFK, UATTR_AUSFK from LKAPPCON)
    • Output unit if the planning area is activities/activity prices (T_KPP0U-FIELDNAME = UATTR_AUSEH, UATTR_AUSEH from LKAPPCON)
  6. Tab parameter T_KPP0UD1 should be supplied through the application. It contains the identifying characteristics for the following attributes:
    • Output factor, T_KPP0UD1-UATTR = UATTR_AUSFK_1_2
      T_KPP0UD1-DFIELDNAME to be filled through the application
    • Output unit, T_KPP0UD1-UATTR = UATTR_AUSEH_1_2
      T_KPP0UD1-DFIELDNAME to be filled through the application

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