on 2024 Dec 12 5:47 AM
Experts,
I have 2 shifts of employees. Morning and Evening shift. Say morning shift is from 7 AM to 2 PM. If the user logs in SAP after his shift hours, I have done an enhancement in user exit SUSR0001(SMOD). This throws a popup to user that he can't login outside his shift hours and will log him off automatically. So far so good.
Now if the morning shift employee is still in SAP past his shift hours, I have to raise a warning message that in the next 10 minutes he will be logged off asking him to save his work. My first thought is that I can simply write a background job program and achieve this. Later I realized that I can't show a popup to the user from a background job. I can send an email from the program but the chances of user opening the email is very less.
Has anyone got a requirement like this? Any directions/pointers will be very helpful.
Thanks
Bharath
Request clarification before answering.
Hello,
I am not familiar with ABAP channels, on a first glance it looks maybe a little bit too complicated and too oversized for this "simple" issue.
I am more with @raymond_giuseppi and the proposal of using TH_POPUP.
... Later I realized that I can't show a popup to the user from a background job.
It should be possible - although you are going to run the program calling TH_POPUP in the background, the popup should appear at the frontend of the targeted users. Did you try it?
Kind regards
Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
46 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.