Well, the issue is just a bit bigger but it can be done. Many of us have already. Here is what you need.
First, you need to know that you have work tables (PM1xxxx) where unposted transactions sit, open tables (PM2xxxxx) where posted transactions sit, and history tables (PM3xxxx) where transactions moved to history sit.
Transactions (all of them) are initially recorded in the PM10100 table and their relationships (apply payments to invoices) is stored in the PM10200 table.
When the transactions are posted (in most cases, almost immediately after they are entered), they move to the PM20000 table with the applications (payments, credit memos, etc applied to invoices) noted in the PM20100 table.
When the transactions are fully paid out and processed, they can move to the history tables where all of the invoices, payments, debit memos, credit memos, et cetera are stored in the PM30200 table and the application of documents to each other recorded in the PM30300 table.
Now if you only need Work, Open (posted but not fully paid), or History, you can simply use one pair of tables. If you need Work and Open (unpaid invoices still in play) you need to join the two tables holding documents and the two tables holding application records into two views and use the pair of views.
BTW...all of this is explained in our book Information Flow and Posting. Check it out on our web site. www.AccoladePubliatioins.com