Performance improvement of Select Query
Please suggest me to fine tune below query with example. It is causing DUMP when I am executing it because of low memory..
select * from vbap into table it_vbap where vbeln = p_vbeln
or vgbel = p_vbeln
or vbeln = j_3avbfae-vbelv
or vgbel = j_3avbfae-vbelv
or vbeln = p_vgbel
or vgbel = p_vgbel.
Thanks in advance.