I've been following the help texts for SECATT to begin automating some tests inside SAP.
I have a current eCATT using a FUN ( BAPI* ) which may or may not result in errors.
according to the documentation, & all the forum answers for similar questions the best handler is the MESSAGE ... ENDMESSAGE commands.
The issue I am encountering is Error messages are being treated as allowed, unless I set the specific MSGID & MSGNO in the command interface with the Mode = F & Exit = X.
Even when I set the MSGTYP = E with the Mode = F & Exit = X, which shouldn't be necessary as that is one of the "Standard rules that require no specification in the command interface"
I'm obviously missing something blindingly obvious. Any insights gratefully received.