I would recommend going for check links which may have a look at such orphan records and handle them correctly. Documents in RM20101 may have a distribution and other records associated in other tables, therefore, check links may be a better solution as you may not be able to determine all the tables.
Let's see what the results of check links are.