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
- An Okta org with Okta Identity Governance (opens new window)
- An Okta admin role with permissions to add apps and configure provisioning
- An SAP NetWeaver ABAP instance
- A Linux server in the same network as SAP NetWeaver that meets the system requirements
- Okta On-prem SCIM Agent version 3.0.0 or later
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
- In the Admin Console, go to Settings > Downloads.
- In the Okta On-prem SCIM Agent section, click Download Latest.
- Copy the agent RPM file to a folder on the Linux server, such as
/installers. - Download the SAP Java Connector (opens new window) for Linux.
- Extract the SDK, and copy
libsapjco3.soandsapjco3.jarto/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
- In the Admin Console, go to Applications and Resources > Applications, and click Browse App Catalog.
- Search for On-prem Connector for SAP NetWeaver ABAP, select it, and click Add Integration.
- Enter an Application label, click Next, and then click Done.
- On the General tab, click Edit in the Entitlement Management section, select Enable, and click Save.
Install the agent and connect to SAP
- On the Provisioning tab, click Enable Provisioning.
- 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.
- Select the agent from the list of active agents, and click Next.
- Enter the SAP details that you collected.
- Click Setup complete. After the connection succeeds, the provisioning settings appear.
Configure provisioning
- On the Provisioning tab, click To App, and then click Edit.
- Enable the options that you need: Create Users, Update User Attributes, Deactivate Users, and Sync Password.
- Click Save.
- 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
- On the Provisioning tab, click To Okta, and then click Edit in the General section.
- Select an Incremental Import Schedule, such as Weekly, and click Save.
- On the Import tab, click Import Now, select Full Import, and click Import.
- After the import completes, link any users that Okta didn't match automatically.
Test the integration
- On the Assignments tab, click Assign > Assign to People.
- Click Assign next to a test user, and then click Assign and Continue.
- For the entitlement assignment method, select Custom Values, select entitlements, and click Assign entitlements.
- In SAP, use transaction
SU01to 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.logservice.errservice.outapplication.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