I am facing a performance problem in developing a custom report.
I am selecting billing documents from VBRK and then retrieving the corresponding accounting documents. It is taking a lot of time while retrieving the accounting documents. Sometimes I am getting a Timed out message and report is not getting executed.
Is there any function module or any other table to get the accounting document for a billing document to solve this performance issue.