In V_T001 you have all the comp codes and you assign the city, country, currency and language. My problem was that either the country or currency were missing on one of the entries, I don't remember which - this was causing the exact same error for me. It was a different comp code than the one I was running payroll for, only the country or currency (whichever wasn't missing) was the same and the program checked for the other comp code by default.
So if you're missing, for example, the currency in V_T001 for a different comp code than the one you're running payroll for, but which is assigned to the same country, you will have this error.