--- title: Establish an SAP connection using basic authentication description: After you have deployed the Advanced Business Application Programming \(ABAP\) program in your SAP system, create a connection profile to establish a connection between your SAP system and your ServiceNow instance using basic authentication. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-asset-management/software-asset-management/add-sap-connection.html release: australia product: Software Asset Management classification: software-asset-management topic_type: task last_updated: "2026-03-12" reading_time_minutes: 6 breadcrumb: [Software Asset Management publisher pack for SAP, Supported software publisher licenses, Software Asset Management, IT Asset Management, Asset Management] --- # Establish an SAP connection using basic authentication After you have deployed the Advanced Business Application Programming \(ABAP\) program in your SAP system, create a connection profile to establish a connection between your SAP system and your ServiceNow instance using basic authentication. ## Before you begin Before establishing a connection between SAP and your ServiceNow instance, check if your SAP system network is accessible to external applications like ServiceNow. If external connections are blocked, you can install a MID Server. A MID Server enables communication and data movement between a ServiceNow instance and external applications or data sources. For instructions, see [Installing the MID Server](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/mid-server-installation.md). If you already have a MID Server installed in the network and connected to your ServiceNow instance, this SAP connection automatically uses it. Role required: sam\_admin ## Procedure 1. Navigate to **All** > **SAP Compliance and Optimization** > **Connection Setup** and select **New**. 2. On the form, fill in the fields.
| Field | Description |
|---|---|
| Name | Name of connection profile. |
| Default price list | Default price list that should be considered for reconciliation. |
| Connection type | Values include:- Basic Auth - OAuth 2.0 **Important:** The Basic Auth authentication method is planned for deprecation by SAP. You should use the OAuth 2.0 authentication for a secure and compliant integration. For more information, see [Establish an SAP connection using OAuth 2.0](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-asset-management/software-asset-management/add-sap-connection-oauth.md). |
| WSDL | Web Service Description Language \(WSDL\) URL from the SOA manager that includes an IP address that is used to connect to the SAP system.This is same value that you generated in the [Create a WSDL for the SAP service definition](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-asset-management/software-asset-management/create-wsdl-sap-service.md) procedure. **Note:** Don’t change the SAP WSDL name. The WSDL service definition name must be /NOW/SAMP and the service binding name must be NOW\_SAMP. The only WSDL name that can be changed is the WSDL generation name. |
| User name | User name used to connect to the SAP system. |
| Password | Password used to connect to the SAP system. |
| Field | Description |
|---|---|
| Name | Name of the connection profile. The value is generated in the SAP Connection Setup form. |
| Default price list | Default price list that should be considered for reconciliation. The value is generated in the SAP Connection Setup form. |
| Use USMM Role Optimization | The option to specify USMM role-based optimization that must be applied during reconciliation. |
| Last run | Date and time when the data was last pulled for the SAP connection. |
| SOAP message | SOAP message that has the SAP WSDL information. |
| Credential alias | Connection alias that contains the credentials for the connection. The connection alias resolves your connection and credentials at runtime. |
| Active | Option that indicates that the SAP connection is active. |
| Connection type | This field is automatically populated based on your connection type. |
| User Mapping | |
| SAP user field | SAP users across different clients that are mapped to a corresponding ServiceNow user. |
| User field | ServiceNow user field.**Note:** Changing the values in the User Mapping fields after data is pulled results in the loss of the mapping between discovered users and system users. The mapping between discovered users and the **Rights used by** and **Rights needed by** fields is also lost. |
| Configuration | |
| Fetch roles | Controls the data pull from SAP for roles data. |
| Fetch engine usage | Controls the data pull from SAP for engine usage data. |
| Fetch digital access usage | Controls the data pull from SAP for digital access usage data. |
| Fetch activity | Controls the data pull from SAP for user activity and web activity data. |
| Fetch user transactions | Controls the data pull from SAP for user transaction activity data. |