Вы находитесь на странице: 1из 8

ABAP Program Performance: SE30 Runtime Analysis Test Efficiency of Your Program and Improve

Applies to:
SAP ABAP, mySAP ECC 6.0, SAP NetWeaver 2004s.For more information, visit the ABAP homepage.

Summary
SAP ABAP is very important most useful tool or say tool bag for SAP Business processes to work as per the business requirement but it has have some performance quality into it. This document shows one of the tool available with SAP for the SAP ABAP Performance analysis, so that you can judge the quality of your ABAP code. This document mainly describes step by step guide for SE30 transaction code. I came up with this document when I was thinking that a beginner ABAP programer needs to have knowledge of performance etc words so that he at least keep in mind about the quality of code he/she is writing. Author: Gaurav Patwari

Company: Torrent Power Ltd. Created on: 12 October 2009

Author Bio
By education I am B.E. Information Technology, I am working as a Chief SAP ABAP Developer as well as SAP HCM Functional team member with Torrent Power Ltd. Indias one of the best Power Industry. My current technical work includes development with following ABAP, ABAP HR, ABAP Objects, Smartforms, BDC, BAPI, SAP Enterprise Portal, and SAP Web dynepro for Java.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 1

ABAP Program Performance: SE30 Runtime Analysis Test Efficiency of Your Program and Improve

Table of Contents
What is required? ..................................................................................................................................... 3 SE30 - ABAP Runtime Analysis - How to do it?.......................................................................................... 3
1. Go to SE30 transaction code and click the radio button........................................................................................... 4 2. Give the name of your program for the performance analysis. ................................................................................ 4 3. Click on Execute button and let it finish.................................................................................................................... 4 4. ABAP Runtime Analysis: Initial Screen .................................................................................................................... 5 6. Next, Clicking on Evaluate button ............................................................................................................................ 6

Related Content ............................................................................................................................................ 7 Disclaimer and Liability Notice ....................................................................................................................... 8

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 2

ABAP Program Performance: SE30 Runtime Analysis Test Efficiency of Your Program and Improve

ABAP Performance Analysis When some development is to be done such decision come in to picture whenever some of the requirement of the business is not fulfilled in SAPs standard business process so at that time 1st priority becomes the satisfying custom solution to the business requirement. But now ABAPer does the coding and achieves the same. Now whenever a functional analyst test the process goal is achieved but ultimate goal is to have a quality custom solution which also has to pass the hurdles of quality code and with award like lest memory expensive and less server CPU intensive activity involved into your program. So as the SAP Provides tools for everything same way for the AVAP code one of the tool used for ABAP Performance analysis is SE30 - ABAP Runtime Analysis. What is required? ABAP runtime analysis is required by the ABAPer to calculate or evaluate the quality of the code written to achieve the business requirement. Which will then executed on the production environment. So on passing the functional requirement test the solution also has to pass the technical quality test, which can be done using this tool called ABAP runtime analysis. This tool is important part for the ABAP development: Ensure the performance of program on Production server. Execution time for the code Evaluation of the 3 main areas: ABAP Database System Specially in case of heavy reports and criticality based on its requirement frequency
Note: There are lot of other tools available for the ABAP Performance analysis, you can use as per you requirement and convenience.

SE30 - ABAP Runtime Analysis - How to do it? The step by step process for using this tool is explained below, I have take a simple sample program available as demo program into the system named: DEMO_SELECT_INNER_JOIN. This program has the inner join query used for the data to be selected. Go through all the steps for your Program, Transaction or Function module. Also, how to interpret graph generated by this evaluation output? Follow the below step 1 to step 6 for the T-code SE30:

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 3

ABAP Program Performance: SE30 Runtime Analysis Test Efficiency of Your Program and Improve

1. Go to SE30 transaction code and click the radio button

2. Give the name of your program for the performance analysis.

3. Click on Execute button and let it finish. After finishing the execution it return back to the screen shown in Step 2.

You will see above message at the status bar.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 4

ABAP Program Performance: SE30 Runtime Analysis Test Efficiency of Your Program and Improve

4. ABAP Runtime Analysis: Initial Screen Now the screen will be changed to the screen shown below with some of the parameters regarding our program which got executed. E.g.: Measurement date and Time. With evaluate button in next line.

Click on the Tips & tricks to find the tips for abap performance tuning.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 5

ABAP Program Performance: SE30 Runtime Analysis Test Efficiency of Your Program and Improve

6. Next, Clicking on Evaluate button Your Analyzer will take time and calculates the performance of the abap statements the database operations involved in the code which was evaluated as shown in below screen the graph will be displayed.

Important part is how to interpret this screen. Now the Analyzer has divided the performance into 3 Parts: 1. ABAP a. ABAP graph show how much heavy are the processing regarding the abap code here its nil. 2. Database a. Database it shows compared to System less but it about 47.2 % which is Ok state. 3. System a. Where system is the Application server processing overhead i.e. about 52% which is compare to database is Ok state.
So overall the program 3 parameters should be proportionate rather than low high. This is must to ensure the performance of the production server for certain programs which affect the overall performance of the system.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 6

ABAP Program Performance: SE30 Runtime Analysis Test Efficiency of Your Program and Improve

Related Content
http://forumsa.sdn.sap.com/thread.jspa?messageID=7932904#7932904 http://forumsa.sdn.sap.com/thread.jspa?messageID=8231072#8231072 http://forumsa.sdn.sap.com/thread.jspa?messageID=8249334#8249334 http://forumsa.sdn.sap.com/thread.jspa?messageID=7840970#7840970 http://forumsa.sdn.sap.com/thread.jspa?messageID=8020997#8020997 http://wiki.sdn.sap.com/wiki/display/HOME/GO+Analysis+Tools2 http://forumsa.sdn.sap.com/thread.jspa?messageID=7848527#7848527 For more information, visit the ABAP homepage.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 7

ABAP Program Performance: SE30 Runtime Analysis Test Efficiency of Your Program and Improve

Disclaimer and Liability Notice


This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 8

Вам также может понравиться