Maintaining Validations

Use

You use validations to evaluate the data of Student Lifecycle Management applications based on a certain set of rules. For example, you can determine whether a student fulfils the prerequisites for entrance to a specific program. The system transfers the data in the Student Lifecycle Management applications to rule evaluation at specific program locations, or callup points. During rule evaluation, the system determines which rule containers contain the rule modules with the relevant validations.

Procedure

From the SAP menu, choose Student Lifecycle ManagementAcademic Structure (Curriculum)RulesRule Elements Edit Validation .

Expand the Student Lifecycle Management hierarchy to the desired application area and select this area.

Select the validation or validation step you want to edit.

To create a new validation, choose  Validation .

Enter a name and description for the validation.

Insert the required validation steps.

For each validation step, enter a prerequisite , check and, validation message .

The validation message is output if the prerequisite is fulfilled but the check is not successful.

Choose  ( Save ).

1.Example

You want to create a validation which checks whether a student is pursuing degree studies when the student books a module. Your university offers certain modules which may only be booked by regular students pursuing degree studies. This validation might contain the following check:

Prerequisite:

(You do not require an explicit prerequisite.)

Check:

Registration type <> '02' (entry in the column Short description ; you can access this entry from the menu by choosing SettingsShort description ).

or: PIQRULESTSC-ENRCATEG <> '02' (entry in the column Technical name ; you can access this entry from the menu by choosing SettingsTechnical name ).

(02 corresponds to the registration statusoccasional student, for example.) You can also use the indicator DEGREE_SEEK in the structure PIQRULESTSC to determine if a student is pursuing degree studies.

2. Example

The following is an example of a validation which checks whether a part-time student has booked the required 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.00000' (entry in the column 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.