Help

Configuration Guide

SAP Provider

Updated 3 Dec 2026 9 min read

This page shows how to connect Monosync to SAP for the first time, check the connection, and read and change SAP users and roles.

The provider is shown as SAP. It works with SAP ECC 6.0 and SAP S/4HANA (on-premise and private cloud). This page describes Monosync v2026.12.1 and later.

What it does

The SAP provider connects Monosync to SAP user administration.

  • Reads users, roles, role assignments, role transactions and license types.

  • Changes SAP: creates, changes, locks, unlocks and deletes users, and assigns, replaces and removes their roles.

The Connect With setting chooses the connection:

  • HTTPS (no SAP software needed), the default: Monosync uses SAP's own SOAP service for RFC. Nothing is installed.

  • RFC (SAP NetWeaver RFC SDK): SAP's own protocol, with the SDK uploaded to the source. See RFC instead of HTTPS.

Both give the same results.

Before you start (SAP side)

Your SAP Basis team prepares three things.

  1. In transaction SICF, activate the service default_host/sap/bc/soap/rfc. SAP ships it inactive.

  2. Open the HTTPS port of SAP (443NN, where NN is the system number) or of your SAP Web Dispatcher to every Monosync container.

  3. Create an RFC user of type System (B), for example MONOSYNC, with a role that has the authorizations below. Narrow CLASS and ACT_GROUP to the user groups and roles Monosync may manage.

Object

Fields

S_RFC

RFC_TYPE = FUGR, RFC_NAME = SU_USER, SDTX, SYST, RFC1, RFC_METADATA, SDIFRUNTIME, SRFC, ACTVT = 16

S_USER_GRP

CLASS = the user groups to manage, ACTVT = 01, 02, 03, 05, 06, 22

S_USER_UID

CLASS = as for S_USER_GRP, EXTUID_TYP = GU, ACTVT = 03 (S/4HANA checks it when a user is read)

S_USER_AGR

ACT_GROUP = the roles Monosync may assign, ACTVT = 03, 22

S_USER_SAS

CLASS and ACT_GROUP = as above, SUBSYSTEM = *, PROFILE = *, ACTVT = 22 (assigning roles)

S_USER_PRO

PROFILE = *, ACTVT = 03

S_TABU_NAM

TABLE = AGR_USERS, AGR_DEFINE, AGR_TEXTS, AGR_AGRS, AGR_TCODES, TUTYPA, TUTYP, ACTVT = 03 (or S_TABU_DIS for their authorization group)

A user with only these authorizations (no SAP_ALL) was verified on S/4HANA 2025 with every check, schema and action. If the SICF service has an authorization value, the user also needs S_ICF. A changed script may need more.

A missing authorization: when SAP refuses something, run transaction SU53 for the RFC user. It names the missing object. Failed S_RFC checks with RFC_TYPE = FUNC are normal there: SAP checks the function first, then its group.

Create the SAP source

One source connects to one SAP system and client.

  1. Open Sources and click Create.

  2. In Provider, choose SAP, and enter a Title.

  3. In Connect With, keep HTTPS (no SAP software needed).

  4. In Web Address, enter SAP's web server or Web Dispatcher, for example https://sap.example.com:44300. A Fiori address works too.

  5. In Client, enter the SAP client, for example 100.

  6. In User Name and Password, enter the RFC user.

  7. Open Advanced settings only when needed:

    • Additional Parameters, one KEY=VALUE per line: TLS_TRUST_ALL=1 accepts a test system's self-signed certificate (never in production); PROXY_HOST, PROXY_PORT, PROXY_USER, PROXY_PASSWD for a proxy.

    • Language: the logon language and the language of descriptions, EN when empty.

    • Parallel Calls: connections reading user details at once, 4 when empty (at most 16).

  8. Click Save.

A new SAP source starts with all five schemas and their default scripts. You do not need to choose them.

Check the connection

Check the connection before you build integrations.

Quick test: on Settings, click Test connection. It checks the saved settings, so save first. The result is The connection works., The connection works, with a warning., or The connection failed. with the first problem. Fix it, save, and test again.

Troubleshooting tab: choose a check and click Start Testing. The checks only read; nothing in SAP changes.

Check

What it checks

Check Access

DNS and TCP from Monosync to every address of SAP's host (or the proxy): whether the name resolves, the port refuses (wrong port, or SAP is down) or nothing answers (a firewall). Host and port checks another address.

Test Connection

Each step a sync takes: settings, DNS, TCP, SAP's TLS certificate, SAP's web server, the SOAP service for RFC, the logon, and the source's own user (type and validity).

Check Authorizations

Reads, as the source's user, what the default schemas and actions use: users, role and license type tables, action functions. Rights to change users and assign roles show only when an action runs.

Message

What to do

SAP refused the logon (HTTP 401)

Check User Name, Password and Client. In SU01, check that the user is not locked and is still valid.

