Hi,
The below query's are taking more time for execution, please guide me for performance improvement:
if git_mseg_conv is not initial.
open cursor l_cl for
select ltxa1 rueck rmzhl
from afru
for all entries in git_mseg_conv
where ltxa1 = git_mseg_conv-charg and
werks = p_werks
%_hints oracle 'INDEX("AFRU" "AFRU~MS2")'.
if l_cl is not initial.
fetch next cursor l_cl into table git_afru_cast.
close cursor l_cl.
endif.
endif.
----
if not git_aufk is initial.
select rueck rmzhl ltxa1 aufnr
from afru
into table git_afru
for all entries in git_aufk
where aufnr = git_aufk-aufnr and
ltxa1 in s_charg.
endif.
delete git_afru where ltxa1 eq ' '.
Thanks.
Viji.