Professional Documents
Culture Documents
Community
Leon Shen
September 19, 2016 1 minute read
In some programs and transactions, an other program/function module is submitted by RFC in order to run in
background. In this case, it is impossible to get into the program or function module to analyze during
debugging, here is an example. The function module MRP_KD_AUFTRAG_RFC is triggered to be run in
background, so the debugger doesn’t go into it when F5 key (Single step) is clicked and there is no chance to
debug that in this screen.
https://blogs.sap.com/2016/09/19/how-to-debug-the-programs-triggered-internally-by-rfc-to-be-run-in-background/ 1/5
1/14/2020 How to debug the programs triggered internally by RFC to be run in background | SAP Blogs
The program above is run through the transactional RFC mechanism and it can be debugged as following.
(There is an other way of RFC so-called queue RFC, the programs and function modules are run through
transactions SMQ1 and SMQ2. This blog only focus on the transactional RFC.).
Enter the debugger once the program or transaction get started, go to the menu below of debugger (New
debugger).
Select the checkbox below, then click F8 key to complete the processing.
https://blogs.sap.com/2016/09/19/how-to-debug-the-programs-triggered-internally-by-rfc-to-be-run-in-background/ 2/5
1/14/2020 How to debug the programs triggered internally by RFC to be run in background | SAP Blogs
(In classic debugger, the menu is ‘Settings’ > ‘Display and change all’, select the checkbox ‘In background task:
Do not process’. The menu ‘Display and change all’ doesn’t appear if the debugger is in PBO of screen, need to
go into Modules of the screen.).
Now, the function module is not processed in background and stopped in transaction SM58 below for
debugging.
Alert Moderator
https://blogs.sap.com/2016/09/19/how-to-debug-the-programs-triggered-internally-by-rfc-to-be-run-in-background/ 3/5
1/14/2020 How to debug the programs triggered internally by RFC to be run in background | SAP Blogs
Assigned tags
Related Questions
1 Comment
Pappu Kumar
Like (0)
Find us on
https://blogs.sap.com/2016/09/19/how-to-debug-the-programs-triggered-internally-by-rfc-to-be-run-in-background/ 4/5
1/14/2020 How to debug the programs triggered internally by RFC to be run in background | SAP Blogs
Newsletter Support
https://blogs.sap.com/2016/09/19/how-to-debug-the-programs-triggered-internally-by-rfc-to-be-run-in-background/ 5/5