SAP has no active service /sap/bc/soap/rfc (HTTP 403) (SAP's page "Service cannot be reached")

Activate default_host/sap/bc/soap/rfc in SICF. If it is active, check the Web Address.

cannot be resolved, refuses the connection, does not answer within 15 s, could not be reached

Check the host and port in Web Address, and open that port from the Monosync servers. Run Check Access.

TLS: SAP's certificate is not accepted

Give SAP a certificate from a trusted authority (STRUST, SSL server Standard) and use the host name it names. Test systems only: TLS_TRUST_ALL=1.

... is a Dialog user (warning)

A Dialog user's password expires and then stops the logon. Change the user type to System (B) in SU01.

RFC Authority Error

The user logged on, but may not call the function. Add S_RFC for its function group (see the table above).

No authorization, not authorized, NOT_AUTHORIZED

Run SU53 for the RFC user and add the missing object from the table above.

Read SAP data

Each schema reads one kind of SAP data. To see or change what it reads, open the schema and click Script.

Schema

One row per

Main columns

user

User

UserName (key), FirstName, LastName, Email, Department, Function, Telephone, UserType, UserGroup, ValidFrom, ValidTo, IsLocked, Roles (direct roles valid today), LicenseType

role

Role (PFCG)

Name (key), Description, ParentRole, IsComposite, ChildRoles

user_role

Role assignment

Id (key), UserName, RoleName, ValidFrom, ValidTo, ViaCompositeRole, ViaOrganization

role_transaction

Transaction in a role

Id (key), RoleName, Transaction

license_type

License type

Id (key), Description, IsActive, Charge

To bring SAP users into Monosync, create an integration from the schema user to a Monosync object type (for example SapUser) with Add or Update Object. Then click Run Once, choose Full Sync, and run it. The object count should match the user count in SU01.

A read returns every row or fails. If one user cannot be read (often a user group the RFC user may not display), the whole read fails and names that user. A partial list would make the integration remove the users it did not see.

Change SAP with actions

Add actions to an integration whose target is the SAP source. Map the record fields with the column names of the user schema, plus Password. Dates are yyyy-MM-dd. Roles is a list or comma-separated text.

Each action has a Key (the SAP user name, {{MSData.UserName|upper}} by default) and its own Script, which you can change. An SAP error on one record does not stop the others.

Action

What it does

Notes

Add User

Creates the user, assigns its Roles, and locks it when IsLocked is yes.

Without UserType, a Dialog user (A) is created. It needs a password (see below).

Update User

Changes only the fields the record has, then locks or unlocks by IsLocked.

A missing field stays as it is. An empty value clears it.

Lock User

Locks the user.

The usual choice for leavers.

Unlock User

Ends the administrator lock.

A lock after wrong logons stays; the user needs a new password.

Delete User

Deletes the user.

SAP keeps nothing. For leavers, prefer Lock User.

Assign Roles

Adds the record's Roles the user does not have.

Other roles stay.

Replace Roles

The user keeps exactly the record's Roles as direct roles.

Without Roles, the record is a data error. An empty list removes every direct role.

Remove Roles

Removes the record's Roles from the user.

Call Function

Runs any SAP function you write in its script.

Starts with an example. The RFC user's S_RFC limits what it can call.

Role actions change only direct assignments. Roles from a composite role or the organization (HR) are never touched. If SAP cannot assign a role (it does not exist, or the RFC user may not assign it), it assigns the others and the action fails with SAP's messages.

Dialog users need a password

SAP does not create a Dialog user without a password (Enter an initial password). Map a Password, or add "GENERATE_PWD": "X" to the parameters of the first step of the Add User script. SAP then generates an initial password, which the user changes at the first logon. For technical users, use type System (B) or Service (S).

Change a password

Update User sets a new password when the record has a Password. Monosync never reads, shows or logs passwords.

  • For a Dialog user (A), SAP keeps the new password as an initial password: the user must change it at the next SAP GUI logon.

  • For a System (B) or Service (S) user, the new password works at once.

Over HTTPS, SAP never sets a productive password. With "PRODUCTIVE_PWD": "X" in the Update User script, SAP changes the password but answers Password for user ... changed but not set as a production password. SAP sets a productive password only over an RFC connection secured with SNC.

License types

A license type is SAP's contractual user type (SU01, Licence Data tab).

  • The user schema reads it into LicenseType.

  • The license_type schema lists your system's license types: Id, Description, IsActive, and Charge (C chargeable, F free).

  • Add User and Update User set it from the record's LicenseType. Without it, Update User leaves the license type as it is.

The value must be an Id of the license_type schema. SAP refuses other values.

RFC instead of HTTPS

Use HTTPS when you can. Choose RFC (SAP NetWeaver RFC SDK) when:

  • your security rules do not allow the SICF service /sap/bc/soap/rfc;

  • you need SNC (encryption or single sign-on);

  • SAP is reached through a SAProuter;

  • you want load balancing through the message server.

RFC needs the SAP NetWeaver RFC SDK 7.50 for Linux x86_64 from the SAP Support Portal (SAP Note 2573790). Save the source, then go to Settings → SAP Files → Upload and choose the SDK zip as SAP ships it. RFC uses Application Server and System Number (port 33NN) instead of the Web Address.

Limits

  • Not for SAP S/4HANA Cloud Public Edition, which has no RFC access. Use SAP Cloud Identity Services with the JSON Web Service provider there.

  • The default scripts do not assign roles in CUA child systems, and do not create SAP GRC access requests: they assign roles directly.

  • Each source and action keeps its own copy of its script. Later improvements to the defaults do not change saved scripts. To start a schema over, use Schemas → Reload.

  • In S/4HANA, users that must be linked to a business partner (employees) still need that link in SAP.

Permanent link