Hello Thomas
please read cross
Exception Handling - IDoc Interface/Electronic Data Interchange - SAP Library
I believe after some "deep" check of this (and subchapters therein) you might find an answer
C.B.
P:S may be check as well: SAP ABAP: Workflow Configuration of Inbound IDOC processing:
ALE IDOC - Error handling through Workflow@Inbound process (Demo Object)
Configure workflow notifications for IDocs in error status
Outbound IDoc Error Handling via Workflow | SCN
Could be helpful as well: https://www.consolut.com/fileadmin/Medien/PDF/SAP_PrintDoku/en/BCSRVEDI/CAEDI.PDF
PS: the error indicated in the one picture is a "worse" one. You should investigate the reason of this issue not to disrupt SAP SD and SAP ESH DG integration