4 Replies Latest reply: Mar 18, 2008 6:41 AM by Jose Larrarte RSS

Select to table VBELN is slow

Jose Larrarte
Currently Being Moderated

I am doing a select sentence to table vbeln, but it take a lot of time, the source code of this select sentence is:

 

  SELECT vbeln
  INTO TABLE it_docs
  FROM vbak
  WHERE kunnr   IN  p_kunnr     
    AND vdatu   IN  p_vdatu     
    AND auart   IN  p_auart.        

 

 

I am selecting documents number by date, that's the problem. I don't have the table key.

 

How do I to increment de performance of this sentence?.

 

Thanks.

 

Joseph.

 

Edited by: Jose Larrarte on Mar 18, 2008 12:26 AM

Actions