SAP ABAP Data Element KPP_MDCFM (Form routine validating one or more characteristics)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   CO-OM-CCA (Application Component) Cost Center Accounting
     KPP (Package) Cost Accounting, planning processor
Basic Data
Data Element KPP_MDCFM
Short Description Form routine validating one or more characteristics  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type FORMNAME    
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 10 MsDt. form 
Medium 15 MasDatFormRout. 
Long 20 MastData form rout. 
Heading 10 MsDtForm 
Documentation

Definition

FORM <KPP_MDCFM> TABLES T1_KPP0M STRUCTURE KPP0M
T2_KPP0Z STRUCTURE KPP0Z
T3_KPP0A STRUCTURE KPP0A
T4_KPP0D STRUCTURE KPP0D
T5_KPP0DA STRUCTURE KPP0DA
T6_KPP0DD STRUCTURE KPP0DD
USING P1_SUBRC P2_MESG.

  1. The routine name <KPP_MDCFM> is free to choose. The routine must be defined in program <KPP_MDCPR> (if set).
  2. Table parameter T1_KPP0M must have structure KPP0M. It contains one or more values to be validated, in addition to the dimension values which go into the dimension to be tested (table KPP0D, fields RFIELD1 - RFIELD5). The objects of the current dimension to be validated are located in the first entry of the table, followed by all values of all identifiable dimensions in question (table KPP0D, fields RFIELD1 - RFIELD5).
  3. Table parameter T2_KPP0Z must have structure KPP0Z. It contains the time information for the fiscal years and periods involved. It is constructed by form routine <KPP_FTTFM> and can be drawn upon for master data record validation (time-dependent master data).
  4. Table parameter T3_KPP0A must have structure KPP0A. It contains the values determined through master data record validation to be valid. The application uses field KPP0A-INPUT to determine whether the characteristic value is indeed entry-ready or not (constants INPUT_ON or INPUT_OFF in KPPXI001).

Example

A locked version is not entry-ready
The application additionally finds the method of time-dependent aggregation in the field CALCM (normally CALCM_SUM).
Optionally, the text fields SCRTEXT_S, SCRTEXT_M, and SCRTEXT_L can be supplied, which must be documented by setting the field TEXTR = "X".

  1. Table parameter T4_KPP0D, T5_KPP0DA, and T6_KPP0DD must have the structures KPP0D, KPP0DA, and KPP0DD, and contain the necessary information for the dimensions in question.
  2. Formal parameter P1_SUBRC is filled by the application routine (P1_SUBRC = 0 -> characteristic value combination OK, <> 0 otherwise) and is defined as follows:
    DATA P1_SUBRC LIKE SY-SUBRC.
  3. Formal parameter P2_MESG has the structure MESG and takes any messages of type "S" from the application.

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