SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → User Dialogs → Messages → Behavior of messages →Messages in RFC Processing
As long as no list or dialog processing takes place during the processing of a function module called up using the RFC interface, messages behave as follows:
If dialog processing or list processing takes place during RFC processing, any messages sent behave as described there.
Note
If a message of type "E" is sent in a remote-enabled function module, note that it depends on the type of call whether a database rollback will occur or not. If the call does not take place using the RFC interface, a database rollback usually does not occur.