Skip to Content
Jun 07, 2007 at 08:16 AM

How to enhance selection of BKPF and BSEG



I need to make a simple report program that will display all journal entries based on Posting Date Range.

So for example, user will enter 2006.01.03, I will select document nos. from BKPF based on posting date, then select each line item from BSEG. Then I will print them on the screen.

So I now have two loops, one bye selecting each line item per document from BSEG then by printing them..

As we know, these are a lot of records! Haha.

So when I select even just a week, it takes so long..

How can I optimize this?