2

Debugging FM in Background Task

 1 year ago
source link: https://blogs.sap.com/2023/03/08/debugging-fm-in-background-task/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
March 8, 2023 1 minute read

Debugging FM in Background Task

Debugging FM in Background Task:

Running a module in back-ground task means assigning the module to separate LUW.

1-7.jpg
2-6.jpg
To debug our background task we need to switch on Do not process in debugging mode as shown below
3-5.jpg
4-4.jpg
Once we execute our program in SE38, FM will get execute in background task and it will be assigned to a separate LUW. We can see this LUW registered in t-code SM58 and execute, debug and delete manually.
If we do not check above check box, then LUW gets execute automatically and immediately based on attribute settings at FM level. It does not wait for user to manually execute the same.
Go to SM58 and check there will be an entry for your program execution.
5-2.jpg
Now debug the LUW.
6-1.jpg
You will be now inside the FM.
7-1.jpg
After above execution process, corresponding record from SM58 will be deleted.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK