Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9564

Re: How to improve this query's performance?

$
0
0

Your only "hard hitting" criteria seems to be LIFNR = P_CNUMBER, you should not "hide" this in the ON-condition, but rather move it to the WHERE-condition.

 

Please check if you can incorporate index table VAKPA in your join for quick access to sales documents via partner numbers. The new index you created for VBPA might not be needed.

Also see SAP note 185530 with performance tips for SD customer developments.

 

Thomas


Viewing all articles
Browse latest Browse all 9564

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>