I have a simple query on BSEG:
select belnr buzei bschl umskz from bseg
into (bseg-belnr, bseg-buzei, bseg-bschl, bseg-umskz)
where bukrs = p_bukrs
and belnr in s_belnr.
move-corresponding bseg to appo_bseg.
If the select-option S_BELNR is filled with:
from <number> to <number>, the select is very fast.
If the select-option S_BELNR is filled with only some single values (number), the select becomes very slow.
Does any of you know the why?