Creating and Configuring a Criterion
Criteria allow you to set various conditions for events. In a criterion, you can specify separate conditions for the event name and for the event argument. Within a criterion, the conditions for event name and event argument are related with an AND relationship.
In the Event History
(transaction SM62), choose the Criteria
tab.
In the Criterion Profiles
list, double-click the profile in which you want to create a criterion.
In the criteria hierarchy of the profile, choose the node in which you want to create a criterion.
Choose Criterion
.
On the Event History: Profiles and Criteria screen
, proceed as follows:
In the Description
field, enter a short description.
Specify conditions for the event name and event argument:
In the EVENTID
field, enter an exact value for the event name.
In the EVENTPARM
field, enter an exact value for the event argument.
If you want to specify complex conditions for EVENTID or EVENTPARM, choose
(Multiple selection
) next to the corresponding field to call the multiple selection screen. For
more information about working with this selection screen, see Working with Selection Criteria (in the Getting Started
guide), or press F1 for the application help.
Note
On the History: Profiles and Criteria
screen, you can specify conditions both for the event name and event argument, or just for one of the fields. The field for which you do not specify a value by leaving it blank takes the value *. For example, if for EVENTID
you
specify MY_EVENT, and leave EVENTPARM
blank, the event history will log all events with event name MY_EVENT and any event argument.
Choose
(Create (Enter)
).