Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Performance of a report

In my report I've written this select query

  if not itab1[] is initial.
    select objnr
              kstar
              ebeln
              wtgbtr
              wogbtr
              from covp
              into  table itab2
              for all entries in itab1
              where perio in s_period
              and objnr = itab1-objnr
              and   gjahr = p_fyear .
  endif.

In the selection screen if s_period(select-options) is left blank or only low value is entered then the report is

running properly. however if both high and low values are entered, it is taking lot of time to execute and running

into dump....Error is cited to this select logic.

Please can someone help how to fix this one and provide me any tips for proceeding in this.

Thank you

Tags:
replied

Hi,

If you are going to use sec. index then please try to use full fields and in the same order mentioned in my previous thread

aRs

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question