Show TOC Start of Content Area

Procedure documentation Creating and Configuring a Criterion

Use

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.

Procedure

       1.      In the Event History (transaction SM62), choose the Criteria tab.

       2.      In the Criterion Profiles list, double-click the profile in which you want to create a criterion.

       3.      In the criteria hierarchy of the profile, choose the node in which you want to create a criterion.

       4.      Choose Criterion.

       5.      On the Event History: Profiles and Criteria screen, proceed as follows:

                            a.      In the Description field, enter a short description.

                            b.      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 This graphic is explained in the accompanying text with the quick info text 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.

       6.      Choose This graphic is explained in the accompanying text with the quick info text Create (Enter).

See also:

Example: Creating a Criteria Hierarchy

End of Content Area