A teenage boy who seriously assaulted a woman sleeping rough has pleaded guilty to serious criminal trespass in South Australia's Youth Court.