Show TOC

Scheduling 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.
  2. Give your variant a name and choose 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 to enter a short text for your variant. Save you entries.
  5. To schedule your job as a background job, choose Start of the navigation path System Next navigation step Services Next navigation step Jobs Next navigation step Job Definition End of the navigation path and enter B (medium priority for periodic jobs) as the job class.
  6. Choose Start Condition and enter the date and 08:00 as the start time.
  7. Choose Execute job periodically.
  8. Choose Start of the navigation path Periodic Values Next navigation step Daily End of the navigation path and save your entries.

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

Results

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.