on 04-07-2009 8:19 AM
Hi Experts,
We are using WS14000084 to set status of the contracts to released once it
is approved. TS14007965 is using method BUS2000113->SETRELEASED for the
same.
Method is callinng function 'BBP_PD_CTR_STATUS_CHANGE_WF'.
The workflow is getting successfully completed even when this function
returning sy-subrc other that 0.
Is there any way to avert this, so that workflow should be in error status
and also can we find out the error cause.
Have tried to look into approval log error analysis but in vain.
Can you please guide me of the way to find out cause of errors and possibly
to avaoid wrong status shown in workflow.
Thanks,
GAurav
Hello
even if the call of the function 'BBP_PD_CTR_STATUS_CHANGE_WF' gives sy-subrc > 0 back,
it does not mean, that the workflow should have error.
If you do not see any red cubes in the swi1 -> there are no errors, so the WFL could be processed.
May you can modify the coding, -depending from sy-subrc -
you can do a RAISING error_in_status_change...
Regards,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for reply danial.
Letu2019s say, error occurred and still workflow is in completed status.
Do we have any analysis method by which we can find out why function not abalr to set status to approved?
This error is getting logged under approval heading in internal error monitoring can be accessed through T code RZ20.
Can you help me, how can we analyze those..
Appreciate your help.
Thanks,
Gaurav
Hi Danial,
Error is u201CError during setting of status for contract XXXXXX to ''approved' ".
Appreciate your help in this regards.
Our main problem is that contract status is remaining in awaiting approval status. Do you have any work around where we can set the status of contract to approved. Workflow has already been completed.
Thanks,
GAurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.