SAP ABAP IMG Activity SIMG_OHPIQ_6022 (Maintain Validations)
Hierarchy
IS-PS-CA (Software Component) IS-PUBLIC SECTOR CONTRACT ACCOUNTING
   IS-HER-CM-AD (Application Component) Administration
     PMIQ (Package) Campus Management
IMG Activity
ID SIMG_OHPIQ_6022 Maintain Validations  
Transaction Code S_KI4_29000031   IMG Activity: SIMG_OHPIQ_6022 
Created on 19991216    
Customizing Attributes SIMG_OHPIQ_6022   Maintain Validation 
Customizing Activity SIMG_OHPIQ_6022   Maintain Validation 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_OHPIQ_6022    

In this activity, you create and maintain validations.

Example

As some modules can only be booked by students who are pursuing degree studies, you require a validation which determines whether a student is pursuing degree studies. This validation can contain the following check:

Prerequisite:
(You do not require an explicit prerequisite)

Check:
Registration status <> '02' (menu path Settings -> Short description)
or PIQRULESTSC-ENRCATEG <> '02' (menu path Settings -> Technical name).
(02 corresponds to the registration status is not pursuing degree studies).
You can also use the indicator DEGREE_SEEK in the structure PIQRULESTSC.

The following is an example of a validation which checks that a part-time student has booked the minimum number of modules per session (6 credits minimum) and has not exceeded the maximum number of module bookings (10 credits maximum):

Prerequisite:
PIQRULESTSC-PARTT = ' X'

Check:
SUM ( PIQRULEMASTERS-SM_506_CPATTEMP ) where 7OPENSMBOOK >= '6.00000'
AND SUM ( PIQRULEMASTERS-SM_506_CPATTEMP ) where 7OPENSMBOOK <= '10.0000' (menu path Settings -> Technical name)

(Logical) rule:
7OPENSMBOOK (open module bookings)

Rule contents:
PIQRULEMASTERS-SM_506_SMSTATUS = '' OR
PIQRULEMASTERS-SM_506_SMSTATUS = '01'

Instead of the field PIQRULESTSC-PARTT, you can use the field FT_PT_STATUS of the structure PIQRULESTUDENT provided this field is available for the student.

Standard settings

The Campus Management system does not contain predefined validations.

Activities

  1. Expand the Campus Management hierarchy to the desired application area and select this area.
  2. Select the validation or validation step you want to edit.
  3. To create a new validation, choose Create validation.
    1. Enter a name and description for the validation.
    2. Insert the required validation steps.
    3. For each validation step, enter a prerequisite, check, and validation message.
    4. Note: The validation message is output if the prerequisite is fulfilled but the check is not successful.
  4. Choose Save.

Further notes

You can transport validations to the production system manually using the function Validation -> Transport. You can also transport validations using the IMG activity intended for this purpose. For more information on transporting validations, refer to the activity Transport Validations.

Business Attributes
ASAP Roadmap ID 201   Make global settings 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG SIMG_OHPIQ_6022 0 AHR0000560 Campus Management 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
GGB0 T - Individual transaction object PIQGGB0 00000002KI Validations 
History
Last changed by/on SAP  20010418 
SAP Release Created in