To detain students, follow the path given:
SIS-->Enrollments-->Promoting Students-->Select the Current Class, Current Section and Promoting Year then click Get--> Select
All Students List option--> Select the respective student and update status as Detained from drop down and click on Save.