You can't achieve that through User Status.
Try any of the following exit to check the status of equipment & control the measurement document creation.
IMRC0003 MeasDoc: Menu exit for customer-specific function
IMRC0004 Measure.doc.:Exit according to stndrd checks for new mes.doc