---
schema_version: "1"
id: f5b91c556f5e0783095a711ff01b1d49c12d3d1b711ea143e678d92f26376441
title: SAP Connector 5.9 Reference
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/sap-connector/latest/sap-connector-reference.md
canonical_url: https://docs.mulesoft.com/sap-connector/latest/sap-connector-reference
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 9c44ad2f27d71aa3289b535336d37b6cc219c8eb79d6f85ecd6357536086fe83
description: MuleSoft Documentation Site
release: "5.9"
latest: true
---
---
product: SAP Connector
version: 5.9
is-latest-version: true
---

# SAP Connector 5.9 Reference

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Anypoint Connector for SAP (SAP Connector) enables the integration of data to and from external
systems based on SAP NetWeaver.

> [!NOTE] Starting with version 5.0, SAP Connector also supports connecting to an on-premises
> instance of SAP S/4HANA.

## Limitations

- For SAP Connector versions 5.4.0 and earlier, multiple servers deployed on the same Mule runtime
  engine with the same PROGRAM\_ID, GATEWAY\_SERVICE, and GATEWAY\_HOST cannot be created by the JCo
  library. If you attempt to create two servers with the same PROGRAM\_ID, GATEWAY\_SERVICE, and
  GATEWAY\_HOST, only one server is created. To work around this, you can use two different Mule
  runtime engines or use the same PROGRAM\_ID with two different GATEWAY\_HOSTs.

- SAP Connector does not support Bitronix Transaction Manager.

- The **Document Listener** and **Function Listener** sources do not support Mule transactions.
  Although the **Transactional action** and **Transaction type** parameters (on the **Advanced
  tab**) are available for both sources, the transactional feature is not implemented.

- The reconnection strategy on SAP Listeners (**Document Listener** and **Function Listener**)
  relies exclusively on the JCo library, which means that the Mule reconnection mechanism has no
  impact on reconnections.

- The JCO Server that runs in the background manages the reconnection when there is a connection
  issue. The JCo RFC provider recognizes a communication error between the Java server and the ABAP
  gateway and attempts to reconnect. If the first reconnection fails, the next reconnection attempt
  occurs after waiting for one second. If the reconnection fails again, the reconnection wait time
  doubles from one second to two seconds, until eventually it reaches the default maximum waiting
  period of 3600 seconds, or one hour. Set the maximum reconnection timeout using the
  `-Djco.server.max_startup_delay=<reconnect delay in seconds>` JMV parameter.

