https://userapps.support.sap.com/sap/support/knowledge/en/3677653
3677653 - Error 500 when trying to create a new Supplier Invoice or Credit Memo from an Invoice...
You are trying to create a new Supplier Invoice (SIV) or Credit Memo (CM) from an Invoice Scanning, but the system crashes when you try to update the Purchase...