# Connecting SailPoint and SAP Direct

To connect SailPoint and SAP Direct, perform the following tasks:

To connect SailPoint with SAP Direct, perform the following tasks:

## Adding the Source in SailPoint

To connect to SailPoint, perform the following steps. Once the connection is made, you can configure it to meet your company's needs.

> [!IMPORTANT]
>
> By default, the provisioning feature is **disabled**, and the connector only supports read-only operations. To support provisioning operations, you must manually enable the feature in the source configuration.

**To configure a new source:**

1. Sign in to SailPoint.
2. Go to **Admin \> Connections \> Sources**.
3. Select **Create New**.
4. Search for the connector by entering the name in the search box, and then select **Configure**.
5. In the **Source Name** field, enter a unique and descriptive name for your source. Source names cannot exceed 128 characters.
6. In the **Description** field, provide additional details about the source to help distinguish it from similar sources. This field allows a maximum of 2,000 characters.
7. In the **Source Owner** field, begin typing the name of an owner. Matches appear after you type two or more letters. For more information, refer to [Assigning a Source Owner](<https://documentation.sailpoint.com/saas/help/sources/index.html#assigning-a-source-owner>).
8. Under **Connection Type**, select **Direct Connection** or **Flat File**.

   - **Direct Connection** - A direct connection fetches data from the **Virtual Appliance Cluster** you choose as the application connector for the source. A direct connection configuration allows for real-time updates. For more information about configuring and deploying virtual appliances, refer to the [Virtual Appliance Reference Guide](<https://documentation.sailpoint.com/saas/help/va/index.html>).
   - **Flat File** - Select the flat file if no connector is available, or if another system restricts the connection. This option allows only reading and aggregating data as a generic/delimited application. Provisioning activity is unsupported, and additional configuration pages like connection settings and aggregation settings are unavailable.
9. If you selected **Direct Connection**, in **Virtual Appliance Cluster**, select the virtual appliance cluster that will be used as the application connector for the source.
10. (Optional) Select a governance group to grant its members [source](<https://documentation.sailpoint.com/saas/help/common/users/user_levels.html#source-sub-admin-user-level>) or [role](<https://documentation.sailpoint.com/saas/help/common/users/user_levels.html#role-sub-admin-user-level>) sub-admin level oversight of the source and its access. For more information, refer to [Creating and Managing Governance Groups](<https://documentation.sailpoint.com/saas/help/common/users/governance_groups.html>).
11. If this source represents a primary system containing your organization's personnel records, select the **Authoritative Source** checkbox. For more information, refer to [Creating Identity Profiles](<https://documentation.sailpoint.com/saas/help/setup/identity_profiles.html>).
12. Select **Continue**. The source is created, and you are navigated to the **Source Setup \> Base Configuration** page. Continue to configure your connected source there.

## Base Configuration

Provide the base configuration parameters. Information you entered in the Create New Source dialog is automatically entered into the fields in the Base Configuration page. You can edit this information if necessary.

1. Enter a unique name and description for the source.
2. In the **Source Owner** dropdown list, select the identity that owns this source.

   - To find a source owner, begin entering their name.
3. In the **Virtual Appliance Cluster** dropdown list, select the virtual appliance to use when communicating with your organization's systems. For more information, refer to [SailPoint Virtual Appliances](<https://documentation.sailpoint.com/saas/help/va/index.html>).
4. (Optional) If enabled for your organization, select the **Use a Credential Provider** checkbox to manage the source's authentication using a credential provider.

   > **Note**
   >
   > To add a credential provider, go to **Admin \> Connections \> Credential Providers**. For more information about credential providers, refer to [Credential Providers](<https://documentation.sailpoint.com/connectors/help/credential_providers.html>).
5. Configure the authentication to allow SailPoint to connect to the source. Refer to [Connection Settings](<#connection-settings>) for more information.
6. (Optional) In the **Governance Group for Source Management** dropdown list, select a governance group to associate with this source. For more information about governance groups, refer to [Associating Governance Groups with a Source](<https://documentation.sailpoint.com/saas/help/common/users/governance_groups.html#associating-a-governance-group-with-a-source>).
7. (Optional) Choose whether to enable or disable provisioning for the source. Provisioning is disabled by default.

   - **Enable Provisioning** - Set the toggle to **Enabled** to allow the source to create, update, and deactivate accounts in the connected source system.
   - **Disable Provisioning** - Set the toggle to **Disabled** to disable provisioning for the source. Disabling provisioning will prevent the creation, updating, or deactivating of accounts on this source.
8. Drag and drop the required files into the **Upload Files** box, or upload them from your computer.

   > **Warning**
   >
   > Ensure that the file you upload is not vulnerable or malicious.

   Upload the `sapjco3.jar` and `libsapjco3.so` files. Download the JCO libraries (JCO Release 3.1.x) from the SAP customer service marketplace.
9. Select **Save**.

## Connection Settings

Configure a direct connection between the SAP Direct source and SailPoint.

> [!NOTE]
>
> **Screenshot**
>
> [![Connection Settings](<https://documentation.sailpoint.com/connectors/sap/direct/va/help/img/connection_settings.png>)](<https://documentation.sailpoint.com/connectors/sap/direct/va/help/img/connection_settings.png>) [![Connection Settings](<https://documentation.sailpoint.com/connectors/sap/direct/va/help/img/connection_settings_2.png>)](<https://documentation.sailpoint.com/connectors/sap/direct/va/help/img/connection_settings_2.png>)

1. Select **Connection Settings** from the menu.
2. Enter the SAP Direct service account's user name in **Service Account**.
3. Enter the SAP Direct service account's password in **Password**.
4. Enter the SAP Direct host server's URL in **Host**.
5. Enter the SAP Direct's two-digit system number in **System Number**. For example, `00`.
6. Enter the SAP client's three-digit client number in **Client Number**. For example, `001`.
7. Enter a language code for the SAP client's display language in **Client Language**. For example, `EN` displays the client in English. If SAP has been patched to SP 17 or later, change the client language to a single character. For example, if the client language is `EN`, change it to `E`. For more information on the One Character Code for Language, refer to the [SAP KB article](<https://userapps.support.sap.com/sap/support/knowledge/en/2633548>).
8. Select the **Name** of the **Function Module Configuration** as per your SAP Basis version.
9. Select **Save**.

## Advanced Settings

Enable and Configure Secure Network Communications (SNC) and load balancing. When you enable either feature, additional settings display to complete the configuration.

> [!NOTE]
>
> **Screenshot**
>
> [![Advanced Settings](<https://documentation.sailpoint.com/connectors/sap/direct/va/help/img/advanced_settings.png>)](<https://documentation.sailpoint.com/connectors/sap/direct/va/help/img/advanced_settings.png>)

### Configure Secure Network Communications

Secure Network Communications (SNC) improve the security for the connection between the source and SailPoint. For more information, refer to [SAP Secure Network Communication (SNC) For SAP Source](<https://community.sailpoint.com/knowledge/SAP-Secure-Network-Communication-SNC-For-SAP-Source-in>).

> [!NOTE]
>
> **Screenshot**
>
> [![Configure Secure Network Communications](<https://documentation.sailpoint.com/connectors/sap/direct/va/help/img/snc_settings.png>)](<https://documentation.sailpoint.com/connectors/sap/direct/va/help/img/snc_settings.png>)

1. Select **Advanced Settings** from the menu.
2. Select a **Level of Security**. Each level sets the Quality of Protection (QOP) level. In SAP, it relates to `jco.client.snc_qop`.
3. Enter the name that internally identifies in **SNC Name**. In SAP, it relates to `jco.client.snc_myname`.
4. Enter the SNC partner's name in **SNC Name of SAP Application Server**. If SNC is configured in SAP, it relates to `jco.client.snc_partnername`.

   For example, provide input as `p:CN=R3, O=XYZ-INC, C=EN` in SAP.
5. Enter the path to the library that provides the SNC service in **SNC Library Path**. In SAP it relates to `jco.client.snc_lib`.
6. Select a requirement in **Set Password in Productive Mode**. By default, a password is required which means the source requires a password while in Productive Mode.
7. Select **Save**.

### Configure Load Balancing

Enable and set up load balancing between the source and the SAP direct server.

> [!NOTE]
>
> **Screenshot**
>
> [![Configure Load Balancing](<https://documentation.sailpoint.com/connectors/sap/direct/va/help/img/load_balancing_settings.png>)](<https://documentation.sailpoint.com/connectors/sap/direct/va/help/img/load_balancing_settings.png>)

1. Enter the SAP message server host value in **Host**.
2. Enter the SAP application server Logon group name in **Client Group**.
3. Enter the SAP message server port number in **Port Number**.
4. Select **Save**.

## Additional Settings

> [!NOTE]
>
> **Screenshot**
>
> [![Additional Settings](<https://documentation.sailpoint.com/connectors/sap/direct/va/help/img/additional_settings.png>)](<https://documentation.sailpoint.com/connectors/sap/direct/va/help/img/additional_settings.png>)

1. Select **Additional Settings** from the menu.
2. Select **Delta Aggregation** to enable delta aggregation.

   > **Note**
   >
   > For more information on configuring delta aggregation, refer to [Delta Aggregation](<https://documentation.sailpoint.com/connectors/sap/direct/va/help/delta_aggregation.html>).
3. Select **CUA System** to enable CUA. CUA enables you to maintain master user records centrally in one SAP system. Provisioned changes in SailPoint are then automatically distributed to the respective SAP child systems.

   > **Note**
   >
   > To use this feature, Central User Administration must be enabled on your SAP source. For more information, refer to [Setting Up Central User Administration](<https://help.sap.com/docs/SAP_NETWEAVER_702/ff4a624c6c551014b115b3f0358548b0/fa0ec43b5d091b3de10000000a114084.html>) in SAP documentation.
4. Select **Unlock On Change Password Operation** to enable unlocking SAP accounts when the password is changed.

   > **Note**
   >
   > The account is unlocked when the password is set only if the account is locked by too many incorrect logon attempts.
5. Enter specific errors that should be retried during Provisioning in **Retryable Error String**.
6. Select **Save**.

## Review and Test

Perform a test to confirm the connection to SailPoint.

1. Go to **Review and Test**.
2. Confirm that the entries in each field are correct.

   If you note any mistakes, return to the section and make corrections.
3. Select **Test Connection**.

## SailPoint Application Onboarding

SailPoint application onboarding enables you to easily onboard new applications and create sources following the successful onboarding of a discovery source. To use this feature, continue to **Discovered Applications** in the SailPoint user interface.

For more information, refer to [Application Onboarding](<https://documentation.sailpoint.com/saas/help/ai/app_onboarding/index.html>) in the SailPoint SaaS documentation.
