Skip to Content

PPM 5.0 -- Unable to delete resources in the staffing of the project

Hi,

PPM 5.0

We have resources assigned to a role which in turn is assigned to a task in the Project. What we find is that we are unable to remove/delete the resource from the task. What could be the reason for this?

The resources to be removed are not the responsible resources for the task.

Error is dpr_bupa_link020.

I checked the following link from archive however does not help. We have not restricted any project updates for any status. The task is not completed. The same resources are assigned to other tasks and checklist items.

Best Regards,

Ashwini Pingle

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Dec 29, 2017 at 01:25 PM

    Hello Ashwini,

    If the resource which you are trying to delete (i.e. to remove from the role) is assigned as responsible resource in any tasks with "complete" status, then it is normal that you will get error message "Cannot delete role staffing" and will not be able to delete the staffing. This is explained in the long text of the error message:

    ******
    You are trying to delete a staffing. However, the resource of this staffing is entered as a responsible resource for at least one project element or is assigned to at least one task. The status of the assigned project element does not permit changes. This means that the links cannot be deleted and therefore, the actual staffing cannot be deleted either.
    *******

    In this case, unless there is some additional reason why the staffing cannot be deleted (which is unlikely), it should suffice to undo completed status on all the affected tasks before deleting the staffing.

    Best regards

    Francesco

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 28, 2017 at 02:20 PM

    Hello Ashwini,

    I once analysed the same system behaviour on an SAP customer system and could find out that the error dpr_bupa_link020 was being raised due to a problem with the RFC destination of the accounting system. The availability of the RFC destination is checked within the logic for deleting the role staffing (this is normal for projects which have been replicated to ERP). The fact that the RFC destination was not reachable caused the deletion of the staffing to fail.

    So it may be a long shot, but can you check if you are getting error "An error occurred when connecting to the accounting system... " when opening the project? if yes, then probably also in your case this issue with RFC destination for accounting is causing the error when removing the staffing. Check the destination in SM59 and see why it cannot be reached.

    If the above does not apply, then I can suggest that you place a breakpoint in method DELETE_CHECK of class CL_DPR_PARTICIPANT. If you debug the system behaviour here you should be able to find out why the error is being raised.

    Best regards

    Francesco

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 29, 2017 at 10:08 AM

    Hi Francesco,

    Thanks a lot for prompt response.

    I find that test connection for RFC returns 404 error -- however I can look into it next year with the help of Basis team.

    I am not getting any error for accounting when I open the project.

    Meanwhile I find that the particular named resource which needs to be removed from the role (this role is in turn assigned to plenty of tasks) is shown as responsible for all those tasks. Many of these tasks are with status Completed or Finished (rest are Released). So are the completed tasks not allowing this resource to be removed at all? I would like to try to change status for all completed tasks and try to delete this resource assignment from the role. Do you think this will work?

    Best Regards,

    Ashwini Pingle

    Add comment
    10|10000 characters needed characters exceeded