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

Having performance issue in the query

former_member150968
Participant
0 Likes
405

Hi All,

We are facing performance issue with below query, Is there any way we can improve below query.

SELECT aufk~aufnr
           aufk~ktext
           aufk~objnr
           jest~inact
      FROM aufk
     INNER JOIN jest ON aufk~mandt EQ jest~mandt
       AND aufk~objnr EQ jest~objnr
      INTO TABLE ts_aufk_jest
        UP TO c_100 ROWS
     WHERE aufnr   LIKE  w_aufnr
       AND aufk~bukrs EQ us_BUKRS
       AND ( aufk~phas0 EQ c_x
        OR aufk~phas1 EQ c_x )
       AND aufk~phas3 NE c_x
       AND aufk~loekz EQ space
       AND jest~stat  EQ c_stat.

Regards,

Manish Sethia

Hi All,

We are facing performance issue with below query, Is there any way we can improve below query.

SELECT aufk~aufnr
           aufk~ktext
           aufk~objnr
           jest~inact
      FROM aufk
     INNER JOIN jest ON aufk~mandt EQ jest~mandt
       AND aufk~objnr EQ jest~objnr
      INTO TABLE ts_aufk_jest
        UP TO c_100 ROWS
     WHERE aufnr   LIKE  w_aufnr
       AND aufk~bukrs EQ us_BUKRS
       AND ( aufk~phas0 EQ c_x
        OR aufk~phas1 EQ c_x )
       AND aufk~phas3 NE c_x
       AND aufk~loekz EQ space
       AND jest~stat  EQ c_stat.

Regards,

Manish Sethia

2 REPLIES 2
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
364

Read this blog before posting your question. Post it in the correct forum with more details

http://scn.sap.com/community/abap/testing-and-troubleshooting/blog/2012/04/02/the-quality-of-an-answ...

Read only

Former Member
0 Likes
364

Moderator message - Duplicate locked.

Rob