- The `XSTRING` data format in SAP is a binary blop format. To submit values in an `XSTRING` field,
  you must use the [toHex](https://docs.mulesoft.com/dataweave/latest/dw-numbers-functions-tohex) function to base-32
  encode the binary within the XML submitted to the RFC step.

## Configuration

Default Configuration for SAP Connector.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name for this configuration. Connectors reference the configuration with this name.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Connection</strong></p></td><td><div><div><ul><li><p><a href="#sap_certificate">Certificate</a></p></li><li><p><a href="#sap_kerberos">Kerberos</a></p></li><li><p><a href="#sap_simple-connection-provider">Simple Connection Provider</a></p></li></ul></div></div></td><td><div><div><p>Connection types for this configuration.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Expiration Policy</strong></p></td><td><div><div><p><a href="#ExpirationPolicy">Expiration Policy</a></p></div></div></td><td><div><div><p>Configures the minimum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Canonical name of the encoding. Refer to <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html">Oracle’s supported encodings</a>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Default Idocument Version</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Default IDoc version.</p></div></div></td><td><div><div><p><code>0</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Disable Jco Internal Cache</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Flag that indicates whether to use the JCo internal cache. Set this flag to <code>true</code> to disable the SAP JCo internal cache. By default, JCo stores the metadata after the first call and populates that template in the following calls. This flag applies to both functions and sources.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Evaluate Response Flag</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Flag that indicates if an error response throws an exception or enables the user to handle it as another result. This flag is an exception or logging mechanism used to specify whether a message throws an exception (E) or is treated as a result with a warning (W).</p></div><div><p>If you set the flag to <code>true</code> and an exception (E) message is returned, an exception is thrown with that message.</p></div><div><p>If you set the flag to <code>true</code> and a warning (W) message is returned, a warning message is logged.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Log Trace Flag</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Flag that indicates whether to log the trace on the Mule server. Set this flag to <code>true</code> to log a trace.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Use SAP Format</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Determines whether to support the legacy format for returning SAP values. Used in the <code>JCoToBusinessObjectParser</code> class when parsing a <code>JCoField</code>. Use the SAP default format only when working with BAPIFunctions over sRFC.</p></div><div><ul><li><p><code>true</code></p><div><p>Values are returned as strings with the original SAP format.</p></div></li><li><p><code>false</code></p><div><p>Original values are converted to the corresponding Java objects, serialized, and returned.</p></div></li></ul></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Use SAP Format On Function Listener</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Determines whether to support the legacy format for returning SAP values. Used to parse a <code>JCoField</code>. Use the SAP default format only when working with the BAPI function listener.</p></div><div><ul><li><p><code>true</code></p><div><p>Values are returned as strings with the original SAP format.</p></div></li><li><p><code>false</code></p><div><p>Original values are converted to the corresponding Java objects, serialized, and returned.</p></div></li></ul></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr></tbody></table>

### Certificate Connection Type

Relies on an X509 certificate to authenticate the user.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>SAP system number</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Two-digit system number (sysnr) of the SAP system. Required when using <strong>Application server host</strong>. Not required when using <strong>Message server configuration</strong>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>SAP client ID</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Three-digit client number. Leading zeros are preserved if they appear in the number.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Destination Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Identifier of the destination generated by this connector. If none is set, a random value is created.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Login language</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Language code used by the connector. The language determines the code page used for communicating between the SAP adapter and the application server.</p></div></div></td><td><div><div><p><code>EN</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Extended Properties</strong></p></td><td><div><div><p>Object</p></div></div></td><td><div><div><p>Used to pass in all the database server-specific connection parameters.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>X.509 Certificate</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Path to the X.509 certificate. This is required when the connector is working as a client.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Application server host</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Host of the SAP application server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Message server configuration</strong></p></td><td><div><div><p><a href="#MessageServer">Message Server</a></p></div></div></td><td><div><div><p>Configuration for message server usage.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Enable RFC tracing on server</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Enables or disables RFC trace on the server.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Enable CPIC tracing on server</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>INHERIT</p></li><li><p>NO_TRACING</p></li><li><p>LEVEL_1</p></li><li><p>LEVEL_2</p></li><li><p>LEVEL_3</p></li></ul></div></div></td><td><div><div><p>Enables or disables CPIC trace on the server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection</strong></p></td><td><div><div><p><a href="#Reconnection">Reconnection</a></p></div></div></td><td><div><div><p>Configures a reconnection strategy to use when a connector operation fails to connect to an external server.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Kerberos Connection Type

Implements the Kerberos protocol to authenticate and authorize the user.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>SAP system number</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Two-digit system number (sysnr) of the SAP system. Required when using <strong>Application server host</strong>. Not required when using <strong>Message server configuration</strong>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>SAP client ID</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Three-digit client number. Leading zeros are preserved if they appear in the number.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Destination Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Identifier of the destination generated by this connector. If none is set, a random value is created.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Login language</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Language code used by the connector. The language determines the code page used for communicating between the SAP adapter and the application server.</p></div></div></td><td><div><div><p><code>EN</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Extended Properties</strong></p></td><td><div><div><p>Object</p></div></div></td><td><div><div><p>Used to pass in all the database server-specific connection parameters.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Application server host</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Host of the SAP application server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Message server configuration</strong></p></td><td><div><div><p><a href="#MessageServer">Message Server</a></p></div></div></td><td><div><div><p>Configuration for message server usage.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Enable RFC tracing on server</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Enables or disables RFC trace on the server.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Enable CPIC tracing on server</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>INHERIT</p></li><li><p>NO_TRACING</p></li><li><p>LEVEL_1</p></li><li><p>LEVEL_2</p></li><li><p>LEVEL_3</p></li></ul></div></div></td><td><div><div><p>Enables or disables CPIC trace on the server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Kerberos Config File Path</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Path to the krb5.conf file.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Keytab File Path</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Path to the keytab file.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>GSS Library Path</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Path to the gss library.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Principal</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Principal that the connector uses to log in to SAP.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Client SNC Partner Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The <code>jco.client.snc_partnername</code> property.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Client SNC My Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The <code>jco.client.snc_myname</code> property.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Server SNC Partner Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The <code>jco.server.snc_partnername</code> property.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Server SNC My Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The <code>jco.server.snc_myname</code> property.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection</strong></p></td><td><div><div><p><a href="#Reconnection">Reconnection</a></p></div></div></td><td><div><div><p>Configures a reconnection strategy to use when a connector operation fails to connect to an external server.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Simple Connection Provider Connection Type

Connects using a username and password.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>SAP system number</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Two-digit system number (sysnr) of the SAP system. Required when using <strong>Application server host</strong>. Not required when using <strong>Message server configuration</strong>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>SAP client ID</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Three-digit client number. Leading zeros are preserved if they appear in the number.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Destination Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Identifier of the destination generated by this connector. If none is set, a random value is created.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Login language</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Language code used by the connector. The language determines the code page used for communicating between the SAP adapter and the application server.</p></div></div></td><td><div><div><p><code>EN</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Extended Properties</strong></p></td><td><div><div><p>Object</p></div></div></td><td><div><div><p>Used to pass in all the database server-specific connection parameters.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Username</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Username the connector uses to log in to SAP.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Password</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Password associated with the login username.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Application server host</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Host of the SAP application server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Message server configuration</strong></p></td><td><div><div><p><a href="#MessageServer">Message Server</a></p></div></div></td><td><div><div><p>Configuration for message server usage.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Enable RFC tracing on server</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Enables or disables RFC trace on the server.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Enable CPIC tracing on server</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>INHERIT</p></li><li><p>NO_TRACING</p></li><li><p>LEVEL_1</p></li><li><p>LEVEL_2</p></li><li><p>LEVEL_3</p></li></ul></div></div></td><td><div><div><p>Enables or disables CPIC trace on the server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection</strong></p></td><td><div><div><p><a href="#Reconnection">Reconnection</a></p></div></div></td><td><div><div><p>When the application is deployed, a connectivity test is performed on all connectors. If set to <code>true</code>, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

## Sources

- [Document Listener](#document-listener)

- [Function Listener](#function-listener)

### Document Listener

`<sap:document-listener>`

Listens for incoming IDocs.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Gateway Host</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the host running the gateway server. This is the name of the host running the gateway handler. SAP Gateway is a development framework used to connect non-SAP applications to SAP applications. You can configure the SAP Gateway host to be the trusted system using an RFC destination.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Gateway Service</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Service port for the gateway service of the SAP system. To use the name instead of the port, you must map the gateway service name to the gateway service port.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Program ID</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>SAP system program ID that is registered on the gateway. Must be unique for the given gateway.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Connection Count</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Number of connections to register on the gateway. If there is more than one connection, handler requests are processed in parallel. For example, if two connections are set, this creates two handler workers or threads that handle requests in parallel, almost like having two sources start together.</p></div></div></td><td><div><div><p><code>1</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Idoc Type Filter Regex</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression to filter all incoming IDocs by type.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Idoc Type Extension Filter Regex</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression to filter all incoming IDocs by type extension.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Message server host</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Host of the message server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Message server port</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Message server name or port number.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>System ID</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>System ID of the system the message server belongs to.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Group</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Logon group defined in ABAP that identifies a set of application servers.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Update interval</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>How often the message server fetches the list of application servers.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>IDoc Render Options</strong></p></td><td><div><div><p><a href="#IDocRenderParameterGroup">IDoc Render Parameter Group</a></p></div></div></td><td><div><div><p>IDoc rendering options.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Canonical name of the encoding. Refer to <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html">Oracle’s supported encodings</a>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Transactional Action</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>ALWAYS_BEGIN</p></li><li><p>NONE</p></li></ul></div></div></td><td><div><div><p>Type of beginning action that sources take regarding transactions.</p></div></div></td><td><div><div><p><code>NONE</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Transaction Type</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>LOCAL</p></li><li><p>XA</p></li></ul></div></div></td><td><div><div><p>Type of transaction to create. Availability depends on Mule version.</p></div></div></td><td><div><div><p><code>LOCAL</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Primary Node Only</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Determines whether to execute this source on only the primary node when running Mule instances in a cluster.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Redelivery Policy</strong></p></td><td><div><div><p><a href="#RedeliveryPolicy">Redelivery Policy</a></p></div></div></td><td><div><div><p>Defines a policy for processing the redelivery of the same message.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><div><div><p><a href="#SapAttributes">SAP Attributes</a></p></div></div></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#sap)

### Function Listener

`<sap:function-listener>`

Listens for incoming BAPI functions.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Gateway Host</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the host running the gateway server. This is the name of the host running the gateway handler. SAP Gateway is a development framework used to connect non-SAP applications to SAP applications. You can configure the SAP Gateway host to be the trusted system using an RFC destination.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Gateway Service</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Service port for the gateway service of the SAP system. To use the name instead of the port, you must map the gateway service name to the gateway service port.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Program ID</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>SAP system program ID that is registered on the gateway. Must be unique for the given gateway.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Connection Count</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Number of connections to register on the gateway. If there is more than one connection, handler requests are processed in parallel. For example, if two connections are set, this creates two handler workers or threads that handle requests in parallel, almost like having two sources start together.</p></div></div></td><td><div><div><p><code>1</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Targeted Function</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the function to receive. Filters the incoming BAPI functions by their names.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Message server host</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Host of the message server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Message server port</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Message server name or port number.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>System ID</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>System ID of the system the message server belongs to.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Group</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Logon group defined in ABAP that identifies a set of application servers.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Update interval</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>How often the message server fetches the list of application servers.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Canonical name of the encoding. Refer to <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html">Oracle’s supported encodings</a>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Transactional Action</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>ALWAYS_BEGIN</p></li><li><p>NONE</p></li></ul></div></div></td><td><div><div><p>Type of beginning action that sources take regarding transactions.</p></div></div></td><td><div><div><p><code>NONE</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Transaction Type</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>LOCAL</p></li><li><p>XA</p></li></ul></div></div></td><td><div><div><p>Type of transaction to create. Availability depends on Mule version.</p></div></div></td><td><div><div><p><code>LOCAL</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Primary Node Only</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Determines whether to execute this source on only the primary node when running Mule instances in a cluster.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Redelivery Policy</strong></p></td><td><div><div><p><a href="#RedeliveryPolicy">Redelivery Policy</a></p></div></div></td><td><div><div><p>Defines a policy for processing the redelivery of the same message.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Response</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>Source response.</p></div><div><div data-type="NOTE">SAP 5.6 and later supports updating a specific row in a table when a response is sent back to SAP after <strong>Function Listener</strong> is triggered. To update a specific row, add the <code>INDEX_ROW_UPDATE</code> parameter to the payload with the index of the row you want to update.</div></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><div><div><p><a href="#SapAttributes">SAP Attributes</a></p></div></div></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#sap)

## Operations

- [Asynchronous Remote Function Call (Deprecated)](#asyncRfc)

- [Asynchronous Remote Function Call](#asynchronousRemoteFunctionCall)

- [Confirm Transaction](#confirmTransactionId)

- [Get Function](#getFunction)

- [Retrieve IDoc](#retrieveIdoc)

- [Send IDoc](#send)

- [Start SAP Transaction](#startsaptransaction)

- [Synchronous Remote Function Call (Deprecated)](#syncRfc)

- [Synchronous Remote Function Call](#synchronousRemoteFunctionCall)

### Asynchronous Remote Function Call (Deprecated)

`<sap:async-rfc>`

This operation is deprecated. Use the
[**Asynchronous Remote Function Call**](#asynchronousRemoteFunctionCall) operation instead.

This operation works only with JCo 3.0.x.

Executes a BAPIFunction over a queued Remote Function Call (qRFC).

A qRFC is an extension of a transactional RFC (tRFC) that ensures that individual steps are
processed in sequence. This guarantees that multiple logical unit of work (LUW) transactions are
processed in the order specified by the application.

tRFC can be serialized using inbound and outbound queues, hence the name queued RFC. qRFC is best
used as an extension of tRFC to define a processing sequence. Use qRFC to guarantee that several
transactions are processed in a predefined order.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Function Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the function to execute.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Content</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>BAPIFunction to execute.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Transaction Id</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>ID that identifies an RFC so that the RFC runs only once.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Queue Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the queue on which the RFC executes. This applies for qRFC since each tRFC call that is processed is given a queue name by the application. A queue name and version are required for each qRFC transaction.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Canonical name of the encoding. Refer to <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html">Oracle’s supported encodings</a>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Transactional Action</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>ALWAYS_JOIN</p></li><li><p>JOIN_IF_POSSIBLE</p></li><li><p>NOT_SUPPORTED</p></li></ul></div></div></td><td><div><div><p>Type of joining action that operations take regarding transactions.</p></div></div></td><td><div><div><p><code>JOIN_IF_POSSIBLE</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#sap)

#### Throws

- SAP:CONNECTIVITY

- SAP:INVALID\_CACHE

- SAP:INVALID\_INPUT

- SAP:METADATA\_UNAVAILABLE

- SAP:NOT\_FOUND

- SAP:NOT\_SUPPORTED

- SAP:PARSING

- SAP:RETRY\_EXHAUSTED

- SAP:SYSTEM\_BUSY

- SAP:TIMEOUT

### Asynchronous Remote Function Call

`<sap:asynchronous-remote-function-call>`

This operation works only with JCo 3.1.x and expects valid XML content in the response.

Executes a BAPIFunction over a queued Remote Function Call (qRFC) and throws an `SAP:INVALID_INPUT`
error when the provided payload is invalid according to JCo library checks.

A qRFC is an extension of a transactional RFC (tRFC) that ensures that individual steps are
processed in sequence. This guarantees that multiple logical unit of work (LUW) transactions are
processed in the order specified by the application.

tRFC can be serialized using inbound and outbound queues, hence the name queued RFC. qRFC is best
used as an extension of tRFC to define a processing sequence. Use qRFC to guarantee that several
transactions are processed in a predefined order.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Function Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the function to execute.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Content</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>BAPIFunction to execute.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Transaction Id</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>ID that identifies an RFC so that the RFC runs only once.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Queue Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the queue on which the RFC executes. This applies for qRFC since each tRFC call that is processed is given a queue name by the application. A queue name and version are required for each qRFC transaction.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Canonical name of the encoding. Refer to <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html">Oracle’s supported encodings</a>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Transactional Action</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>ALWAYS_JOIN</p></li><li><p>JOIN_IF_POSSIBLE</p></li><li><p>NOT_SUPPORTED</p></li></ul></div></div></td><td><div><div><p>Type of joining action that operations take regarding transactions.</p></div></div></td><td><div><div><p><code>JOIN_IF_POSSIBLE</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#sap)

#### Throws

- SAP:CONNECTIVITY

- SAP:INVALID\_CACHE

- SAP:INVALID\_INPUT

- SAP:METADATA\_UNAVAILABLE

- SAP:NOT\_FOUND

- SAP:NOT\_SUPPORTED

- SAP:PARSING

- SAP:RETRY\_EXHAUSTED

- SAP:SYSTEM\_BUSY

- SAP:TIMEOUT

### Confirm Transaction

`<sap:confirm-transaction-id>`

Confirms to the server that a transaction is successful.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Transaction ID (TID)</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>ID of the transaction to confirm.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Transactional Action</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>ALWAYS_JOIN</p></li><li><p>JOIN_IF_POSSIBLE</p></li><li><p>NOT_SUPPORTED</p></li></ul></div></div></td><td><div><div><p>Type of joining action that operations take regarding transactions.</p></div></div></td><td><div><div><p><code>JOIN_IF_POSSIBLE</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#sap)

#### Throws

- SAP:CONNECTIVITY

- SAP:RETRY\_EXHAUSTED

### Get Function

`<sap:get-function>`

Retrieves a BAPIFunction based on its name.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Function Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the function to retrieve.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Canonical name of the encoding. Refer to <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html">Oracle’s supported encodings</a>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Transactional Action</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>ALWAYS_JOIN</p></li><li><p>JOIN_IF_POSSIBLE</p></li><li><p>NOT_SUPPORTED</p></li></ul></div></div></td><td><div><div><p>Type of joining action that operations take regarding transactions.</p></div></div></td><td><div><div><p><code>JOIN_IF_POSSIBLE</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#sap)

#### Throws

- SAP:CONNECTIVITY

- SAP:INVALID\_CACHE

- SAP:INVALID\_INPUT

- SAP:METADATA\_UNAVAILABLE

- SAP:NOT\_FOUND

- SAP:NOT\_SUPPORTED

- SAP:PARSING

- SAP:RETRY\_EXHAUSTED

- SAP:SYSTEM\_BUSY

- SAP:TIMEOUT

### Retrieve IDoc

`<sap:retrieve-idoc>`

Retrieves an IDoc structure based on its key.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>IDoc Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Key that contains the required information to retrieve the IDoc.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Canonical name of the encoding. Refer to <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html">Oracle’s supported encodings</a>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Transactional Action</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>ALWAYS_JOIN</p></li><li><p>JOIN_IF_POSSIBLE</p></li><li><p>NOT_SUPPORTED</p></li></ul></div></div></td><td><div><div><p>Type of joining action that operations take regarding transactions.</p></div></div></td><td><div><div><p><code>JOIN_IF_POSSIBLE</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#sap)

#### Throws

- SAP:CONNECTIVITY

- SAP:INVALID\_CACHE

- SAP:INVALID\_INPUT

- SAP:METADATA\_UNAVAILABLE

- SAP:NOT\_FOUND

- SAP:NOT\_SUPPORTED

- SAP:PARSING

- SAP:RETRY\_EXHAUSTED

- SAP:SYSTEM\_BUSY

- SAP:TIMEOUT

### Send IDoc

`<sap:send>`

Sends an IDoc to SAP over an RFC. An RFC can be one of two types for IDocs:

- Transactional (tRFC)

  A special form of asynchronous Remote Function Call (aRFC). tRFC ensures transaction-like handling
  of processing steps that were originally handled autonomously. tRFC is an asynchronous
  communication method that executes the called function module in the RFC server only once, even if
  the data is sent multiple times due to a network issue. The remote system does not need to be
  available at the time the RFC client program is executing a tRFC. The tRFC component stores the
  called RFC function, along with the corresponding data, in the SAP database under a unique
  transaction ID (TID). tRFC is similar to aRFC since it does not wait at the target system (similar
  to a registered post). If the system is not available, the data is written into aRFC tables with a
  transaction ID (SM58) that is chosen by the scheduler RSARFCSE and runs every 60 seconds. tRFC is
  best used as an extension of asynchronous RFC secure communication between systems.

- Queued (qRFC)

  An extension of tRFC. qRFC ensures that individual steps are processed in sequence. Use qRFC to
  guarantee that multiple LUWs (Logical Unit of Work transactions) are processed in the order
  specified by the application. tRFC can be serialized using inbound and outbound queues, hence the
  name queued RFC (qRFC). qRFC is best used as an extension of tRFC to define a processing sequence.
  Implement qRFC if you want to guarantee that several transactions are processed in a predefined
  order.

Both tRFC and qRFC have a TID handler.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>IDoc Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the IDoc to execute.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Content</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>IDoc to execute.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Version</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Version on the IDoc.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Transaction Id</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>ID that identifies an RFC so that the RFC runs only once.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Queue Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the queue on which the RFC executes. This applies for qRFC since each tRFC call that is processed is given a queue name by the application. A queue name and version are required for each qRFC transaction.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>IDoc Parsing Options</strong></p></td><td><div><div><p><a href="#IDocParseParameterGroup">IDoc Parse Parameter Group</a></p></div></div></td><td><div><div><p>IDoc parsing options.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Canonical name of the encoding. Refer to <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html">Oracle’s supported encodings</a>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Transactional Action</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>ALWAYS_JOIN</p></li><li><p>JOIN_IF_POSSIBLE</p></li><li><p>NOT_SUPPORTED</p></li></ul></div></div></td><td><div><div><p>Type of joining action that operations take regarding transactions.</p></div></div></td><td><div><div><p><code>JOIN_IF_POSSIBLE</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#sap)

#### Throws

- SAP:CONNECTIVITY

- SAP:INVALID\_CACHE

- SAP:INVALID\_INPUT

- SAP:METADATA\_UNAVAILABLE

- SAP:NOT\_FOUND

- SAP:NOT\_SUPPORTED

- SAP:PARSING

- SAP:RETRY\_EXHAUSTED

- SAP:SYSTEM\_BUSY

- SAP:TIMEOUT

### Start SAP Transaction

`<sap:create-transaction-id>`

Creates a transaction ID to use as part of future calls.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Transactional Action</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>ALWAYS_JOIN</p></li><li><p>JOIN_IF_POSSIBLE</p></li><li><p>NOT_SUPPORTED</p></li></ul></div></div></td><td><div><div><p>Type of joining action that operations take regarding transactions.</p></div></div></td><td><div><div><p><code>JOIN_IF_POSSIBLE</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>String</p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#sap)

#### Throws

- SAP:CONNECTIVITY

- SAP:INVALID\_CACHE

- SAP:INVALID\_INPUT

- SAP:METADATA\_UNAVAILABLE

- SAP:NOT\_FOUND

- SAP:NOT\_SUPPORTED

- SAP:PARSING

- SAP:RETRY\_EXHAUSTED

- SAP:SYSTEM\_BUSY

- SAP:TIMEOUT

### Synchronous Remote Function Call (Deprecated)

`<sap:sync-rfc>`

This operation is deprecated. Use the
[**Synchronous Remote Function Call**](#synchronousRemoteFunctionCall) operation instead.

This operation works only with JCo 3.0.x.

Executes a BAPIFunction over a synchronous Remote Function Call (sRFC). sRFC requires both the
systems (client and server) to be available at the time of communication or data transfer. sRFC is
the most common type and is used when a result is required immediately after the execution of sRFC.
sRFC is a means of communication between systems where acknowledgments are required.

The resources of the source system wait at the target system and ensure that they deliver the
message or data with ACKD. The data is consistent and reliable for communication. If the target
system is not available, the source system resources wait until the target system is available. This
can lead to the processes of the source system going into Sleep/RFC/CPIC mode at the target systems,
which blocks these resources. Use sRFC for communication between systems, and communication between
an SAP web application server and an SAP GUI.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Function Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the function to execute.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Content</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>BAPIFunction to execute.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Canonical name of the encoding. Refer to <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html">Oracle’s supported encodings</a>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Transactional Action</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>ALWAYS_JOIN</p></li><li><p>JOIN_IF_POSSIBLE</p></li><li><p>NOT_SUPPORTED</p></li></ul></div></div></td><td><div><div><p>Type of joining action that operations take regarding transactions.</p></div></div></td><td><div><div><p><code>JOIN_IF_POSSIBLE</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#sap)

#### Throws

- SAP:CONNECTIVITY

- SAP:INVALID\_CACHE

- SAP:INVALID\_INPUT

- SAP:METADATA\_UNAVAILABLE

- SAP:NOT\_FOUND

- SAP:NOT\_SUPPORTED

- SAP:PARSING

- SAP:RETRY\_EXHAUSTED

- SAP:SYSTEM\_BUSY

- SAP:TIMEOUT

### Synchronous Remote Function Call

`<sap:synchronous-remote-function-call>`

This operation works only with JCo 3.1.x and expects valid XML content in the response.

If the function being called must impact changes in SAP, you must add a `try` block because you need
an open transaction.

Executes a BAPIFunction over a synchronous Remote Function Call (sRFC) and throws an
`SAP:INVALID_INPUT` error when the provided payload is invalid according to JCo library checks. sRFC
requires both the systems (client and server) to be available at the time of communication or data
transfer. sRFC is the most common type and is used when a result is required immediately after the
execution of sRFC. sRFC is a means of communication between systems where acknowledgments are
required.

The resources of the source system wait at the target system and ensure that they deliver the
message or data with ACKD. The data is consistent and reliable for communication. If the target
system is not available, the source system resources wait until the target system is available. This
can lead to the processes of the source system going into Sleep/RFC/CPIC mode at the target systems,
which blocks these resources. Use sRFC for communication between systems, and communication between
an SAP web application server and an SAP GUI.

> [!NOTE] The **Synchronous Remote Function Call** operation requires authorization for the
> `RFC_METADATA_GET` function module. If authorization is not granted, you may encounter this error:
>
> `com.sap.conn.rfc.exceptions.RfcGetException: No RFC authorization for function module RFC_METADATA_GET`.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Function Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the function to execute.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Content</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>BAPIFunction to execute.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Canonical name of the encoding. Refer to <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html">Oracle’s supported encodings</a>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Transactional Action</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>ALWAYS_JOIN</p></li><li><p>JOIN_IF_POSSIBLE</p></li><li><p>NOT_SUPPORTED</p></li></ul></div></div></td><td><div><div><p>Type of joining action that operations take regarding transactions.</p></div></div></td><td><div><div><p><code>JOIN_IF_POSSIBLE</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#sap)

#### Throws

- SAP:CONNECTIVITY

- SAP:INVALID\_CACHE

- SAP:INVALID\_INPUT

- SAP:METADATA\_UNAVAILABLE

- SAP:NOT\_FOUND

- SAP:NOT\_SUPPORTED

- SAP:PARSING

- SAP:RETRY\_EXHAUSTED

- SAP:SYSTEM\_BUSY

- SAP:TIMEOUT

## Object Types

- [Expiration Policy](#ExpirationPolicy)

- [IDoc Parse Parameter Group](#IDocParseParameterGroup)

- [IDoc Render Parameter Group](#IDocRenderParameterGroup)

- [Message Server](#MessageServer)

- [Reconnect](#reconnect)

- [Reconnect Forever](#reconnect-forever)

- [Reconnection](#Reconnection)

- [Redelivery Policy](#RedeliveryPolicy)

- [Repeatable File Store Stream](#repeatable-file-store-stream)

- [Repeatable In Memory Stream](#repeatable-in-memory-stream)

- [SAP Attributes](#SapAttributes)

### Expiration Policy

Configures an expiration policy strategy.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Max Idle Time</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Configures the maximum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Time Unit</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>NANOSECONDS</p></li><li><p>MICROSECONDS</p></li><li><p>MILLISECONDS</p></li><li><p>SECONDS</p></li><li><p>MINUTES</p></li><li><p>HOURS</p></li><li><p>DAYS</p></li></ul></div></div></td><td><div><div><p>Time unit for the <strong>Max Idle Time</strong> field.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### IDoc Parse Parameter Group

IDoc parsing options.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Parse With Field Value Checking</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to enable the field value checking mechanism in accordance with the respective IDoc field metadata when parsing.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Parse Ignore Unknown Fields</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to ignore unknown fields when parsing, for example, when parsing with older IDoc metadata.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Parse Ignore Invalid Char Errors</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to ignore character range check errors in accordance with the declared XML specification version when parsing. When using this option, invalid characters within field values are accepted, although the XML document to parse might contain characters that are not in the valid character range.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Parse Without Field Data Type Checking</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to disable the field data type checking mechanism in accordance with the respective IDoc field metadata when parsing.<br><br></p></div><div><div data-type="WARNING"><div><p>Use this option with care.</p></div><div><p>Sending IDocs with illegal field contents that violate the field’s defined datatype can cause ABAP system dumps and result in unrecognized partial loss of data when processed in an AS ABAP system.</p></div></div></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Parse Refuse Unknown XML Version</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to refuse XML documents that declare an unknown XML specification version, for example, a potential future XML specification version 1.2 or 2.0.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Parse Refuse XML Version10</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to refuse XML documents that don’t use XML specification version 1.0 or that don’t contain an XML declaration header.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Parse Refuse XML Version11</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to refuse XML documents that use XML specification version 1.1.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Parse Accept Only Xml Version10</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to accept only XML documents that use XML specification version 1.0 or that don’t contain an XML declaration header.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Parse Accept Only Xml Version11</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to accept only XML documents that use XML specification version 1.1 or that don’t contain an XML declaration header.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Parse Accept Only Xml Version10 To11</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to accept only XML documents that use XML specification version 1.0 or 1.1 or that don’t contain an XML declaration header.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr></tbody></table>

### IDoc Render Parameter Group

IDoc rendering options.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Render IDoc Empty Tags</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to include all empty tags in the resulting XML document.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Render IDoc Ignore Invalid Char Errors</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to ignore character range check errors in accordance with the used XML specification version.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Render IDoc Ignore Tag Escape Errors</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to ignore escape character errors within XML tags in accordance with the used IDocXML format</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Render IDoc Omit Xml Declaration</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to omit the XML declaration section in the resulting XML document.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Render IDoc Optional Encoding Decl</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to write an optional XML encoding declaration attribute into the resulting XML document.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Render IDoc Substitute Invalid Chars</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to substitute invalid characters within IDoc field values with the number sign <code>#</code> (<code>U+0023</code>).</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Render IDoc With CR</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to insert <code>CR</code> (Carriage Return) characters into the resulting XML document.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Render IDoc With CRLF</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to insert <code>CR+LF</code> (Carriage Return and Line Feed) characters into the resulting XML document.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Render IDoc With LF</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to insert <code>LF</code> (Line Feed) characters into the resulting XML document.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Render IDoc With Tabs And CR</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to insert <code>TAB</code> and <code>CR</code> (Tab and Carriage Return) characters into the resulting XML document.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Render IDoc With Tabs And CRLF</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to insert <code>TAB</code> and <code>CR+LF</code> (Tab, Carriage Return and Line Feed) characters into the resulting XML document.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Render IDoc With Tabs And LF</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to insert <code>TAB</code> and <code>LF</code> (Tab and Line Feed) characters into the resulting XML document.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Render IDoc Xml10</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to create an XML document compliant with XML specification version 1.0.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Render IDoc Xml11</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to create an XML document compliant with XML specification version 1.1.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr></tbody></table>

### Message Server

You can configure a message server with multiple gateways to distribute the load and improve
performance. The message server configuration is used for all SAP Connector operations (**Document
Listener**, **Function Listener**, and all other operations such as **Synchronous Remote Function
Call** and **Send IDoc**). For more information, refer to
[Configure Multiple Gateways](https://docs.mulesoft.com/sap-connector/latest/sap-connector-examples#configure-multiple-gateways).

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Host</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Host of the message server.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>System Id</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>System ID of the SAP system.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Port</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Port with which the connector logs into the message server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Group</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Group of SAP application servers.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Router</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>SAP router string to use for a system protected by a firewall.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Reconnect

Configures a standard reconnection strategy, which specifies how often to reconnect and how many
reconnection attempts the connector source or operation can make.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Frequency</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>How often to attempt to reconnect, in milliseconds.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Count</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>How many reconnection attempts the Mule app can make.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Reconnect Forever

Configures a forever reconnection strategy by which the connector source or operation attempts to
reconnect at a specified frequency for as long as the Mule app runs.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Frequency</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>How often to attempt to reconnect, in milliseconds.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Reconnection

Configures a reconnection strategy for an operation.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Fails Deployment</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>What to do if, when an app is deployed, a connectivity test does not pass after exhausting the associated reconnection strategy:</p></div><div><ul><li><p><code>true</code></p><div><p>Allow the deployment to fail.</p></div></li><li><p><code>false</code></p><div><p>Ignore the results of the connectivity test.</p></div></li></ul></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Reconnection strategy to use.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Redelivery Policy

Configures the redelivery policy for executing requests that generate errors. You can add a
redelivery policy to any source in a flow.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Max Redelivery Count</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Maximum number of times that a redelivered request can be processed unsuccessfully before returning a REDELIVERY_EXHAUSTED error.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Use Secure Hash</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Whether to use a secure hash algorithm to identify a redelivered message.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Message Digest Algorithm</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Secure hashing algorithm to use if the <strong>Use Secure Hash</strong> field is <code>true</code>. If the payload of the message is a Java object, Mule ignores this value and returns the value that the payload’s <code>hashCode()</code> returned.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Id Expression</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>One or more expressions that determine when a message was redelivered. This property can be set only if the <strong>Use Secure Hash</strong> field is <code>false</code>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Object Store</strong></p></td><td><div><div><p>Object Store</p></div></div></td><td><div><div><p>Configures the object store that stores the redelivery counter for each message.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Repeatable File Store Stream

Configures the repeatable file-store streaming strategy by which Mule keeps a portion of the stream
content in memory. If the stream content is larger than the configured buffer size, Mule backs up
the buffer’s content to disk and then clears the memory.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>In Memory Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Maximum amount of memory that the stream can use for data. If the amount of memory exceeds this value, Mule buffers the content to disk. To optimize performance:</p></div><div><ul><li><p>Configure a larger buffer size to avoid the number of times Mule needs to write the buffer on disk. This increases performance, but it also limits the number of concurrent requests your application can process, because it requires additional memory.</p></li><li><p>Configure a smaller buffer size to decrease memory load at the expense of response time.</p></li></ul></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Buffer Unit</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>BYTE</p></li><li><p>KB</p></li><li><p>MB</p></li><li><p>GB</p></li></ul></div></div></td><td><div><div><p>Unit for the <strong>In Memory Size</strong> field.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Repeatable In Memory Stream

Configures the in-memory streaming strategy by which the request fails if the data exceeds the MAX
buffer size. Always run performance tests to find the optimal buffer size for your specific use
case.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Initial Buffer Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Initial amount of memory to allocate to the data stream. If the streamed data exceeds this value, the buffer expands by <strong>Buffer Size Increment</strong>, with an upper limit of <strong>Max In Memory Size value</strong>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Buffer Size Increment</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Amount by which the buffer size expands if it exceeds its initial size. Setting a value of <code>0</code> or lower specifies that the buffer can’t expand.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Max Buffer Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>The maximum amount of memory to use. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised. A value lower than or equal to zero means no limit.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Buffer Unit</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>BYTE</p></li><li><p>KB</p></li><li><p>MB</p></li><li><p>GB</p></li></ul></div></div></td><td><div><div><p>Unit for the <strong>Initial Buffer Size</strong>, <strong>Buffer Size Increment</strong>, and <strong>Buffer Unit</strong> fields.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### SAP Attributes

Attributes for SAP payload.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Transaction Id</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Transaction ID value.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

## See Also

- [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors)

- [Salesforce Help](https://help.salesforce.com)
