SAP Message QS225 - First delete all code groups from catalog &

Diagnosis
You can delete a code group after you first delete all the codes thathave been assigned to the group.