Symptom
An ABAP runtime error occurs during mass maintenance of quality settings in the Change QM Inspection Setup - Collective Processing app.
Checking the detailed dump information in ABAP Runtime Errors app, the error is ITAB_DUPLICATE_KEY and associated with the program RQMQMM00.
Environment
S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the Change QM Inspection Setup - Collective Processing app.
- Select a plant and materials.
- In the "Activate Inspection Type" tab, check "Assign Inspection Type" and "Activate Despite Insp. Stock".
- Select "Inspection Type" - "01".
- Click "Run".
- Select all materials.
- Click "Save".
Cause
The issue is caused by a duplicate assignment of inspection type to inspection lot origin.
Checking in 102518 - Maintain Inspection Lot Origins and Assign Inspection Types, there should be duplicate assignments in some inspection lot origins. For example, inspection type Z17 has been assigned to inspection lot origin 17 for 2 times.
Resolution
Delete the duplicate assignments.
See Also
Keywords
ABAP runtime error, Change QM Inspection Setup - Collective Processing, QA08, duplicate assignment, inspection type, inspection lot origin, RQMQMM00, ITAB_DUPLICATE_KEY , KBA , QM-IM-2CL , Quality Inspection (Public Cloud) , Problem