How to debug ABAP workflow ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / abaprajaram
SWED OR WORK FLOW LOG SWEL then put the
debugger for the log
Is This Answer Correct ? | 4 Yes | 0 No |
Withou using SLIN transaction how would you check custom programs?
What are the differences between se01, se09 and se10?
Why do we use Abstract classes give an example from your project?
what is selection text in ABAP
What is page window?
how can i change rows inot columns in the finaldisplay list
1 Answers Bristle Cone, IBM, TCS,
hi i am prasoona completed b.tech in 2007...righr now i got trained in SAP-ABAP...im trying on 2.5yrs exp..whay sort of questions cpmanies may ask for..plz help me who were working on ABAP at present... thanking you.
7. what are enhancements?
What is an abap data dictionary? : abap data dictionary
what is the use of select for all entries in an internal table?
To avoid page skipping and to write the contents in the same page itself in SAP script, command used is
How do you write transaction programs in sap?