Skip to Content
0
Former Member
Sep 17, 2007 at 02:48 PM

[URGENT]: BSEG performance issue

23 Views

Hi experts,

Need help on how to improve on the performance of select from BSEG table. Points will be rewarded. Thanks!

IF i_vbappay[] IS NOT INITIAL.

SELECT bukrs

belnr

zuonr

vbel2

posn2

gvtyp

FROM bseg

INTO TABLE i_bseg

FOR ALL ENTRIES IN i_vbappay

WHERE bukrs EQ i_vbappay-bukrs

AND vbel2 EQ i_vbappay-vbeln

AND posn2 EQ i_vbappay-posnr

AND gvtyp EQ c_x.

ENDIF.