This document explains how you analyze and repair mismatches in the database for allocations, inventory, and planning data.
By using this function, you can check whether:
If an error is detected, the item/warehouse combination is recorded in a message file.
This routine is used to repair mismatches for allocation, inventory, and planning data in the database.
For more details on how the system is affected, see Managing Mismatches for Item per Warehouse.
Start 'Item per Warehouse. Analyze and Repair' (MWS980/B). Set the panel sequence to E, F.
Specify an ID for the analyze round, then select 1='Create'.
Press Enter. The E panel is displayed and an analyze round is created with status 10='New'.
Fill in the Description field and choose which checks you want performed:
Press Enter. The F panel is displayed.
The 'Select by event file based on changed transactions' field indicates whether the analysis round should be selected on the records in the event file. Transactions for each item/warehouse are written to the event file.
Select the warehouses and/or items to include in the analysis round. If you do not fill in these fields, all warehouses and items will be selected.
The 'Latest warehouse' and 'Latest item' fields indicate the last warehouse record and item record when the analysis round was stopped. Use these fields to determine where the analysis round will start.
Press Enter. The (MWS980/B) panel is displayed, showing the created analysis round in status 10 (New).
Select option 9='Analyze by selections' on the (MWS980/B) panel. While the analyze round is processing, the status will be 20='Submitted'.
After running the analyze round, these statuses will follow:
You can run and attempt to repair errors on the same command as an alternative. Select option 21='Repair by selections'.
You can also pause an ongoing analyze round. Select option 7= 'Pause round'. It will finish the ongoing process for the item/warehouse record. The round will have status 21='Paused'. Then, you can start the analyze round again from where it was stopped. To restart the analyze round, use the same option that you stopped it with.
Use Option 4='Delete' to delete the record in MWASHE (MWS980) and the corresponding records in MWASLN (MWS981) and MWASMG (MWS982).
This option must not be used when an analyze or repair is ongoing for the round.
Use Option 10='Analyze by result' to perform an analyze based on the result in the MWASLN file.
If the analyze round status is 30='Errors exist', you can analyze what is causing the errors.
Options on (MWS980/B)
Start 'Item per Warehouse. Analyze and Repair' (MWS980). From the (MWS980/B) panel, you can try to repair errors. Select option 22='Repair by result'. This option submits a repair attempt for the result in the log file (MWS981).
See a list with all messages in: Managing Mismatches for Item per Warehouse.
To display and repair errors, select option 11='Result'. This will start 'Analyze Round. Repair Errors' (MWS981), the error log file.
Options on (MWS981/B)
If there are obstacles against an error for some of the items, you can select option 4='Delete'. This deletes records in MWASLN (MWS981) and MWASMG (MWS982). This option must not be used when an analyze or repair is ongoing for the round.
If you want to repair the actual record (per item/warehouse) use option 21= 'Repair'. This will submit a repair attempt.
These are the statuses for an error:
To display messages for each errors/analyze round, select option 12='Message'. This will start 'Analyze Round. Display Message' (MWS982).
Messages are displayed on the (MWS982/B) panel. Open The E panel, then select option 5='Display' to show the message information.