Show TOC Start of Content Area

This graphic is explained in the accompanying text Example: Creating a Criteria Hierarchy

 

Use

You want event history to log all events with event name MY_EVENT_1 and an event argument greater than 123, as well as all events with an event name starting with ABC and an event argument equal to 123.

This procedure tells you how to create the necessary criteria hierarchy. It contains two composite criteria. Each of the two criteria contains a pair of conditions: one for the event name and another for the event argument. The two criteria are related with an OR relationship.

Prerequisites

A blank criteria profile exists.

Procedure

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

       2.      In the Criterion Profiles list, double-click the profile.

       3.      In the criteria hierarchy of the profile, choose the default AND node.

       4.      Choose OR.

       5.      Choose the OR node you inserted, and then choose Criterion.

The Event History: Profiles and Criteria screen opens.

       6.      Define conditions for the criterion:

                            a.      In the Description field, enter Criterion 1.

                            b.      In the EVENTID field, enter MY_EVENT_1.

The condition for the event name is defined.

                            c.      On the right-hand side of the EVENTPARM field, choose This graphic is explained in the accompanying text with the quick info text Multiple selection.

                            d.      On the Select the criteria for field EVENTPARM screen, choose This graphic is explained in the accompanying text with the quick info text Maintain Selection Options.

                            e.      Choose greater than (This graphic is explained in the accompanying text), and then choose Continue.

                              f.      Enter 123.

                            g.      Choose This graphic is explained in the accompanying text with the quick info text Copy.

The condition for the event argument is defined.

                            h.      Choose This graphic is explained in the accompanying text with the quick info text Create.

Criterion 1 is created.

       7.      In the criteria hierarchy of the profile, choose the OR node, and then choose Criterion.

       8.      The Event History: Profiles and Criteria screen opens.

       9.      Define conditions for the criterion:

                            a.      In the Description field, enter Criterion 2.

                            b.      In the EVENTID field, enter ABC*.

The condition for the event name is defined.

                            c.      In the EVENTPARM field, enter 123.

The condition for the event argument is defined.

                            d.      Choose This graphic is explained in the accompanying text with the quick info text Create.

Criterion 2 is created.

Result

The criteria hierarchy is created and looks as follows:

AND

OR

Criterion 1 [EVENTID=MY_EVENT_1]

       [EVENTPARM>123]

Criterion 2 [EVENTPARM=ABC*]

       [EVENTPARM=123]

 

 

End of Content Area