cancel
Showing results for 
Search instead for 
Did you mean: 

PPM 6.1 SP09: Mandatory Tasks with with status complete and cancel

former_member192883
Participant
0 Kudos
612

Hello Everyone,

I am able to complete the phase without completing/Cancelling the tasks. I could set a mandatory check for the tasks on the additional data tab but it is only relevant for the status complete not cancel.

I am not able to complete the phase if the mandatory task has a status cancel.

How do I allow mandatory tasks to have either complete or cancel status and still able to complete the phase?.

Mohan

Accepted Solutions (1)

Accepted Solutions (1)

francesco_pezzoli
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Mohan,

I see two possibilities:

  1. either you remain with the SAP Standard behaviour and follow the recommendations of note 2277945. This suggests that you set additional checkbox "Relev. for App." (relevant for application) in the "Additional Data" tab page for the task, this way you will no longer even have the option to cancel the mandatory task.
  2. or you follow the hint in old note Nr. 861329 and modify method COMPLETE of class CL_DPR_PHASE_O, so that the program logic does not only check for lr_task_o->is_completed( ) but also checks for lr_task_o->IS_CANCELLED. This way you would be able to complete phases even if the mandatory task is canceled (do however pay attention to the disclaimer in the note, stating that SAP assumes no responsibility for any resulting data inconsistencies).

Best regards

Francesco

Answers (1)

Answers (1)

former_member192883
Participant
0 Kudos

Hello Francesco,

1. "Relev. for App" checkbox is not available because I had to disable the "Approve Phase" at the phase level due to no Adobe Document Server. The only option left is to check the mandatory checkbox at the task level then every task should have a "Complete" status to set the phase status to "Complete".

I assume I can't have the "Approval" tab without an adobe document server?.

2. I am not sure if I want to take this route.

Regards,

Mohan

francesco_pezzoli
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Mohan,

I agree that the option 1 is not viable if you are not working with approvals (even if your aim were to stop you from cancelling these tasks at all, which is what this approach would do).

This leaves you with option 2. As the checks for mandatory tasks with status "completed" is hardcoded in the method which I mentioned in my earlier reply, there is unfortunately really no other way to change this standard system behaviour than to change the coding via customer enhancement.

Regards,
Francesco