Skip to Content
author's profile photo Former Member
Former Member

Stop user from Deleting Staffing Data

Hi Friends,

We are implementing cProjects. We need to control Deleting of Staffing from a project, because the deletion of staffing record is a hard delete. The data is removed from the staffing tables of cProjects. So if someone is staffed, data saved and then is deleted we are not able to capture this information as who was staffed earlier whose record is no more now.

When some user changes the staffing dates, we are able to capture this in the BADI DPR_ATTRIBUTES, as the check method gives us the old attributes of the record as well as the new one that has been changed.

But if some staffing is deleted, the DPR_ATTRIBUTES does not indicates

through some variable that delete action has been performed for a


Request you to suggest which BADI shall be implemented to capture

Delete staffing data event that brings in the role that is being

deleted such that we can stop the record from deleting in case we want to do so.

We are very near to go-live and have already missed two deadlines till

date, so request you all to help.

Regards, Sandeep

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 23, 2008 at 09:38 AM


    the BAdI DPR_ATTRIBUTES also has a method called DELETE_CHECK, this is called when staffing is deleted (called in class CL_DPR_PARTICIPANT and method DELETE_CHECK), so you could implement your own logic here.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.