background preloader

Peformance Tuning

Facebook Twitter

SAP ABAP Performance Tuning - Tips and Tricks - Performance Anal. ABAP Performance Tuning Checklist. Performance Tuning In Programming ABAP. Performance Tuning In Programming ABAP Some ideas about Performance Tuning: *Performance tuning *is Improving the execution time of a program without changing the functionality. You can see a report performance in SE30(Runtime analysis) and SQLtrace(ST05). ST05 tells you the list of selected statements.

You should remember some points when you tuning the code: - *Use the GET RUN TIME command to help evaluate performance. - * It's hard to know whether that optimization technique REALLY helps unless you test it out. . - *Generally, try to reduce I/O first, then memory, then CPU activity. - *I/O operations that read/write to hard disk are always the most expensive operations. . - Avoid 'SELECT *', especially in tables that have a lot of fields. . - Field-groups can be useful for multi-level sorting and displaying. . - Use as many table keys as possible in the WHERE part of your select statements. - Get a good idea of how many records you will be accessing. . - Know how to use the 'collect' command. Performance tuning for Data Selection Statement. For all entries The for all entries creates a where clause, where all the entries in the driver table are combined with OR.

If the number of entries in the driver table is larger than rsdb/max_blocking_factor, several similar SQL statements are executed to limit the length of the WHERE clause. The plus Large amount of data Mixing processing and reading of data Fast internal reprocessing of data Fast The Minus Difficult to program/understand Memory could be critical (use FREE or PACKAGE size) Some steps that might make FOR ALL ENTRIES more efficient: Removing duplicates from the the driver table Sorting the driver table If possible, convert the data in the driver table to ranges so a BETWEEN statement is used instead of and OR statement: FOR ALL ENTRIES IN i_tab WHERE mykey >= i_tab-low and mykey <= i_tab-high. Nested selects Select using JOINS Use the selection criteria Use the aggregated functions Select with view Select with index support Select … Into table SQL Trace (ST05) ABAP Performance Tuning. Sap Abap Performance Tuning Tips & Tricks.

Need for performance tuning ABAP is the universal language in the World of SAP programming and the focus is also on getting a team of efficient programmers as early as possible in each and every part of the project, both for handing over the technical specifications to them and also for asking them to toss out the ABAP programs within the "given deadlines" as well. The key focus of assembling an efficient program takes a back seat since this force has a greater pressure of schedules along with deliveries to accomplish successful outcomes. Also an proficient ABAP program is one which brings the wanted output to the user in a finite time according to the complexity involved in the program, rather than hearing the comment "I put the program to run, have my lunch and come back to check the results".

SAP Implementation Benefits Some SAP implementation benefits include: Both SAP Implementation and SAP training are worth investing since it takes into account regarding the benefits it offers.