Hi Dr.,
For invoiced PO, you need to create a new PO and then to use credit note to reverse the transaction.
For invoiced SO, you can directly create credit note to reverse the transaction on SO.
For older version eg ax2009, the credit note for invoiced PO is enable, but this feature is disabled in current version.