I switched on the trace in swels and then i executed my workflow and went to sbwp and in user decision selected approve.
then went to swel and executed it to see trace :
I saw only two records 1. Trace On and 2. Trace off.
when i double clicked on it, nothing was happening (was unable to see any trace or analysis).
Can anyone please tell me how to use SWEL
I am new to workflow.
SWEL is only event trace, that is, if any event is tied to a Business Object, then it will show that. Thats all. In your case, probably, you are using the std. user decision task TS00008267 that has DECISION.PROCESS method and not having any events tied to it, thats why you didn't see anything in the event trace.
What exactly you want to do ? If you need help on Basic workflow, pl go thru' the help.sap.com. That's the best source I'd say to learn.
Hope this clarifies your question
The SWELS is event trace and this is used to find the business Object and event triggered when a trasaction is executed.
Example: i want to know what is the Business object and event triggered when a sales order is created. In this case i will switch on the event trace and run va01 and create a sales order. Now i again go to swels and switch of the event trace.
Now go to display event trace(swel), here you can find bus2032 and event created. so this business object and event can be used to trigger your workflow.
Edited by: vijay kalluri on Jun 15, 2009 3:56 PM
My Problem is switched on the SWELS and executed my program which triggers Create Event of object BKPF (which is used in my workflow) and hence i get user decision in my inbox and i do approve and then see the trace in SWEL.
ie., when i executed the swel, i got output in the form of two records in an alv format as shown below
Trace ON 16.06.2009 08:50:34 SELDE
Trace OFF 16.06.2009 08:50:48 SELDE
when i double clicked on it, nothing is happening (ie., i am unable to see the trace).
Hope u will clear my problem.
After switch on , you go to the same place to switch off, you can see one more button with 'Restriction for Trace' which will contain the user id for which it will trigger the events, in that selection try to keep all selections as space and save and try again.