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 is a maintenance view? : abap data dictionary
What are the requirements a dialog program must fulfill?
What application areas are you comfortable in?
What is the syntex used to call a screen as dialog box (pop up)?
what is sap scriptview ?
Explain the advantages and disadvantages of different types of bdc's?
Differentiate between the uline and write: sy-uline statements if any?
How do you set up background jobs in sap? What are the steps?
What are internal tables? How do you get the number of lines in an internal table?
Explain different types of attributes of function module?
What is a multiple line field?
How can we achieve MVC ?
What is meant by read lock? : sap abap data dictionary
How do you populate data into a multiple line field?
how to Implement a BADI in which it restricts the access when purchase order is created against contract using definition ME_PURCHDOC_POSTED. please tell me the answers if any one knows. thanks in advance. :ravikiran