Hamilton Sheriff Court heard Kinga Kramarz was found lying beside the machine on a footpath in East Kilbride town centre.
The accused, 21-year-old Ruturajsinh Virendrasinh Chavda, was arrested from his village in Mansa, Gandhinagar, on Wednesday.