cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow issue after upgrade to ECC 6.0

Former Member
0 Kudos

Hi,

we are facing an workflow issue and thought if someone has faced similar issue and could help us.

We've an approval workflow for purchase requisitions through release strategies. For some steps, if the approver is 'WF-BATCH' user, we are executing that step using a program. This program first set the workitem to completed status( this part is working), then it will close the purchase requisition to release status for a particular release code( this part is working) and then we are triggering the 'RELEASE' event for the business object providing the Object key which should take it to the next step( THIS IS NOT WORKING). The business object is custom. This was working perfectly in 4.7 version of SAP but this logic is not working in ECC6.0. we are using SAP_WAPI_CREATE_EVENT to trigger the event. But the workflow doesn't move on to next step.

Have anyone of you have any idea as why this might be happening. Any information on this would be of great help.

This is happening in ECC 6.0. USED TO WORK IN EARLIER VERSION.

Regards,

Sam K

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

Try using an explicit commit work after the FM call.

Regards,

Preethi.

Former Member
0 Kudos

Try SWUE transaction and enter the same key and see if its working. If it is not working here then this will not work in FM as well.

Reg,

Former Member
0 Kudos

Hi ,

Instead of SAP_WAPI_CREATE_EVENT try use this FM : SWE_EVENT_CREATE

to trigger the event

Regards,

Preethi

Former Member
0 Kudos

Hi,

SAP_WAPI* are advanced and so it's better to use them. And, from my experience in couple of instances, SWE_EVENT_CREATE doesn't work sometimes if you are trying raise an event in an ABAP Report.

That's why it's better and safer to use SAP_WAPI*.

Regards,

venu

Former Member
0 Kudos

Hi,

Is WF-BATCH having proper auth. ?

Or, if you are using the FM SAP_WAPI_CREATE_EVENT in some program and is scheduled as a batch job, then that user under which this batch job is runnign should have proper auth. to raise the event. Please check those.

Also, what the error (if any) says in SWEL ?

venu

Former Member
0 Kudos

Sam,

What does the event trace say? Do you find your event in there?

Cheers,

Patrick