You just need to create 2 selections and restrict one with status = open, posting date and other with status = closed, posting date. Include posting date, accounting doc numberin the drilldown. As you have 2 line items with different dates and status, the moment you execute the report for a particular date it will be bringing the doc as on date status.
Regards,
Dilip.