If you move items from one itemtype into another over the CM API and you need to index them with ICCIndexer it might be that you receive a CTE0253 error after the batch finished. In this case you need to add the following parameter in the INI file of the ICCIndexer itemtype configuration.

IdxLoadCompKeys = 1

This will load the new Compkeys and you can successfull reindex the moved documents.