Struts Actions |
For apps that use SAP, all your actions should be subclasses of SAPBaseAction. It will stop any time a rfc call results in an Exception. In the rare case you need to do something else (like continue other processing) when an Exception is encountered, you can wrap a try catch on MessageRuntimeException around your service execute calls.
This provides automatic RFC error message handling (i.e. it takes all rfc messages and stores them into the struts actionmessages automatically).