cancel
Showing results for 
Search instead for 
Did you mean: 

How to restrict user to change status.

Former Member
0 Kudos
Dear All,

we want to restrict users to change the status from set to assign to released status.
is there any authorization object to restirct user to change status?
i was trying with object CPRO_DPO Create Project Definition with activity 43 release ,but unable to do so.

Please do need ful 

Regards
Ravindra

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks for reply

Former Member
0 Kudos

Hello,

For user statuses there is auth object: B_USER_STAT

For system status, the user can change them if he/she has "write" administration. There is no authorization object for this.

I think the only way is to enhance standard class/method (this is what we've done): get_permitted_activities (from project/task/... class depending on the object type).

Matthias

Former Member
0 Kudos

Hi Matthias,

Please let me know the standard class/method where i change in get_permitted_activities

Regards

Ravindra

Former Member
0 Kudos

Hi Ravindra,

As I said above, the method is: get_permitted_activities.

There are several classes depending on the object type:

- cl_dpr_project_o: operative projects, phases.

- cl_dpr_task_o: tasks

....

Matthias

Former Member
0 Kudos

Hi Matthias,

In the class - CL_DPR_PROJECT_O - method GET_PERMITTED_ACTIVITIES

i found 2 parameters - IV_NO_CHANGEABLE_CHECK & RT_PERMITTED_ACTIVITIES

i want to set the check for status specific to users based on project . Then which value of the parameters of the method RT_PERMITTED_ACTIVITIES , will help to achieve this .

Please do needful

Regards

Ravindra

Former Member
0 Kudos

Hi Ravi,

probably you need to create user status profile.

Use TA BS02 to create status profile

here you have to add authorization key which needs to be defined in BS52

use b_user_stat auth object to give profiles in custom roles in PFCG

Thus you can block access to change status

Niranjan

Let me know if it helps

Points welcome

Thanks Mathias

Edited by: Niranjan Dandekar on Apr 2, 2009 1:21 PM

Edited by: Niranjan Dandekar on Apr 2, 2009 1:21 PM