People are complaining about the time it takes to execute a report, and when I checked out the program, I found the following select that is slowing things down:
SELECT * INTO CORRESPONDING FIELDS OF TABLE t_vbfa FROM vbfa
WHERE vbeln = lt_recup-vbeln
AND vbtyp_n = 'M'
AND vbtyp_v = 'J'.
Would an index help to speed this up?