Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Optimizing performance

Former Member
0 Likes
1,024

hi all

I Want to know how to check my program performance and how to optimize the progame , can anybody send me any tricks, PPT fils, links, methods for checking performance, some documentations, on my mail id

chetan.vishnoi@vikalpsolutions.com

thanks in advance

chetan vishnoi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
982

Hi chetan,

for checking the performance run the SQL trace tool ST05 if you are using select statements you can know the time taken by each individual query.Also you can do a runtime analysis using SE30.

Regards,

Sangram

SAP Consultant

7 REPLIES 7
Read only

Former Member
0 Likes
982
Read only

Former Member
0 Likes
983

Hi chetan,

for checking the performance run the SQL trace tool ST05 if you are using select statements you can know the time taken by each individual query.Also you can do a runtime analysis using SE30.

Regards,

Sangram

SAP Consultant

Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
982

Hi.

Links sent to ur id..

Reward if it is needful.

Cheers,

Simha.

Read only

Former Member
0 Likes
982

hi

good

you can go thruogh the following tcodes which ll help you to checking the performance of your program.

SLIN

SCI

SE37

ST05

SM50

THANKS

MRUTYUN

Read only

0 Likes
982

hi,

i want some PPT types files.

thanks

chetan vishnoi

Read only

Former Member
0 Likes
982

Hi chetan,

In se30 transaction you can look for

Tip&TRicks button on application toolbar

apart from below conventions.

Follow below steps

1) Remove corresponding from select satement

2) Remove * from select

3) Select field in sequence as defined in database

4) Avoid unnecessary selects

i.e check for internal table not initial

5) Use all entries and sort table by key fields

6) Remove selects ferom loop and use binary search

7) Try to use secondary index when you don't have

full key.

😎 Modify internal table use transporting option

9) Avoid nested loop . Use read table and loop at itab

from sy-tabix statement.

10) free intrenal table memory wnen table is not

required for further processing.

11)

Follow below logic.

if not it_plant[] is initial.

it_plant1[] = it_plant[].

sort it_plant1 by werks.

delete adjacent duplicates from it_plant1 comparing werks

SELECT AUFNR KTEXT USER4 OBJNR INTO CORRESPONDING FIELDS OF TABLE I_AUFKTAB

FROM AUFK

FOR ALL ENTRIES IN it_plant1

WHERE AUFNR IN S_AUFNR AND

KTEXT IN S_KTEXT AND

  • WERKS IN S_WERKS AND

AUART IN S_AUART AND

USER4 IN S_USER4 AND

werks eq it_plant1-werks.

free it_plant1.

Endif.

Regards

Amole

Regards,

Amole

Read only

Former Member
0 Likes
982

Hi chetan,

i have sent optimization docs to your mail id. check if it is needful..

Thanks & Regards,

kalyani .A