Академический Документы
Профессиональный Документы
Культура Документы
RuntimeanalysisPerformanceTuninginSAPABAP|Sapnuts.com
You are here Sapnuts.com (/) Courses (/courses/) SAP ABAP (/courses/core-abap.html)
Performance Tuning in SAP ABAP (/courses/core-abap/performce-tuning.html)
Run-time analysis (/courses/core-abap/performce-tuning/run-time-analysis.html)
Run-time analysis
Last Updated: February 5th 2014 by Ashok Kumar Reddy (/user/ashokkumarreddy-1.html)
Check ef ciency of SAP ABAP programs and Function modules using SAP run-time analysis
+ Run-time analysis is used to check the ef ciency of a program or function module or t-code in terms of what is
the load on the database server, application server, presentation server etc.
The run-time analysis will display the load in a graph with %'s and the time in micro seconds.
The graph will be displayed with either red color or green color.
If the graph contains green color, then the program execution time is very good or very less.
If the graph contains red color, the program execution time is very bad or very long .
Always make sure the the load on database server should be less than 40% and should be green.
T-code for run-time analysis is SE30 or SAT(Latest Versions).
LOOPATIT_MARAINTOWA_MARA.
WRITE:/WA_MARAMATNR,WA_MARAMTART,WA_MARAMBRSH,WA_MARAMATKL,WA_MARAMEINS.
ENDLOOP.
https://www.sapnuts.com/courses/coreabap/performcetuning/runtimeanalysis.html
1/7
01/07/2016
RuntimeanalysisPerformanceTuninginSAPABAP|Sapnuts.com
Go to SE30, provide program name, click on execute button, the out put will bi displayed, click on back and click on
evaluate to see run-time analysis.
In the above image you can see ABAP and database layers are in red color, means the time taken to process these
layers is more.
Program:2
https://www.sapnuts.com/courses/coreabap/performcetuning/runtimeanalysis.html
2/7
01/07/2016
RuntimeanalysisPerformanceTuninginSAPABAP|Sapnuts.com
Now change the above program like below and test again.
REPORTZSAN_SE30.
TYPES:BEGINOFTY_MARA,
MATNRTYPEMARAMATNR,
MTARTTYPEMARAMTART,
MBRSHTYPEMARAMBRSH,
MATKLTYPEMARAMATKL,
MEINSTYPEMARAMEINS,
ENDOFTY_MARA.
**RuntimeanalysisusingSE30
DATA:IT_MARATYPETABLEOFTY_MARA.
DATA:WA_MARATYPEty_MARA.
SELECTMATNRMTARTMBRSHMATKLMEINSFROMMARAINTOTABLEIT_MARAUPTO500ROWS.
LOOPATIT_MARAINTOWA_MARA.
WRITE:/WA_MARAMATNR,WA_MARAMTART,WA_MARAMBRSH,WA_MARAMATKL,WA_MARAMEINS.
ENDLOOP.
https://www.sapnuts.com/courses/coreabap/performcetuning/runtimeanalysis.html
3/7
01/07/2016
RuntimeanalysisPerformanceTuninginSAPABAP|Sapnuts.com
You can see the database layer is in green color means the standards are good.
A good program with coding standards always have database layers is in green color.
Learner Questions
Yes
No
https://www.sapnuts.com/courses/coreabap/performcetuning/runtimeanalysis.html
4/7
01/07/2016
RuntimeanalysisPerformanceTuninginSAPABAP|Sapnuts.com
Learn SAP Courses online, SAP Certi cation mock exams and SAP tutorials
SAP ABAP Tutorials, SAP ABAP Online Training, SAP Webdynpro for ABAP, Webdynpro for ABAP tutorials, Webdynpro
for ABAP online training, SAP Work ow training, SAP Online Training, SAP Certi cation, SAP Training, SAP mock
exams, SAP Exams, SAP ERP, SAP Interview questions, SAP ABAP interview Questions
https://www.sapnuts.com/courses/coreabap/performcetuning/runtimeanalysis.html
5/7
01/07/2016
RuntimeanalysisPerformanceTuninginSAPABAP|Sapnuts.com
Adsby Google
SapABAPTraining
Analysis
ItDataAnalysis
WhatIsRunTime
Lesson Navigation
SAP memory and ABAP memory (/courses/core-abap/SAP-abap-memory.html) Previous Lesson
Next Chapter Performance tuning ST05 (/courses/core-abap/performce-tuning/performce-tung-st05.html)
https://www.sapnuts.com/courses/coreabap/performcetuning/runtimeanalysis.html
6/7
01/07/2016
RuntimeanalysisPerformanceTuninginSAPABAP|Sapnuts.com
2016 SAPNuts.com Contribute (/data/) Terms (/site/terms/) About (/site/about/) Contact (/site/contact/)
Feedback Facebook (http://www.facebook.com/sapnuts) Twitter (https://twitter.com/sapnuts) Google
(https://plus.google.com/+Sapnuts/)
https://www.sapnuts.com/courses/coreabap/performcetuning/runtimeanalysis.html
7/7