Coating or filling in grooves made in the semiconductor body