Answer Posted / lokesh
First of all, you cannot set breakpoints in a workflow, so I assume you mean that you have set a break-point in a method used in one of the task's used in your workflow?
If so, and if this task-method is a background method (i.e. a non-dialog task), debugging is not possible, since a background method, as the name states, is executed in another context in background.
To see how the workflow passes values from/to the different container's, you can use transaction SWUD (to see if the values needed for your method, are binded correctly).
Other useful tools for workflow error search, are: SWEL (first turn on even trace with SWELS) or simply look at the workitems created to see what kind of errors they may have encountered: SWI2_FREQ f.x.
If background task, I recommend you use SWUS for the specific task in question to create a WorkItem. Find the workitem with SWI2_FREQ, then display it. From there, display Container, to see the outcome.
You can debug the method, from SWO1 for the Object Type owning the method. From SWO1 simply click the test button. Then click "create instance". Execute the method for the object instance and you will be able to debug the method.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What are the different function modules used in sapscript?
There is 1 person but it’s displaying that this person cannot be booked. He is not available for the business event. Can you tell me where is it going wrong? What can be the reasons? : sap abap hr
What are the two different ways of building a match code object?
What is a table pool?
Can i Have Some Examples on Enhancements.
Is it possible to pass data to and from include programs explicitly?
Explain about interactive report?
What are the contents in technical specifications?
What is repository info. Systems? : abap data dictionary
What is new enhancement framework?
What is the difference between sum and collect?
What are hashed tables?
Can you assign a matchcode object to a parameter? If so how?
What is a transaction variant and why are they used?
how to use the xk01 in realtime.can it apply the others. how it it will goes to first page and next page.