1) First you need to identify the job that is long running and identify details like job class, work process that is executing the job
How to identify long running background jobs:
3) Identify the executing server and process id of the job from the step 1 and goto transaction SM50 of the respective executing server to view more details about the background job running.
Figure out the status of the job like On Hold or running from the process overview. If the job is On Hold, find out the reason for On Hold by examine the "Reason" column of SM50 transaction. Reason for On Hold could be due to CPIC/RFC/DEBUG/ENQ/PRIV/UPD etc.
Double click on the reason column for detailed information on the same and troubleshoot accordingly. If reason is RFC, check out which RFC it is referring to and cross check whether destination system is up or not and any other problems with that system.
If it is ENQ, check out any lock issues like lock overflow etc
If it is PRIV, check out for memory bottlenecks
If it is UPD, check out whether any update issues
If it is CPIC, check out for any network , gateway, message server and other communication problems
4) After performing step3, if you figure out job is not on Hold and it is in running state, then examine report column to identify what report/program is being executed by the job. Once you got the report/program details, figure whether it sap program or custom program and take actions accordingly.
5) Also examine Action and table columns in SM50 transaction of respective executing server to identify what is the action( roll in/roll out /Sequential read/Physical read/insert/update/delete etc) being carried out by the job currently and what is the table on which action is being carried out.
If it is sequential read, figure out the cost of that sequential etc and consider for indexing etc. If it is physical read, check out whether there are too many swaps and consider resizing buffers accordingly. If you observed delay is due to high roll in/roll out, identify reasons for the same and tune buffer/memory parameters accordingly.
6) Once you get the table details on which action is being carried out, figure out
How many records are existing in the table ?
Is this taking long time due to volume of records ?
Are there proper indexes on the table ?(If no proper index, consider index creation by taking help of DBA )
Is the table having upto date statistics ? (If statistics are out of date,
consider updating statistics of that table)
7) Consider debugging the process in SM50 ( Program/Session -> Program -> Debugging ) to figure out the issue
8) Using ST05 or ST12, a trace can be taken for background job to figure out where exactly time is being consumed and to identify various cpu/memory bottlenecks or any buffer issues.
9) STAT/STAD transaction can be used to figure out what is the reason for high response time and actions can be taken accordingly
10) By taking help of ABAP er, even ABAP run time analysis can be done using SE30 transaction
By following the above steps, you can pin point the issue and take actions accordingly to minimize runtime of long running background jobs.
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeletehi their nice blog
ReplyDeletesap all in one
Our SAP BASIS Training will be scheduled in regular weekdays and weekends based on the students request. We do have quick track SAP BASIS Training and online SAP BASIS Training with one-to-one basis. We are giving more SAP BASIS Training for corporates which employees of their organization will be benefits with our training.
ReplyDeleteFor More Info: SAP Basis Training in Gurgaon
Good Post. I like your blog. Thanks for Sharing
ReplyDeleteSAP Basis Training Institute in Noida
Great post I must say and thanks for the information. Education is definitely a sticky subject. it is still among the leading topics of our time. I appreciate your post and looking for more.mobile phone repair in Fredericksburg
ReplyDeletemobile phone repair in Fredericksburg
mobile phone repair in Fredericksburg
mobile phone repair in Fredericksburg
mobile phone repair in Fredericksburg
mobile phone repair in Fredericksburg
mobile phone repair in Fredericksburg
mobile phone repair in Fredericksburg
mobile phone repair in Fredericksburg
mobile phone repair in Fredericksburg
This comment has been removed by the author.
ReplyDeleteWow its a very good post. The information provided by you is really very good and helpful for me. Keep sharing good information.
ReplyDeleteSoftware Testing Services USA
Software Testing Company USA
Functional Testing Services
QA Automation Testing Services
eCommerce Testing Services
Performance Testing Services
Security Testing Services
API Testing Services
Regression Testing Services
Mobile App Testing Services
Here is the site(bcomexamresult.in) where you get all Bcom Exam Results. This site helps to clear your all query.
ReplyDeletePune University B.Com 6th Sem Result 2020
BA 3rd year Result 2019-20
Sdsuv University B.COM 3rd/HONOURS Sem Exam Result 2018-2021
"برنامج إدارة الموارد البشرية
ReplyDeleteسعر برنامج حسابات
برنامج إدارة شركات الأدوية
سعر برنامج حسابات
برنامج حسابات
برنامج erp
برنامج محاسبة
برنامج مخازن
الحسابات الختامية
الميزانية العمومية"
الحجر الهاشمي
ReplyDeleteطريقة تركيب الحجر الهاشمى
سعر متر الحجر الهاشمى توريد وتركيب
اسعار الحجر الهاشمى
Great share! Thanks for the information. Keep going!
ReplyDeleteGreat share! Thanks for the information.
ReplyDelete