Show TOC

Procedure documentationScheduling a Monitoring Job (Example) Locate this document in the navigation structure

Prerequisites

The following refers to the example in the section Active Monitoring. The active monitoring report is to be started as a background job every morning at 8 am, to evaluate the IDocs which were received between 8 am and 6 pm on the previous day.

Procedure

  1. Enter the report RSEIDOCA in the ABAP editor select Variants, and choose Display (Display).

  2. Give your variant a name and choose Create (Create).

  3. Enter the following parameters:

    • Recipient type: US (user)

    • Recipient of the notification: For example, SMITH

    • Start time and end time before batch run: 1 day and 0 days 14:00:00h

    • Critical number of IDocs: 0

    • Status: 51, 56 and 64

    • Logical message type: ORDERS

    • Parameters pf the partner (in this case: sender): <corresponding values from the customer's partner profile>

  4. Choose  Continue ( Continue) to enter a short text for your variant. Save you entries.

  5. To schedule your job as a background job, choose   System   Services   Jobs   Job Definition   and enter B (medium priority for periodic jobs) as the job class.

  6. Choose Start Condition (Start Condition ) and enter the date and 08:00 as the start time.

  7. Choose Execute job periodically.

  8. Choose   Periodic Values   Daily   and save your entries.

    Enter the scheduled report again when saving (RSEIDOCA) and the variant that you maintained.

Result

IDocs selected during the daily run of the background job will now be:

  • Those which were received between 8 am and 6 pm on the previous day

  • Those which have the logical message type ORDERS

  • Those received from the relevant customer

An IDOC must now only be assigned the status 51,56 or 64 for a notification to be sent to user SMITH.