---
sourceDocument: Zurich IT Asset Management
sourceDocumentLink: https://www.servicenow.com/docs/r/zurich/it-asset-management

 Release :

    - zurich

ft:locale :

    - en-US

ft:publication_title :

    - Zurich IT Asset Management

ft:clusterId :

    - itam

bundleId :

    - itam

workflow :

    - Technology


---

# Establish an SAP connection

# Establish an SAP connection {#ariaid-title1}

* Release version: Zurich
* 
* Updated July 31, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read

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.

## 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://www.servicenow.com/docs/access?context=mid-server-installation&version=zurich&pubname=zurich-servicenow-platform&ft:locale=en-US).

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: admin

## Procedure

1. Navigate to AllSAP Compliance and OptimizationConnection Setup and select New.
2. On the form, fill in the fields.  
   {#add-sap-connection__table_llt_dlc_hfb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Name of connection profile. |
   | Default price list | Default price list that should be considered for reconciliation. |
   | 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. 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. |
   [Table 1. SAP Connection Setup form]

   {#add-sap-connection__table_llt_dlc_hfb}
3. Select Submit.  
   The initial connection is established.
4. Select the SAP connection and review the fields on the record.  
   {#add-sap-connection__table_vzk_fwb_qfb__entry__2}

   | 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 | Check box to specify USMM role-based optimization that must be applied during reconciliation. |
   | Last run | Date and time that 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. |
   | 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 causes the mapping between discovered users and system users to be lost. 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. |
   [Table 2. SAP Connection record]

   {#add-sap-connection__table_vzk_fwb_qfb}
5. In the SAP Credentials related list, view the credentials you used to create the connection.  
   Note:  
   Only one credential record should be active for a given SAP connection. To determine the roles associated with your credentials, contact your SAP Basis administrator. Your administrator assigns respective roles to your SAP user ID credentials.
6. To test your SAP connection and if you're running the latest version of the ABAP program, select the Test SAP Connection and Version related link.  
   Note:  
   If you upgrade your ServiceNow instance, you must download and deploy the new version of the ABAP program and reconfigure a service provider with the SOA Manager.
7. To send a request to the custom ABAP program to collect the SAP data into the custom tables again, select the Refresh data in SAP related link.
8. If the SAP data you pulled is corrupted and you want to see current data, select the Pull all SAP Data to ServiceNow related link.  
   SAP data is scheduled to be pulled regularly.
9. View SAP clients in the SAP Clients related list.  
   The SAP clients are generated when SAP data is pulled during the scheduled job.
10. Select Update.

## Result

You can start creating software models and entitlements.
**Related concepts**   

* [SAP USMM-based optimization](https://www.servicenow.com/docs/eTQrdxoAkol28ydCJES9CA "Optimize licensing through SAP User License Measurement (USMM) rules that map roles to the Named User Type for an SAP client.")
* [User transaction activity for named user types](https://www.servicenow.com/docs/mtVHa7ed_MMv3EHkVwB3dA "Determine license optimizations for your SAP named user types based on your SAP user transaction activity.")
* [Self-declaring SAP engine license usage](https://www.servicenow.com/docs/zgy3fZNA3aM2c4Stwc7nnA "You can self-declare the license usage for any SAP engines that cannot be measured by the automated SAP engine measurement process. Use this information to gain more comprehensive visibility into your SAP license compliance position so that you can optimize your licensing costs.")  
**Related tasks**   

* [Deploy the ABAP program for SAP](https://www.servicenow.com/docs/chRwzwF9Nc2LzM6hcWSijg "To begin establishing a connection between your SAP system and your ServiceNow instance, deploy the Advanced Business Application Programming (ABAP) program. Deploying the ABAP program allows data to be shared between SAP and your ServiceNow instance.")
* [Create entitlements for SAP](https://www.servicenow.com/docs/mwgHfF7xBEGCUdpvUkTpyA "Create software entitlements to record your license information for SAP products. You can create entitlements individually or import them from a spreadsheet.")
* [Create software models for SAP](https://www.servicenow.com/docs/mK5m~jUVaJ0cXIRLvCnUAQ "Create software models to record SAP product information.")
* [Create a custom SAP named user type](https://www.servicenow.com/docs/llr_DSX~0EQ8UdjVKqiE8g "Create a custom SAP named user type so that you can track and manage your SAP licenses based on the named user type that is specific to your SAP system.")
* [Map a role to a named user type](https://www.servicenow.com/docs/HNf0Z6bNj38jK~obrR1KEA "You can optimize your SAP licenses by mapping roles to a named user type. During reconciliation, discovered user roles and their assigned named user types are compared against these roles to identify user that can be given a lower named user type.")
* [Create custom SAP price lists](https://www.servicenow.com/docs/pjHIB6fK6~ojvszlO~i5bQ "Create custom SAP price lists so that you can track and manage SAP licenses based on the contracts that are specific to your SAP system.")
* [Import custom SAP named user types](https://www.servicenow.com/docs/yvdqyTpr61BxJV0yOLaYgA "Import custom SAP named user types into your ServiceNow instance so that you can track and manage SAP licenses based on the named user types that are specific to your SAP system.")
* [Import custom SAP price lists](https://www.servicenow.com/docs/KEpaZtdynzXzlIfHGq2NFw "Import custom SAP price lists into your ServiceNow instance so that you can track and manage SAP licenses based on the contracts that are specific to your SAP system.")  
**Related reference**   

* [Tables installed with the SAP publisher pack](https://www.servicenow.com/docs/ym4yfXpCNb84Zj1kj75IuQ "Tables are installed with the Software Asset Management Professional for SAP plugin. The tables store data pulled from the SAP systems.")
* [Software Publisher Analytics dashboard for SAP in Software Asset Management classic](https://www.servicenow.com/docs/TL3eUtpBBCCJ2tlvAo3eWg "View your license compliance position for SAP on the Software Publisher Analytics dashboard in the Software Asset Management classic application.")
* [Publisher overview for SAP in the Software Asset Workspace](https://www.servicenow.com/docs/CyrUBZP7OPO9ehpB~9rCCg "View license usage information related to SAP in the publisher overview for SAP in the Software Asset Workspace.")

*[\>]: and then


