SAP ABAP Data Element COO_CSAFN (CO obj. planning: Function module name to check set)
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_CSAFN
Short Description CO obj. planning: Function module name to check set  
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 0   
Medium 0   
Long 0   
Heading 0   
Documentation

Definition

FUNCTION '<COO_CSAFN>'
IMPORTING
I_FIELDNAME LIKE KPP0D-FIELDNAME
I_KOKRS LIKE TKA01-KOKRS
I_SETNR LIKE RGSMH-SETNR
I_SETINFO STRUCTURE SETINFO
I_FORM LIKE TKA52-FORM_U
EXCEPTIONS
...

  1. The function module parameter is optional. It must be given if sets are allowed for application-specific characteristic when entering planning.
  2. The function module name <COO_CSAFN> is free to choose.
  3. The function module is used in application-specific tests extending beyond the existence of the set.
  4. Parameter I_FIELDNAME contains the name of the set characteristic.
  5. Parameter "Controlling area" contains the current CO area and can be used for testing.
  6. Parameter I_SETNR contains the name of the set used.
  7. Parameter field structure I_SETINFO is filled before with function module G_SET_GET_INFO.
  8. Parameter I_FORM contains the current layout used and can be used in case of errors as a message variable.
  9. Other errors that may occur can be viewed using the command
    MESSAGE ... WITH ... RAISING ...

Example

  • A cost center group is always assigned to a controlling area. This is found in the field SETINFO-SEARCHFLD and can be tested vs. the current controlling area.

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