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
- Enter the report
RSEIDOCA in the ABAP editor select
Variants, and choose
.
- Give your variant a name and choose
.
- 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>
- Choose
to enter a short text for your variant. Save you entries.
- To schedule your job as a background job, choose
and enter
B (medium priority for periodic jobs) as the job class.
- Choose
and enter the date and
08:00 as the start time.
- Choose
Execute job periodically.
- Choose
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.