Skip to Content
author's profile photo Former Member
Former Member

PERFORMANCE ANALYSE

hi experts,

I am doing a task which need the following specification.

SELECTION SCREEN CONTAINS :

SETTLEMENT PERIOD : <PERIO>

FISCAL YEAR : <GJAHR>

PLANT : <WERKS>

selection of KOKRS BELNR BUZEI PERIO WTGBTR OBJNR WERKS KSTAR GJAHR FROM COEP(BASED ON SELECTION SCREEN ELEMENT) AND

AUFNR KDAUF OBJNR KOKRS FROM AUFK.

JOINING CONDITION : KOKRS AND OBJNR.

I USED INDIVIDULAL SELECT QUERY:

QUERY 1: FETECHING DATA FROM COEP BASED ON SELECTION SCREEN DATA.

QUERY 2 : FECTECH DATA FROM AUFK FOR ALL ENTRIES IN COEP (FROM QUERY 1).

BUT THE PERFORMANCE IS VERY POOR. PLS GIVE ME A IDEA TO IMPROVE THE PERFORMANCE.

IF I CHOOSE INNERJOIN QUERY IT'S ALSO VERY POOR. PLS GIVE ME IDEA.

Thanks ya.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jun 08, 2007 at 10:26 AM

    what wrong with the performance?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 08, 2007 at 10:30 AM

    Hi

    Replace your INNER JOIN with FOR ALL ENTRIES...

    First of all select AUFNR KDAUF OBJNR KOKRS from AUFK into itab1.

    Then you can write like...

    select KOKRS BELNR BUZEI PERIO WTGBTR OBJNR WERKS KSTAR GJAHR FROM fro all entries in itab1

    where kokrs = itab1-kokrs and

    objnr = itab1-objnr.

    <also do here based on screen-element>....

    Also check your table indexes and change your select query according to tah.

    Goto table click on indexes you can see what are all the indexes are there.. Try to change the code according to that also...

    Hope this will help you..

    Reward All Helpfull answers.................

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.