cancel
Showing results for 
Search instead for 
Did you mean: 

PPM - Getting the successor task relations in Tasks view (for BADI)

ktulumen
Member
0 Kudos
230

Hi,

My question is about implementation of IF_EX_DPR_EVENTS in PPM tasks.

My clients expects the auto-release of Successor tasks when the current task is set as Complete.

I have achieved that "Projects" fiori tile where all the tasks of a project is shown. There is works perfectly, with the following code (Filter = ON_TTO_COMPLETED 😞

lr_task ?= ir_sender.

lr_task->IF_PPM_SCHEDULE_HOST~get_relations(

IMPORTING

et_successor = lt_successor " Table Node - Successor Node

).

But, when the user enters the "Tasks" fiori app for the same project & task, only the task assigned to the user are shown, and when user Completes that same task, again the BADI gets called (Flt = ON_TTO_COMPLETED), however the successor tasks can not be retrieved like it does in the Project app, it returns a blank list so I cannot perform the release method on the successor tasks.

What am I missing?

In the Tasks application, can I navigate to the successor tasks using another way?

Thanks in advance,

Accepted Solutions (0)

Answers (0)