cancel
Showing results for 
Search instead for 
Did you mean: 

Resource assignment outside project

Former Member
0 Kudos

Hi Experts,

i am facing issues asignment with authorization. i have a requirement that the resource manager( not a project lead and he is not given project lead authorization) need to create roles and assign resources only for particular task in a project. in the current system it is not allowing the resource manager(without project lead authorization) to assign resources.

I have tried with different possiblilities by assigning resource management authorization roles and within project i assgined admin access for one particular task with write authorization at project definition level, still the user is not able to create roles or assign resource for that task that he is assgined admin rights.

please suggest me how to meet this requriement.

the requirement is, i will issue admin access to a particular task to a project member(called resource manager) and he should be able to do role cration and resource assignment for this task alone(not for a project). please suggest me how to acheive this requirement.

Looking for your suggestions

Thanks in advance,

Prabu

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Prabu,

For this requirement, no solution but enhancing the standard by changing the method (via overwrite-exit for instance): CL_DPR_C_R_INSERT_CHECK->EXECUTE

The standard system checks the "admin" authorization at upper element (therefore project):

  • Check authorization for executor (parent of requester)

TRY.

cl_dpr_authorization_services=>has_authority_for_activity(

ir_common = ir_executor

iv_activity =

cl_dpr_authorization_services=>sc_create_element ).

CATCH cx_dpr_authorization_missing.

lv_creation_possible = cl_dpr_co=>sc_false.

CATCH cx_sy_move_cast_error.

RAISE EXCEPTION TYPE cx_dpr_fatal_error.

ENDTRY.

BR

Matthias

Former Member
0 Kudos

Hi Mathias,

Thanks. i have achieved partial requirment by using the super user authorization object ACO_SUPER assigned to resource manager role. But still the user not able to create roles for this assignment(he can only able to assign resources to task/cadidate task). i will try your input and reply if that works

Thanks in advance,

Prabu