Hi,
when you collected the TR after changing and before changing the End routine.
it clearly says Syntax error in routine - check the one more time in DEV system for end routine.
after checking and activating the transformation then collect the one more TR for end routine.
Thanks,
Phani.