How to make this thing work. My scenario is the user will log in to SAP B1, after login the other user will automatically lock if a certain date has been reached. Or maybe it is more safe to say that if the certain date reach, some users will be automatically lock. How can I do it using SQL? Thank you so much.