ABAP Performance Tuning - Tips & Tricks
Content
Introduction
Using Selection Criteria
Using Aggregate Functions
Using Views instead of Base Tables
Using the Into Table clause
Modifying a group of lines
Use of Binary Search option
Appending Internal Tables
Using Table Buffering
Use of FOR ALL entries
Proper Structure of the WHERE clause
Proper use of the MOVE statement
Proper use of INNER JOIN statement
Use ABAP SORT instead of ORDER BY
Performance Analysis Tools
  ABAP Performance Tuning - Tips & Tricks
-Proper Structure of the WHERE clause-
 
Page 11 Of 15

Proper structure of Where Clause

When a base table has multiple indices, the where clause should be in the order of the index, either a primary or a secondary index.

To choose an index, the optimizer checks the field names specified in the where clause and then uses an index that has the same order of the fields. One more tip is that if a table begins with MANDT, while an index does not, there is a high possibility that the optimizer might not use that index.

In certain scenarios, it is advisable to check whether a new index can speed up the performance of a program. This will come handy in programs that access data from the finance tables.

 
Stats Box
Vendor Listings (9)
Jobs (3)
Resumes (3)
Tutorials (18)
Articles (22)
Code Snippets (1)
CBTs (17)
Books (4)
Online Training (15)
Latest 5 Tutorial
SAPscript
SAP Mobile Engine
Integrating XML into SAP Business Connector
Lotus Notes Integration
SAP Data Archiving
 
Copyright © 2007 SapDox.com. All rights Reserved.