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 methods of passing data?
What is a multiple line field? : abap bdc
What are field symbols?
Difference between open sql and native sql? : abap data dictionary
1/ How do u apprach if error occur in sending idocs ? 2/ where u assigned process code ?
What is a matchcode?
What is time constraint ? : abap hr
What are the screen elements.
SAP Script for Billing in which Billing document number was displayed as header, Bill Type, Bill Category, Bill Item, Cost, Base Unit of Measurement and Material number were categorically displayed for each billing document number. plz mention the detail coding Tahnks, Rahul
What are pool tables?
Can we use flow logic control key words in abap/4 and vice-verse?
Difference between sy-tabix and sy-index? Can you check sy-subrc after perform?
what is call back in alv?
What are interface/conversion programs in SAP?
What is the differences between structure and table in the data dictionary in abap?