SAP ABAP Data Element N2_FCHKVAL (CheckValue Function Module)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       NMED (Package) R/3MED: Medical documentation GSD
Basic Data
Data Element N2_FCHKVAL
Short Description CheckValue Function Module  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CHAR30    
Data Type CHAR   Character String 
Length 30    
Decimal Places 0    
Output Length 30    
Value Table      
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 ChkVal 
Medium 15 CheckVal.funct. 
Long 28 CheckValue Function Module 
Heading 28 CheckValue Function Module 
Documentation

Definition

The CheckValue or ChkVal function module in a Change module is used to check external data recorded or changed in the document for content correctness. Before this, the external data is transferred to the external data module via the ConvertFromText or ConvertFromTab function modules. After being returned from the CheckValue module, the possibly modified external data is transported back again. If the CheckValue module reports an error, then the GetErr module is called, via which one or more error texts can be transferred.

Interface parameter

  • Importing
    • VALUE(DOK_ID) LIKE N2REFHDR-REFDOK
    • VALUE(REFKEY) LIKE N2REFHDR-REFKEY
    • VALUE(PARAMSTR) LIKE N2FDBS-PARAMSTR
    • VALUE(SS_MODE) LIKE SY-TCODE
  • Exporting
    • VALUE(DOKELEMENTID) LIKE N2DE-DEID
    • VALUE(TABLINE) LIKE SY-LILLI
  • Exceptions
    • WRONG_VALUE

The documentation element and the table line of an error can be given back via the parameters DOKELEMENTID and TABLINE.

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