We have a requirement in which we want to get detailed information about FI documents(From BKPF and BSEG) which are archived. Currently we implemented logic to use FM 'FI_DOCUMENT_ARCH_AS_ITEMS_READ' to achieve this purpose. We are putting this FM inside one loop and passing required selection criteria to FM. There are around 40lakhs documents for which we need information. THis FM is working fine upto 1-2 lakhs records and then it is taking more time. Is there any FM/ Note through which we can get some help on this problem?
Thanks in advance,