cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Workflow work items not generating

Former Member
0 Likes
5,561

Hello Team,

I am trying to create PoC for my client and I am new to Workflow but extensively worked in ABAP.

Actually in our system the existing workflows are running fine.

I have created Standard task with the below details

In Basic tab i have given

Object Type          BUS2034

Method               DISPLAY

Triggering event I have given like

BUS2034CHANGEDCustomer Contract Changed
BUS2034CREATEDCustomer Contract generated

Terminating event

BUS2034DELETEDCustomer Contract Deleted

I have done the binding & activated event in triggering event tab.

And I have checked in SWE2, so 2 new entries are added

I tried to test using SWUE but work item not created

I tried to changed Sales contract using VA42 but work items not created

I have tried from custom program

CALL FUNCTION 'SWE_EVENT_CREATE'

   EXPORTING

     objtype                       = 'BUS2034'

     objkey                        = '0040014284'

     EVENT                      = 'CHANGED'

But not created work item(have checked in SWI1 and SWIA)


SWU3 configuration are okay since the existing workflows are running in Development system.


How to find the rootcause why the work item not created(I agree there is no agent but work item should be created as my knowledge)


How to test the sequence(what are the tcodes) which place its failing.


I have to proceed further steps in PoC if the above problem resolved.


Regards,

Vadamalai A

View Entire Topic
pokrakam
Active Contributor
0 Likes

Hello,

If nothing is appearing in the event log, then there event is not being raised. What does SWEL say when you create the event manually via SWUE?

Former Member
0 Likes

Hello Mike,

I have activated trace and tried to triggered event(SWUE) manually but still its not captured in SWEL. Please find screenshot below.

How to identify where is the issue.

Please help me.

Regards,

Vadamalai A

Former Member

Hi Vadamalai,

As the message in your screenshot is saying one receiver found. Now click on the third button on application toolbar "Event Receiver" and see whether you task number is on the receiver. If yes , then event has been triggered and your task received it. Now you need to go to SWIA and see the workitem. It must be there , may be in error or something but it has to be there as it has been triggered. Also for SWEL , you can check whether any other events are coming or not , may be your trace is activated but with filter , so you need to check and activate the trace for all events.

Please check and let me know.

Thanks

Rakesh