cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to restrict user to change status.

Former Member
0 Likes
1,081
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
View Entire Topic
Former Member
0 Likes

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 Likes

Hi Matthias,

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

Regards

Ravindra

Former Member
0 Likes

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 Likes

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