SAP ABAP Data Element PIQCHECKCUST_FM (Function module for Check Report)
Hierarchy
IS-PS-CA (Software Component) IS-PUBLIC SECTOR CONTRACT ACCOUNTING
   IS-HER-CM-AD (Application Component) Administration
     PMIQ_E (Package) Campus Management, original language EN
Basic Data
Data Element PIQCHECKCUST_FM
Short Description Function module for Check Report  
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 Func. 
Medium 15 Func.Name 
Long 20 Function Name 
Heading 30 Function Name 
Documentation

Definition

Function Name represents the function module to be called for this application area

Applications

To do your own checks, function module(s) should be developed first. The function modules must have the same interface for dynmic call.

Importing parameter

IV_ APPLAREA    TYPE PIQ APPLAREA    Required

Exporting parameter

ET_MESSAGE    TYPE    BAPIRET2_T

The report RHIQ_CHECK_CUSTOMIZING will provide the application area to the function module, so that you can do different customizing checks for more than one application area in single function module, the importing parameter value tells which application area is using when the FM is currectly being called.

The function module assigned here will be called by report RHIQ_CHECK_CUSTOMIZING. The function module itself will do the specific customizing check.

Activities

How to Create/Modify function module

1.If you want to create new function module(s), please use function module HRIQ_CHK_CUSTOMIZING_TEMPLATE as template. Be sure not to changed the interface.

2.Inside the function module, check necessary customizing tables and fill message table ET_MESSAGE, the required fields are

o    TYPE            Message type

o    ID            Messages, message class

o    NUMBER        Messages, Message Number

o    MESSAGE_V1    Messages, message variables

o    MESSAGE_V2    Messages, message variables

o    MESSAGE_V3    Messages, message variables

o    MESSAGE_V4    Messages, message variables

You can carefully choose the message type so that a certain message can be emphasized even if it is actually not an error. The program chooses the following defaults:

A, X Message     1 Very Important

E Message        2    Important

W Message        3    Medium

I, S Message        4    Additional Information

3.Application area is used as importing parameter, so you can do customizing checks for more than one application areas in one function module. Be sure that you have assigned this function module to all related application areas.

4.Better make one function module do a smallest set of checks, so that the function module can be reused by multiple application areas.

5.You can refer to function module HRIQ_CHK_BP_CUSTOMZING for how to develop customizing check FM.

History
Last changed by/on SAP  20050224 
SAP Release Created in 471