hello
I want to get data from AFRU table, but It is very slowly, for get every thing
select afpo~aufnr
from afpo
into table it_all_ord_pcnf
where afpo~matnr in material and
exists ( select aufnr from VJAUFK where INACT = ' ' and stat = 'I0010' ).
select DISTINCT RUECK
from afru
into table it_op_de
for all entries in it_all_ord_pcnf
where AUERU = 'X' and aufnr = it_all_ord_pcnf-aufnr.