Skip to main content

SAP Connection

The SAP connection type enables automations to communicate with SAP ERP or S/4HANA systems over RFC (Remote Function Call) or REST, allowing workflows to read master data, post business documents, trigger BAPIs, and call function modules. Credentials and server details are stored once and reused across any number of SAP-enabled workflow steps.

Connection Details

PropertyValue
Type IDSAP
CategoryEnterprise Applications
TestableYes

Friendly Example

What you enterExample
Connection nameSAP - Purchase Orders (PRD)
Used forReading open purchase orders and posting goods receipts into the ERP
Main details to collectSAP host, system number, client number, RFC username and password
Best person to provide itSAP BASIS administrator

After it is saved, workflow builders select SAP - Purchase Orders (PRD) in a node instead of entering server details each time.

Mandatory Fields

FieldWhat It MeansExample
hostHostname or IP address of the SAP application serversap-prd.contoso.com
systemNumberTwo-digit SAP instance number that identifies the application server process (00–99)00
clientThree-digit SAP client number — equivalent to a logical tenant within the SAP system100
usernameSAP logon name of the RFC or communication-type userRFC_QINFINITE
passwordPassword for the SAP user. Encrypted at rest.S@pP@ss#99
System Number vs Client

These are two different concepts that are often confused. The system number identifies which SAP process is listening on the application server (think: port offset). The client is a logical company code partition inside that SAP system. Both are required.

Advanced Fields

FieldWhat It MeansExample
languageSAP logon language (ISO two-letter code). Controls language of returned text fields and error messages.EN
poolCapacityNumber of idle RFC connections kept open in the connection pool for reuse5
peakLimitMaximum simultaneous RFC connections allowed at any one time10
timeoutSecondsSeconds before an RFC call is abandoned and a timeout error is raised60

Setup Instructions

  1. Get connection details from your SAP BASIS team. You need the application server hostname, the instance/system number (visible in SAP GUI in the bottom-right status bar as <SID>/<instance>), and the client number used by your business unit.

  2. Create a dedicated RFC user. In SAP, run transaction SU01 and create a user with User Type: Communication (type B — no interactive logon required). Name it something identifiable, e.g., RFC_QINFINITE. Communication-type users do not expire by default and are preferred over dialog users for integrations.

  3. Assign RFC authorization objects. Work with your BASIS team to assign a role or authorization profile that includes S_RFC (RFC access), S_TCODE (for relevant transactions), and any business-object authorizations the automations need (e.g., M_BEST_BSA for purchasing). Start with a restrictive profile and expand as needed.

  4. Verify connectivity from the Qinfinite host. SAP RFC uses port 33<systemNumber> by default (e.g., 3300 for system number 00). Confirm that the firewall allows inbound traffic from the Qinfinite server on this port.

  5. Save and test. Enter all details in Global Configurator and click Test Connection. A successful test confirms that the JCo RFC handshake completes and the user can log on.

Communication-Type Users Only

Do not use Dialog user accounts (type A) for RFC integrations. Dialog accounts are subject to password expiry and concurrent logon limits, which can cause intermittent failures in production automations.

Troubleshooting

SymptomLikely CauseFix
RFC_ERROR_LOGON_FAILUREIncorrect username or password, or the user is lockedUnlock the user in SU01 and verify credentials
RFC_ERROR_COMMUNICATIONNetwork cannot reach port 33<systemNumber> on the SAP hostAsk the network team to open the RFC port; verify the host and system number are correct
NO_AUTHORITY on a specific BAPI or function moduleThe RFC user lacks the required authorization objectUse SU53 while logged in as the RFC user to see the failed authorization check, then add it to the user's role
Connection pool exhausted under loadpeakLimit is set too low for concurrent automation executionsIncrease peakLimit and confirm SAP work process availability with the BASIS team