X hits on this document

473 views

0 shares

0 downloads

0 comments

119 / 190

2.

Expand the area.

hierarchy to the desired application area and select this

3. 4.

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 ,

and,

.

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

  • 5.

    Choose

  • 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:

(You do not require an explicit prerequisite.)

Registration type <> '02' (entry in the column

; you can access this entry from the menu by

choosing

)

or:

PIQRULESTSC-ENRCATEG <> '02' (entry in the co

lumn

; 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. _

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):

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

| sdn.sap.com

| bpx.sap.com 119

Document info
Document views473
Page views495
Page last viewedWed Dec 07 12:45:05 UTC 2016
Pages190
Paragraphs8353
Words64781

Comments