SAP ABAP Data Element PS_CHECK_FUNCNAME (Fact Checks Function Module Name)
Hierarchy
IS-PS-CA (Software Component) IS-PUBLIC SECTOR CONTRACT ACCOUNTING
   IS-PS-CA (Application Component) Public Sector Contract Accounting
     FMCA_EN (Package) PSCD: Public Sector English Development
Basic Data
Data Element PS_CHECK_FUNCNAME
Short Description Fact Checks Function Module Name  
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 10 Check FM 
Medium 15 Fact Checks FM 
Long 30 Fact Checks Function Module 
Heading 30 Fact Checks Function Module 
Documentation

Definition

Use

In this field you can enter the name of a function module that checks entries you have made for facts. Checks can occur either at fact type level or at fact set level.

The function module is called whenever you choose the Check Entries function on the contract object editing screen. Moreover, it is always called before saving fact values.

Errors triggered by this function module are collected and displayed in the message log while you are maintaining facts on the contract object editing screen.

SAP delivers a sample function module (ZZ_CHECK_FACT_TYPE_EXAMPLE) which you can use as a model to implement your own checks.

Dependencies

Example

To ensure the quality of the data entered, you might want to implement a routine check on the number of cylinders dependant on the number of vehicle wheels. If the tax agent entered 8 cylinders for a two-wheeler, the function module would trigger an error.

History
Last changed by/on SAP  20070914 
SAP Release Created in 700