cancel
Showing results for 
Search instead for 
Did you mean: 

How to tune up VA05

Former Member
0 Kudos

Dear gurus

While executing VA05

Giving material number

and date range from 01.04.2010 to 01.04.2010

sales Organization 1000

distribution Channel 10

It takes more then an hour to perform why is that so ? how to tune it up.

please help

Regards

Saad Nisar

Accepted Solutions (1)

Accepted Solutions (1)

aramsum
Active Contributor
0 Kudos

Hi Saad,

This is a standard program(SAPMV75A), RIGHT? . Normal tools in sap for performace analysis are

Run time analysis transaction SE30

This transaction gives all the analysis of an ABAP program with respect to the database and the non-database processing.

SQL Trace transaction ST05

The trace list has many lines that are not related to the SELECT statement in the ABAP program. This is because the execution of any ABAP program requires additional administrative SQL calls. To restrict the list output, use the filter introducing the trace list.

The trace list contains different SQL statements simultaneously related to the one SELECT statement in the ABAP program. This is because the R/3 Database Interface - a sophisticated component of the R/3 Application Server - maps every Open SQL statement to one or a series of physical database calls and brings it to execution. This mapping, crucial to R/3s performance, depends on the particular call and database system. For example, the SELECT-ENDSELECT loop on the SPFLI table in our test program is mapped to a sequence PREPARE-OPEN-FETCH of physical calls in an Oracle environment.

The WHERE clause in the trace list's SQL statement is different from the WHERE clause in the ABAP statement. This is because in an R/3 system, a client is a self-contained unit with separate master records and its own set of table data (in commercial, organizational, and technical terms). With ABAP, every Open SQL statement automatically executes within the correct client environment. For this reason, a condition with the actual client code is added to every WHERE clause if a client field is a component of the searched table.

To see a statement's execution plan, just position the cursor on the PREPARE statement and choose Explain SQL. A detailed explanation of the execution plan depends on the database system in use.

Kindly please take an ABAP'ers help.

Regards,

Ram Pedarla

Answers (0)