on 04-09-2009 9:44 AM
Hello,
I need a solution for Demand Planning to automatically logoff all Users who are working in change mode in the planning book. Otherwise it is not possible to run a process chain directly without locking it.
Many thanks for your proposals?
Regards,
Stefan
Here is what will solve your problem:
Before running the process chain you need to first delete all lock entries on the planning area and then lock the planning area yourself so noone else can lock it while the job is running. You can accomplish this by:
a). Read the lock entries using function module ENQUEUE_READ.
b). Delete the lock entries using function module : TH_DELETE_USER
c). Lock the planning area by using
BAPI /SAPAPO/IF_EX_SDP_INTERACT~DVIEW_DISPLAY_MODE_SET
This will definitely solve your requirements.
Moreover before deleting the User Entries you can display a message to all users asking them to save and exit Planning Boojks in around 10 mints eklse their session will be terminated.
Regards,
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Stefan Merkel,
I am not sure if such "forced log-out" is a good practice. I guess this will still keep the data locked, as this not a clean exit.
Generally all such updates happen as a job scheduled to run late night also other users are locked during.
BR,
SB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
4 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.