on 08-22-2013 4:00 PM
Dear Gurus;
I need the automatic scheduling when a task has changed Dates (Actual or Plan). The Project Task it's released.
Someone has been worked with a solution to fix this?
Best regards,
Mariano.
Hi Mariano,
in standard it is not possible to trigger the scheduling automatically. You can enhance the method
CL_DPR_TASK_O IF_DPR_SCHEDULING_OBJECT~DETECT_SCHEDULING_RELEVANCE
The involved logic should be the following codes:
TRY.
lr_task_o ?= me.
IF lr_task_o->is_released( ) = abap_true.
* project element is released; do not trigger scheduling
Kind regards,
Zhenbo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mariano,
additionally to Zhenbo's posting I want to mention, that you have to take care of task relationships!
Tasks without relationship are recognized by implementing an enhancment to method
CL_DPR_TASK_O->DETECT_SCHEDULING_RELEVANCE. Tasks with relationships that need to reschedule are recognized later. So you have to do a second enhancement to CL_DPR_APPL_OBJECT_SCHEDULER->SCHEDULE_ALL (set SCHEDULE_FORCE).
Moreover I want to mention, that rescheduling the tasks will leave (perhaps) inconsistent scheduling for phase or project definition. So think about it to implement the enhancement of DETECT_SCHEDULING_RELEVANCE also to classes CL_DPR_PHASE_O and CL_DPR_PROJECT_O.
Cheers,
Peter
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 | |
4 | |
1 | |
1 | |
1 | |
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.