Remove duplicates and take document No. and show respective purchase orders in a new page?

Below is the purchase line I required with that filters, as we can see the document No. can be the same as they’re PO line. So my requirement is to take unique document No and show all those purchase orders as a separate page.

Finally referring to @yzhums blogs I got the answer