cancel
Showing results for 
Search instead for 
Did you mean: 

Tasks status not getting refreshed

trupti_raikar2
Explorer
0 Kudos


Hi

Path : nwbc -> logged in as manager -> Project Managment -> Tasks  -> MyTaks/LastUsed

I see a task TTT of project XXX in released status.

I am externally(Not through browser) through report changed the status to 'complete'ed for task TTT . Now through browser I traveres to project XXX and open the task TTT. I see the task status is 'Completed' which is perfect.

But when i go to Project Managment -> Tasks  -> MyTaks/LastUsed page in browser the task TTT will be still in released status. I clicked 'Refresh' button, but has no effect.

How can i get the latest status displayed for the task in MyTasks?

Accepted Solutions (1)

Accepted Solutions (1)

judith_gabriel
Contributor
0 Kudos

Dear Trupti,

try to trigger the evaluation for this project by using report DPR_EVE_BATCH_DPO and check the available datas in the task-dashboard.

Best regards,

Judith

trupti_raikar2
Explorer
0 Kudos

😞  ,  Ran the mentioned report for my project. But no effect.

judith_gabriel
Contributor
0 Kudos

Dear Trupti,

you can try the following:
Remove the task from Favorites-Dashboard and add it again. Do you receive the correct status?

or

Revoke the status (completed) of the task - for example set it to "release". Then check the dashboard. Afterwards, set again status "completed".

Best regards,

Judith

trupti_raikar2
Explorer
0 Kudos

Judith,

I followed the first option of removing from favorites and readding it. But no effect again.

The second option works if we complete the task from browser. But when externally completed this issue happens.   Is there some way by which we can differentiate whether it is SAP issue or my enhancement issue?

-Trupti

trupti_raikar2
Explorer
0 Kudos

Basically  I am completing my task externally using below code

data ls_action type dpr_ts_ui_do_action.

           data lv_value type string.

           data lr_det_data type ref to cl_dpr_ui_log_detail.

           lr_det_data ?= cl_dpr_ui_log_task_detail=>get_instance( ).

           lv_value = 'ACTIDX03'.

           get reference of lv_value into ls_action-parameters.

           ls_action-guid = lv_task_guid.

           ls_action-action_key = cl_dpr_api_co=>sc_action_status_set.

           call method lr_det_data->report_action

             exporting

               iv_guid        = ls_action-guid

               iv_obj_type    = cl_dpr_co=>sc_ot_task

               iv_action_name = ls_action-action_key

               is_parameters  = ls_action-parameters.

            lr_chg_mgr = cl_dpr_ui_change_manager=>get_instance( ).

           lr_api_chg_hndlr = cl_dpr_api_change_handler=>get_instance( ).

           cl_dpr_ui_event_source=>start_report_change_events( ).

           lr_chg_mgr->reset_schedule_flag( ).

Am i missing something here?

Also one more special behavior i am seeing is,

Suppose my task TTT is Completed externally and the above mentioned issue is happening for TTT, ( i.e the status of TTT as release in Favorites). Later if i create another task TTT1 in same project XXX and Complete it externally.   I see that, now the Task TTT status get updated ritely  in Favorites tab but the new task TTT1 status not displayed correctly.

i digged in to Standard Refersh code but didnt get any clue on why its happening. 😞

trupti_raikar2
Explorer
0 Kudos

Thanks Judhit, Ur answer was right . We need to run DPR_EVE_BATCH_DPO. It worked after using correct Extract Layout.

Answers (0)