on ‎2015 Feb 11 10:40 AM
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
| BUS2034 | CHANGED | Customer Contract Changed |
| BUS2034 | CREATED | Customer Contract generated |
Terminating event
| BUS2034 | DELETED | Customer 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
Request clarification before answering.
Hi Vadamalai,
You cannot create a dialog task individual i guess( May be i am wrong but never seen one ). For POC purpose you need to create a workflow ( PFTC ) and then create a task ( Standard Dialog ) inside it. Now the triggering events will be in your workflow triggering event. Then only you will be able to test the same via SWUE or other triggering method. Please note that via workflow only , you specify the correct agent it should route to and other things.
Do let me know if still its not clear.
Thanks
Rakesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes , For workitems , standard single task will not work, It should be supported by workflow. There are many things associated with this , like agent assignment ( who will get the workitem ) , decisions etc. If you can tell me what is your exact requirement , i can find out a way without creating template.
Thanks
Rakesh
Hi ,
Going with your words "executed the work item then the sales contract will be displayed. Based on this I may get different scenario to implement." , you need to take the decision on the basis of workitem execution , so how you are planning to take that , because workitem will only display and since it is not the workflow , workitem will be over as soon as you click on the same and you wont be able to capture anything ( no decision etc ). Is that right ?
Thanks
Rakesh
Hi ,
I just tested in my system. With a single task also you can have this method. Problem is , you need to assign the agent from menus and then workitem will come to your agents inbox. See the screen shots.
Also , i tried tro execute and its working.
Now you need to check SWEL for event triggered and then SWIA for workitem generation. Please see SWEL with data and time range so that you can narrow down the search.
Thanks
Rakesh
Hi Anjan,
Do we need explicit commit work is required when we call from custom program? anyhow then event should be triggered when sales contract gets changed(tried and event is called after commit work but somewhere its failing).
My query is when event is triggered this call may not reach till event linkage. How to identify the rootcause.
Regards,
Vadamalai A
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.