On this page

On-prem Connector for SAP NetWeaver ABAP

Use the On-prem Connector for SAP NetWeaver ABAP to manage SAP NetWeaver users and entitlements from Okta. The connector uses the Okta On-prem SCIM Agent and the SAP Java Connector (JCo) to run operations in SAP. See On-prem connectors.

What you need

Supported systems

The connector supports SAP solutions based on SAP NetWeaver ABAP Application Server versions 6.10, 6.20, 6.30, 2004, and 7.x, including BW/BI, GRC, SRM, PI, CRM, HCM, and ECC.

System requirements

Component Requirement
Operating system Red Hat Enterprise Linux 8, 9, or 10
Java JDK 21 or later
Processor 4 or more cores
Memory 4 GB RAM for testing. Production environments need more.
Storage 10 GB minimum

Network ports

Port Source Destination Purpose
443 Agent server Okta Outbound connection that the agent uses to poll Okta
32XX Agent server SAP application server SAP dispatcher port
36XX Agent server SAP message server Required only for message server connections, such as logon groups

XX is the SAP instance number. For example, port 3200 is the dispatcher port for instance 00.

Make sure that your firewall allows the agent server to reach Okta. See Allowlist IP addresses (opens new window).

Prepare the agent server

  1. In the Admin Console, go to Settings > Downloads.
  2. In the Okta On-prem SCIM Agent section, click Download Latest.
  3. Copy the agent RPM file to a folder on the Linux server, such as /installers.
  4. Download the SAP Java Connector (opens new window) for Linux.
  5. Extract the SDK, and copy libsapjco3.so and sapjco3.jar to /opt/OktaOnPremSCIMAgent/userlib.

Collect SAP details

You need the following details to connect the agent to SAP:

Detail Description
Username and Password Credentials of a dedicated SAP service account. The account needs the roles listed in SAP NetWeaver ABAP admin roles (opens new window).
Connection type Application server host or Message server host
Application server host name The fully qualified domain name (FQDN) or IP address of the SAP server
System number The two-digit SAP instance number, from 00 to 97
Client The three-digit SAP client number

Add the app integration

  1. In the Admin Console, go to Applications and Resources > Applications, and click Browse App Catalog.
  2. Search for On-prem Connector for SAP NetWeaver ABAP, select it, and click Add Integration.
  3. Enter an Application label, click Next, and then click Done.
  4. On the General tab, click Edit in the Entitlement Management section, select Enable, and click Save.

Install the agent and connect to SAP

  1. On the Provisioning tab, click Enable Provisioning.
  2. Follow the instructions on the page to install the agent on the Linux server. When prompted, enter the path to the SAP Java Connector files.
  3. Select the agent from the list of active agents, and click Next.
  4. Enter the SAP details that you collected.
  5. Click Setup complete. After the connection succeeds, the provisioning settings appear.

Configure provisioning

  1. On the Provisioning tab, click To App, and then click Edit.
  2. Enable the options that you need: Create Users, Update User Attributes, Deactivate Users, and Sync Password.
  3. Click Save.
  4. In the SAP NetWeaver ABAP Attribute Mapping section, map any extra attributes that you need. Username and Email are mapped by default.

Import users and entitlements

  1. On the Provisioning tab, click To Okta, and then click Edit in the General section.
  2. Select an Incremental Import Schedule, such as Weekly, and click Save.
  3. On the Import tab, click Import Now, select Full Import, and click Import.
  4. After the import completes, link any users that Okta didn't match automatically.

Test the integration

  1. On the Assignments tab, click Assign > Assign to People.
  2. Click Assign next to a test user, and then click Assign and Continue.
  3. For the entitlement assignment method, select Custom Values, select entitlements, and click Assign entitlements.
  4. In SAP, use transaction SU01 to confirm that the user exists and has the assigned entitlements.

Troubleshoot

Check the agent status

In the Admin Console, open the app and go to Provisioning > Integration.

To check the status on the agent server, run the following command:

sudo systemctl status OktaOnPremScimAgent

Restart the agent

Run the following command on the agent server:

sudo systemctl restart OktaOnPremScimAgent

Review the logs

The agent writes logs to /opt/OktaOnPremScimServer/logs/:

  • configure-agent.log
  • service.err
  • service.out
  • application.log

To find SAP connection errors, run the following command:

sudo grep -iE 'SAP connection error|sapjco3|JCO_ERROR|Failed to ' /opt/OktaOnPremScimServer/logs/application.log | tail -50

Uninstall the agent

Caution: Uninstalling the agent stops all user and entitlement operations between Okta and SAP NetWeaver.

Run the following command on the agent server:

sudo yum remove OktaOnPremScimAgent