on 12-10-2008 6:03 AM
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
record.
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
Hi,
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.
Regards,
Silvia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
7 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.