SAP Program RQSBAS40 - Code groups: Check usage indicator

Description
This report checks the usage indicator for code groups and adjusts itif necessary.
As soon as a code group is used in another task (e.g., in an inspectionplan), the system sets the usage indicator (QPGR-VERWENDUNG = X).
The consequence of this is that the code group can no longer bedeleted from the system.
If you cancel the reference to the code group, the usage indicator isnot immediately reset since the system must check all the placeswhere the code group could be used (e.g., all task lists and masterinspection characteristics). Such an action would take up too muchtime. You can use this report instead.
This report checks if a code group is being used. If it is not beingused, the report resets the usage indicator. Afterwards, you can deletethe code group.

Example
The following example explains how the report works:
First you create code group ABC and assign codes to it.
The usage indicator is not yet set (QPGR-VERWENDUNG = SPACE).
You refer to the code group in an inspection plan.
The system sets the usage indicator (QPGR-VERWENDUNG = X).
You then delete the reference to the code group.
The usage indicator remains set. As a result, the code groupcannot be deleted in the transaction for maintaining selectedsets (QS41), even though it is no longer being used.
You execute the report. The report determines that the code group isno longer being used and resets the usage indicator (QPGR-VERWENDUNG =SPACE).
You can now delete the code group in transaction QS41.