cancel
Showing results for 
Search instead for 
Did you mean: 

How to find task to roles relationship in sap cprojects?

Former Member
0 Kudos

Hi,

could somebody help me to find out the roles from task. ie i need to find out the roles to which the tasks are assigned to

i referred couple of postings in sap forum but still i am not able to find the roles from tasks number.

your inputs are much appreciated

thanks,

Prabu

Accepted Solutions (0)

Answers (1)

Answers (1)

amit_maheshwari2
Contributor
0 Kudos

Prabu,

Follow steps as below to get the roles assigned to task.

1) Get the role gui_id with FM DPR_GET_GUID_BY_ID_FROM_DB. Pass parameters as below

IV_NUMBER:<Task_ID>

IV_OBJECT_TYPE: TTO

2) Get the task details using FM BAPI_BUS2175_GET_DETAIL by using Task GUID. Under ET_RoleAssignments, you will get the role guids assigned to the task.

3) Get the role details using FM BAPI_BUS2177_GET_DETAIL using Role GUID.

Cheers

Amit

Former Member
0 Kudos

Hi Amit,

Thank you so much. i am able to get to get the role assignments for task from the steps you provided.

Thanks again

Regards,

Prabu