on 08-09-2016 1:02 PM
Hi Experts,
We have a requirement to restrict particular users in Change mode during Planning runs. They will have the display access to planning books but not to change mode. For that we have used the BADI '/SAPAPO/SDP_INTERACT' Medthod 'DVIEW_DISPLAY_MODE_SET' . But this BADI is making display access in planning book for all the Users and not at User Specific level. How can be achieve it for some users only, As we have a list ff users whom we want to give display access to planning books while planning run is happening . Once the Planning run is completed, they can enter the Change mode again.
Regards
Ranjit
Hi Ranjit,
"But this BADI is making display access in planning book for all the Users and not at User Specific level. How can be achieve it for some users only, As we have a list ff users whom we want to give display access to planning books while planning run is happening."
I am not sure if I understand clearly. You are saying that the BADI is allowing planning book to open in display and when FF users need access in display mode that should not be a problem right? Can you explain in details?
However, we have achieved this by
1. Creating a custom program to update a z-table which will have a indicator that planning area is locked. This program can set/reset the indicator in z-table.
2. Implemented BAdI to check this Z-table and display error message to users who are trying to go into change mode.
3. Set up this program as a step before and after the planning run to set and reset the indicator in z-table.
May be you have customize this for your requirement.
Thanks,
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ranjit
In our case we have locked the users before we start planning run we lock specific users to avoid any interface from these users into interactive planning book. Might be you can also try to following similar approach instead of locking the entire planning book.
Thanks and Regards
Amol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amol
Thanks for your quick reply. We dont want to lock out users completely as they should be able to have other functionalities like checking reports while our runs are hapening. We want to give display access to the planners instead of change access. We will just lock / disable the change access for the planners in interatcive planning.
Hi Amol
Yes you are right. we can achieve either planning area lock or user lock.
But , we partially achieved our requirement. We did by updating the User parameter in SU03 -- /SAPAPO/SDP94_D_MODE. We Developed a Z program , where in for the given User list the user parameter will be updated with " A ". Once the Planning runs are over it will update the parameter back to " I ". This worked for us, but the issue is , once the parameter is updated , User should re-login to APO to see the new function . But we don't want the user to relogin again.
Regards
Ranjit
User | Count |
---|---|
9 | |
4 | |
3 | |
2 | |
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.