In the ABL program, use the RETURN statement to return the error to the adapter:
RETURN ERROR "Message".
In the SMC, select a value for the “SOAP Fault Processing” parameter:
None – Send the fault to the exit endpoint only (default).
Original Message – Send the original message to the exit endpoint and the fault to the fault endpoint.
SOAP Fault – Send the fault to both the exit and fault endpoints.