on 05-31-2006 12:26 PM
Hello,
First let me explain the regular functionality.
When a requisitionar (with role SAP_BBP_STAL_EMPLOYEE) orders the shopping cart and the same is gone to manager
( with role SAP_BBP_STAL_MANAGER), the manager can change but employee can not.
i.e. the manager can see the 'change' button under approval for that SC but employee can not.
This we have achieved by setting the security level (BBP_WFL_SECURITY) under PFCG for resp. role.
For role SAP_BBP_STAL_MANAGER = 4
For role SAP_BBP_STAL_EMPLOYEE = 1
Our client is happy with this functionality.
But, now it's desired that when the manager will raise a SC for his own use,
then the manager also must not be allowed to change the SC once ordered or when changed/rejected by his approver.
Please let us know whether this is possible?
If yes, How?
BR
Dinesh
Hi Dinesh,
Did you check BBP_WFL_SECUR_BADI ?
Kind regards,
Yann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dinesh,
with the BADI BBP_WFL_SECUR_BADI, method SET_SECURITY_LEVEL, you can change the WF security level determined from role personalization.
In input parameters you have the user ID in ACTUAL_USER, the object ID/Type/Guid, the scenario SCENARIO (see possible values in SE11 domain BBP_SC_SCENARIO).
So with the inbound scenario and the user's profiles, you can determine your own security level and overwrite the standard one.
In export parameter, you have the changed security level NEW_SEC_LEVEL.
Rgds
Christophe
User | Count |
---|---|
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.