M17 Ende Subroutine