Expand the area.
hierarchy to the desired application area and select this
Select the validation or validation step you want to edit.
To create a new validation, choose
a. b. c.
Enter a name and description for the validation. Insert the required validation steps. For each validation step, enter a ,
The validation message is output if the prerequisite is fulfilled but the check is not successful.
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:
(You do not require an explicit prerequisite.)
Registration type <> '02' (entry in the column
; you can access this entry from the menu by
PIQRULESTSC-ENRCATEG <> '02' (entry in the co
; you can access this entry from
the menu by choosing
(02 corresponds to the registration status
, for example.)
You can also use the indicator DEGREE SEEK in the structure PIQRULESTSC to determine if a student is pursuing degree studies. _
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):
PIQRULESTSC-PARTT = ' X'
SUM ( PIQRULEMASTERS-SM_506_CPATTEMP ) where 7OPENSMBOOK >= '6.00000' AND SUM ( PIQRULEMASTERS-SM_506_CPATTEMP ) where 7OPENSMBOOK <= '10.00000' (entry in the column )
7OPENSMBOOK (open module bookings)
PIQRULEMASTERS-SM_506_SMSTATUS = ' ' OR PIQRULEMASTERS-SM_506_SMSTATUS = '01'
I n s t e a d o f t h e f i e l d P I Q R U L E S T S C - P A R T T , y o u c a n u s e t h e f i e l d F T _ P T _ S T A T U S o f t h e s t r u c t u PIQRULESTUDENT provided this field is available for the student. r e
© 2009 SAP AG
| bpx.sap.com 119