Hi Jacob,
There is a method in a class which we can execute which will delete all the metadata for the related tables. However please note, this is not a straight forward approach and is not recommended too.
By executing the method, it will remove the metadata entries in all tables for the DM and then if you
regenerate the DM, it will ideally generate fine.
Please drop me an email @ mohan.kumar01@sap.com and i will give you more details.
Regards,
Mohan