‎2007 Aug 06 6:42 PM
My code below is taking too much time around 13,369,415
I need to improve the performance of the code. any ideas!!!
SELECT SINGLE aufnr
FROM mseg
INTO v_aufnr
WHERE charg IN charg
AND bwart = v_move.
‎2007 Aug 06 7:00 PM
Hi.
The use of IN kill performance. Try to select without IN.
Regards.
‎2007 Aug 06 7:08 PM
I tried without
INand its the same performace. It has to do with
MSEGtable, I think the table has a lot of data and too many fields.
‎2007 Aug 06 7:47 PM