on 10-07-2015 2:40 PM
Dear experts,
we use a customer status profile and we want to use the evaluation on PPM 5.0
If we change the status manually, everything works fine.
But is we change the status through BAPI_BUS2175_SET_STATUS, then the evaluation does not updates the information.
We also perform a commit.
Any ideas?
Thank you.
Laura
Hi everybody, Hi, we did not open any SAP notice, because we solved this issue by scheduling the evaluation as a batch job, that runs run every 10 minutes. Kind Regards. Laura
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Laura,
the decription is a little vague, I dont get your question really.
The function bapi_bus2175_set_status only and should change the task status. What do you mean, the evaluation does not change this information. Is the the status information of task dashboard?
P.S: the evaluation triggers the workflow sounds also stange, the workflow is linked typically while a status changes and evaluation never change the status.
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 Zhenbo,
We use the bapi_bus2175_set_status to change task's custom status. This event triggers a workflow that releases the successors of this task and changes the value of some fields at task level.
When the evaluation is not active, this does perfectly work.
But when we activate the evaluation via customizing, this does not work.
We think that this is due to the fact the evaluation somehow makes the workflow starting twice.
Laura
Hi Laura,
thanks for your quick feedback.
I still donot get your point.
Is the question regarding
1. twice getriggered workflows with evaluation? Or
2 the bapi_bus2175_set_status does not update some information (which information, status itself 'crm_jest' or the summerized status text 'dpr_dashboard' showed in the task dashboard ?)
kind regards,
Zhenbo
Hi Zhenbo,
The question refers to both the point.
The result we expect is that the bapi_bus2175_set_status will update the following fields:
status,
percentage of completion,
actual finish date
and a custom field we added to the Additional Data (material code).
It works fine only without evaluation.
But we need evaluation to be active, because we want the Project's Dashboard updated.
Kind regards.
Laura
Hi Laura,
The mentioned fields in PPM do have multipe tables stored the value.
E.g. status of a task is stored in CRM_JEST (central place for status)
And if the evaluation has been run for this project or task, this status information is stored ADDITIIONALLY in the dpr_dashboard, field system_status
So the question, where the data is missing after the bapi is carried out?
P.S: you can use the report dpr_get_tree to have a pre-analysis of the database records. You need the guid of the involved task. If you donot have it, start with the project ID , and then find out the task guid.
Kind regards,
Zhenbo
Hi Laura,
if the data in dpr_dashboard is not updated, then it is due to missing evaluation, as this table only get written during evaluation.
You can either set the the customizing of project type in the way, that the evaluation should be triggered at save OR
you run the report dpr_eve_batch_dpo explicitly. Regarding doubled workflows, please check, if the problem occurs too, if the report dpr_eve_batch_dpo is run in a separate session, e.g. run it manually instead of include it in your own report for status change. If the problem with doubled workflow persist, you can contact SAP for help.
Kind regards,
Zhenbo
Hi Laura,
Try to submit DPR_EVE_BATCH_DPO program, after calling status setting bapi.
Thanking you
Vengaiah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Vengaiah,
if we call the DPR_EVE_BATCH_DPO, the system saves the project again, and the workflow starts when we set the status.
We want to avoid that, because the workflow finds the task blocked.
We use a custom status profile, and every time you run DPR_EVE_BATCH_DPO the workflow linked to this custom status starts again.
Laura
User | Count |
---|---|
10 | |
5 | |
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.