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
Define abap/4 layer?
How can we handle table control in bdc? : abap bdc
What are authorization objects and what statement is used to perform an authorization check in an abap program?
What are the different types of the variable in the sap abap?
What is use of transparent table in abap? How it is different from pool tables?
Explain the Importance of pa20? : abap hr
If I have put commit in badi implementation class after update, is it allowed? Also if some standard functionality already implemented an update and now i m doing update and if it fails, what will be the impact of commit?
What is netweaver???what is the relationship with ABAP?
What are the types of subroutines? : abap modularization
What will you code in start-of-selection & end-of-selecton & why?
Explain what is sequence of event triggered in report?
Explain about the tables exists in a data dictionary and what are they? : abap data dictionary
I am uploading 100 records out of which say 59th record has error so what will happen if I am using synchronous or asynchronous method of bdc? Can we update the database using local update mode how? : abap bdc
What is transparent table?
What are Table control and tab strip control in dialog programming ?