Skip to Content
0
Former Member
Aug 31, 2006 at 01:34 PM

Strange performance for BSEG

75 Views

Hi guys

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.

append appo_bseg.

endselect.

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?

Thanks

Max