SAP ABAP Data Element COO_AUCFN (CO obj. planning: FM name for global authority check)
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_AUCFN
Short Description CO obj. planning: FM name for global authority check  
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_AUCFN>'
IMPORTING
I_KOKRS LIKE TKA01-KOKRS
I_MODUS LIKE COO0S-MODUS
I_PGEBIET LIKE KPPT-PGEBIET
EXCEPTIONS
...

  1. The function module parameter is optional.
  2. The function module name <COO_AUCFN> is freely definable.
  3. The function module is used to define whether or not the user has any planning authorization for the controlling area being used. This reduces any additional unnecessary access to the database. If the application does not have any particular plan authorizations to check, the function module parameter can remain as it is.
  4. You can use the parameter I_KOKRS for the authorization check.
  5. The parameter I_MODUS is used to derive the activity for the authorization check.
  6. The parameter I_PGEBIET is used to determine the objects to be checked.
  7. Output any errors which occurred via the language command.
    MESSAGE ... WITH ... RAISING ...

Example:
Cost centers: Cost element planning
There is an authorization protection with the fields controlling
area, <Object> and activity for the objects, cost center and
cost element.

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