Thanks Pablo. We'll check the MRM_HEADER_CHECK.
We already raise the error in INVOICE_UPDATE. The issue I'm having in INVOICE_UPDATE is that the account assigned is being stored in SAKNR. So the statement "if account is 137510" is always true. Even when the SIMULATE clearly shows it will post to PPV account 530000.
I was wondering if we were doing the check in the wrong place. Maybe we are too early in the process and SAP hasn't cleared SAKNR to the correct PPV account?
Let me have ABAP check the MRM_HEADER_CHECK.
Many thanks
Cheryl