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,
Turn on the "tRFC (In Background Task): Block Sending" flag in the debugger settings
Go to SM58, select the tRFC
EDIT -> debug LUW
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for the response. I have already tried the same, but it didn't work in my case.
No entry present in SM58.
Process :-
Work order is created in ECC from the CRM Web UI.
And during Update process, our scenario is executed. The custom FM is called in a BADI that is executed in update task. 'Update debugging' and 'tRFC (In Background Task)' setting also didn't help us in getting into the FM.
So, you need first to enter Update Debugging (debugger options). When you enter the update task, you need to make sure "tRFC block sending" is activated, then use SM58 and so on.
| 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.