on ‎2017 May 30 12:13 PM
I have a custom function module, which is called in during a standard process at Work Order SAVE.
The FM is called by using statement : 'Call Function <FM name> in Background task'.
To analyze the issue, I need to go inside this FM during debugging when the process is executed. I have also tried endless loops as well, the flow is stuck there but it is not visible in transaction SM50. As a result, I am not able to debug the same, and also the Order is not getting opened in Change mode.
Is there any way of doing this ?
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi,
in de abap editor go to utilities-->settings
Then tab ABAP editor-->Debugging.
Type here the user id that is used when you call the fm in background task. Now place an external break-point in the code and reproduce the behaviour.
If the user is a background user, then temporarily change it to dialog.
Kind regards, Rob Dielemans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.