When you got a part of your items received/invoiced, but the rest of them are no more relevant for you, you can close your PO by following the next steps:

1. Revise the PO.

2. Add all the remaining quantities to the "Rejected" column and confirm the PO.

The PO will go through the approval process again and then get completed.