Purpose
The EWM Check Monitor (CHM) is a tool to help identification and correction of data inconsistencies in customer systems.
Standard Checks and Correction functions
Checks are organized in a hierarchy of check categories - groups - checks. The hierarchy is built upon defined major EWM application areas. Currently a set of standard checks and corrective functions have been implemented by SAP.
Features:
- You can execute ad-hoc checks (consistency or any other) or save check profiles for repetitive execution.
- Checks can be executed instantly or scheduled as a job.
- For reuse you can create and save so called check profiles. Profiles contain selection of checks to be executed and parameters for selection of objects to be checked.
- The results of the checks are collected and displayed in so called check logs. Check logs are extended business application logs (BAL Log) containing standard messages and - optionally - additional data attached to these messages. Check logs can be saved for later analysis.
- Check log content can be analyzed using different check log views. These views can be defined in order to group the messages based on some common attributes (e.g. all different messages belonging to a single delivery item, warehouse task or HU).
How-to
- How to create a check profile?
- How to set runtime parameters?
- How to schedule check as job?
- How to start follow-up functions for the check messages?
- How to schedule follow-up corrections as job?
- How to create a check profile?
Check profile (a.k.a. Check Monitor Profile) is some kind of "variant" of the Check Monitor. Check profile defines what checks are performed and selection criteria to identify the objects to be checked. The check profile is a persistent object, you can save it in order to execute the same checks multiple times.
Step-by-step
- Start transaction /SCWM/CHM_PRF.
Choose function "Create Profile" form the application toolbar.
--> In the dialog box enter profile name and description.
In the hierarchy of checks select the categories, groups and checks you want to execute:
Set selection and check control parameters if required.
The selection parameters set on category or group level apply for all contained check: if the selection screen is assigned to a category or group, then the selection adapter runs on this level and the selected objects (e.g. inbound delivery items) are passed to the selected checks of the category/group. The lower level selection parameters only refine the filtering performed on the higher level (e.g. settings for check "Missing Document Flow Links" will only be applied during this particular check to deal with only specific link types), but do not affect the execution of other checks (above e.g. Handling Unit Reference).
Open the selection screen for the category/group/check where you want to make settings. For this you have to click the "Show Selection" icon in the column "Sel." of the tree. If no icon is present, then no selection parameters can be specified.
Enter the necessary selection parameters to ensure your check runs on the required objects. The selection screens vary for each different category, group or check.
For all selection screens, where you have made settings the icon
will indicate this fact.
When you've finished with all required settings save the profile (CTRL+S).
Important: Changes to a check profile are only effective, when they're saved, otherwise the earlier version of the profile is executed!
Saved check profiles can be managed in the left-hand browser via menu "Edit" or context menu of the entries. Available functions are:
Display: Displays the profile settings in the right side panel.
Change: Enables changing of the profile settings in the right side panel.
Create: Create a new profile.
Copy: Copy settings of the selected profile into a new one.
Delete: Delete profile persistently.
Validate (only in main menu or via toolbar button):
Checking of profile parameter consistency (e.g. obligatory selection parameters are filled)
Authorization checks
List of selected objects can be queried based on the selection parameters: this enables you to check, if the selection criteria will really identify the required objects.
Execute: Checks selected in the profile will be executed and the results will be summarized in a check log.
Display Logs: saved logs for the selected check profile can be listed and analyzed (this option navigates to transaction Check Log Viewer /SCWM/CHM_LOG).
2. How to set runtime parameters?
Before execution of checks in the Check Monitor you can set different parameters in order to optimize runtime, filter log messages and set check log expiration. The execution parameters can be set for ad-hoc check execution and execution of check profiles, as well.
The setting dialog can be opened from the profile maintenance transaction or the ad-hoc check screen using the pushbutton "Set Execution Parameters":
Default execution parameters can be saved for a user.
Parameter options
- Check Message Filter:
- Minimum priority: the minimum message priority of messages displayed in the log can be set. This enables to reduce size of logs of checks. For example a check provides error, warning and status messages as well. You want to avoid the log to contain messages that does not indicate error situations, then you simply set the minimum priority to "Warning" or "Error". this is especially useful when you schedule profile execution as a regular job and want only have a log, if any errors are identified.
- Display Check Monitor Messages: enables to display non-check-specific messages raised by the Check Monitor itself (e.g. wrong customizing or performance relevant messages).
- Check Log Validity: As in standard BAL logs, you can set the validity period for the logs created. The log deletion report will check validity before deletion of expired logs.
- Parallel Processing: As in other applications, reports, you can enable parallelization of check executions and define the server group and percentage of maximum work process usage.
3. How to schedule check as job?
EWM Check Monitor (CHM) provides a report in order to enable scheduling of check execution as background job. This report is /SCWM/R_CHM_PRF_RUN (package /SCWM/UTILITIES).
The report is very simple, you can specify:
- the profile that you want to execute,
- the runtime execution parameters (similar parameters to the online check execution).
You simply schedule this report with the defined variant in transaction SM36 (Schedule Background Job). After execution the report will save the resulting Check Log to database and you can handle them in the CHM Check Log Viewer transaction (/SCWM/CHM_LOG)
4. How to start follow-up functions for the check messages?
Follow-up actions may enable further analysis of the problematic objects or even correct the inconsistent entries.
The concept of an application-independent check monitor also means, that the follow-up actions for the different check messages are defined and implemented by the check adapter that returned the given check message. Technically it means, that for different check messages different options can appear, if you right-click them.
How can you trigger follow-up actions?
After executing checks the results are collected into a Check Log. If you open a check log you can view the check messages and the detailed data records attached to them.
- Select one or more messages and right-click them to display the context menu.
- On the bottom of the menu item list you may find some message specific entries (the first 3 menu items are default ALV context menu items). Of course it depends on the logic of the responsible check adapter, which or even if any follow-up actions are available from the given message (see some examples on the screenshots below).
- Choose the one you want to use. Based on the implementation various things may happen: navigation to another transaction to display details of the object, a new screen providing further information or the possibility to execute corrections on the selected objects.
- You have also the option to choose only one or more records from the "Details" list of a message and trigger a follow-up function for these specific entries.
For details about the available specific follow-up actions see the pages about details of the standard checks and corrections.
5. How to schedule follow-up corrections as job?
With some of the checks it is possible to correct the detected inconsistencies. Some corrections which does not need any end user interaction and decision can be simply executed with a few clicks in TX. /SCWM/CHM_LOG after selecting the corresponding check logs. For example the inconsistencies detected by the status management checks for inbound/outbound deliveries can be executed manually by anyone.
With report /SCWM/R_CHM_LOG_ACT it is possible to execute correction actions which do not need end user input. The report can be scheduled in a background job to select the recently generated check messages, this way there is no need to open TX. /SCWM/CHM_LOG to select and inspect the recently saved check logs manually. If the selected check logs refer to inconsistencies which can be corrected automatically then these will be executed (e.g. status correction for deliveries).
If this approach is combined with the scheduled /SCWM/R_CHM_PRF_RUN report then the detection and correction of many inconsistencies can be automatized by reducing the manual effort.
Important
The report selects only such check logs which were saved in Customer mode. Checks which require support mode offer correction actions where end user input or validation is required on a special UI (e.g. adding document flow), such steps in background mode are not possible.
This feature is available after implementing the following notes:
- 2883401 Check Monitor Framework: New report for mass execution of follow-on correction actions
- 2915573 Check Monitor Framework: New report for mass execution of follow-on correction actions (UDO report
This function is not available below SCMEWM 9.0.
Related Content
Document Flow Checks for Outbound Process
Related Documents
SAP Extended Warehouse Management HELP Page
Related SAP Notes/KBAs
On SAP KBA "3058435 - EWM Check Monitor" you can find some notes and KBAs with How To steps to perform some corrections from your side.