ITSM API

SAP Cloud ALM ITSM APIs

The SAP Cloud ALM ITSM APIs enable customers and partners to integrate their own ITSM systems with the SAP Support Backbone. They allow external ITSM systems to create, retrieve, update, and manage SAP support cases as part of their incident and problem management processes.

Cases created or managed through the SAP Cloud ALM ITSM APIs remain compatible with SAP's standard support access points, including:

  • SAP for Me

  • SAP for Me mobile app

  • Built-In Support

  • SAP Solution Manager

This allows customers and partners to manage SAP support cases from their existing ITSM processes while maintaining access to the same cases through SAP's standard support channels.

The SAP Cloud ALM Cases API also provides AI-enabled self-service capabilities, including incident solution recommendations and case categorization.

The SAP Cloud ALM ITSM APIs can be used together with other SAP Cloud ALM APIs to integrate support case management with monitoring and event-driven processes.

Relevant APIs include:

  • Event Situations API: Manages event situations in your SAP Cloud ALM tenant.

  • Resources Changes API for Monitoring Events: Allows external systems to react to monitoring events detected in SAP Cloud ALM.

  • Resources Changes API for Status Events: Allows external components to monitor and react to status events reported by SAP for Me and transferred to SAP Cloud ALM, such as disruptions, degradations, and maintenance events.

The SAP Cloud ALM ITSM APIs consist of several individual APIs that work together to provide complete support case management functionality:

  • Cases: Create and manage SAP support cases.

  • Attachments: Manage documents and attachments associated with cases.

  • Contacts: Retrieve the S-Users authorized to manage cases for a customer.

  • Customers: Retrieve the customers supported by members of a Customer Competence Center (CCC) group.

  • Components: Retrieve CSN components based on specified filters.

  • Landscapes: Retrieve the system landscape information associated with a customer.

  • Solutions: Get AI-based recommendations for relevant SAP support resources based on a case description.

  • Categories: Get AI-based component recommendations based on a case description.

Configuration

The ITSM service requires a personal S-User ID, an SAP Passport/certificate, and two SAP BTP destinations to establish communication between your SAP Cloud ALM tenant and the SAP Support Backbone.

Complete the following configuration steps:

  • Configure the S-User and SAP Passport in SAP for Me.

  • Import the S-User certificate into the SAP BTP subaccount associated with your SAP Cloud ALM tenant.

  • Create the required SAP BTP destinations.

  • Verify the destination configuration.

S-User and SAP Passport

To use the ITSM service, you must have a personal S-User ID associated with the customer number for which you want to manage ITSM cases.

The S-User must have the authorizations required by the ITSM service to:

  • Read cases

  • Create cases

  • Close cases

  • Display system data

For information about SAP case-related authorizations and their authorization levels, see SAP documentation: Case AuthorizationsInformation published on SAP site.

The S-User must belong to the customer number associated with the systems and cases you want to manage through the ITSM service.

Create an S-User

If you do not already have a suitable personal S-User, follow the SAP documentation for S-User creation and management.

When creating the S-User, ensure that it is associated with the customer number for the systems and cases that you want to manage through the ITSM service.

For additional information about S-User types, customer numbers, and user administration, see SAP documentation: About the User, Authorization and Administrator Concept.

Assign the Required Authorizations

The required authorizations must be assigned to the S-User in SAP for Me.

  1. Navigate to Users & Contacts → Manage Users and Authorizations.

  2. Select the S-User and assign the authorizations required by the ITSM service.

The required authorizations are:

Authorization

Purpose

Cases

 

Display Cases

Search for and display cases that were created for systems under the specified authorization level.

Display all Cases

Search for and display all of their company's cases.

Report Technical Problem

Create and report technical problem cases, and resend their own cases to SAP when further information is requested.

Send Cases to SAP

Create, edit, and send technical problem cases to SAP for systems under the specified authorization level.

Close Cases

Confirm the solution provided by SAP for cases that had been reported for systems under the specified authorization level.

System Data

 

Display System Data

Display system details like product or server information.

For details about the available case-related authorizations and their authorization levels, see SAP documentation: Case AuthorizationsInformation published on SAP site.

If you need to verify the authorizations currently assigned to an S-User, see KBA 2952738: How to check authorizations assigned to my S-user ID - SAP for MeInformation published on SAP site.

SAP Passport

The ITSM service requires an SAP Passport/certificate for connection to the SAP Support Backbone through the destinations to be configured in the next step.

For information about getting or managing the SAP Passport, see KBA 2767159: How to install an SAP Passport browser certificate in Chrome - SAP for MeInformation published on SAP site.

SAP BTP Destinations

The following SAP BTP destinations must be created in the SAP BTP subaccount associated with your SAP Cloud ALM tenant:
  • calm_itsm_support

  • calm_itsm_documents_service

These destinations enable the SAP Cloud ALM tenant to communicate with the SAP Support Backbone services required by the ITSM service.

Import the S-User Certificate

Before creating the destinations, import the S-User certificate into the SAP BTP subaccount.
  1. Open the SAP BTP cockpit.

  2. Select the subaccount associated with your SAP Cloud ALM tenant.

  3. Open Connectivity → Destination Certificates.

  4. Select Create and chose Import.

  5. Upload the certificate associated with the S-User.

  6. Select Create to save the certificate.

Create the Destinations

After importing the certificate:
  1. Open Connectivity → Destinations.

  2. Select Create Destination and choose From Scratch.

  3. Enter the destination parameters specified in the tables below.

  4. For Type, select HTTP.

  5. For Proxy Type, select Internet.

  6. For Authentication, select Client Certificate Authentication.

  7. For Key Store Source, select Destination Service.

  8. For Key Store Location, select the certificate imported in the previous step.

  9. Save the destination.

Repeat these steps for both required destinations.

Destination: calm_itsm_support

Attribute

Value

Name

calm_itsm_support

Type

HTTP

Proxy Type

Internet

URL

https://apps.support.sap.com/

Description

SAP Cloud ALM ITSM API: Support Backbone

Authentication

ClientCertificateAuthentication

Key Store Source

Destination Service

Key Store Location

<IMPORTED_S_USER_CERTIFICATE>

The calm_itsm_support destination is used by SAP Cloud ALM to access the SAP Support Backbone APIs required for creating, retrieving, and managing ITSM cases.

Destination: calm_itsm_documents_service

Attribute

Value

Name

calm_itsm_documents_service

Type

HTTP

Proxy Type

Internet

URL

https://documents.support.sap.com/

Description

SAP Cloud ALM ITSM API: Document Services

Authentication

ClientCertificateAuthentication

Key Store Source

Destination Service

Key Store Location

<IMPORTED_S_USER_CERTIFICATE>

The calm_itsm_documents_service destination is used by SAP Cloud ALM to access the SAP Support Backbone Document Service for uploading and retrieving documents associated with ITSM cases.

Verify the Destination Configuration

After creating both destinations, verify that:
  • calm_itsm_support is available under Connectivity → Destinations.

  • calm_itsm_documents_service is available under Connectivity → Destinations.

  • Both destinations use HTTP as the type.

  • Both destinations use Internet as the proxy type.

  • Both destinations use Client Certificate Authentication.

  • Both destinations use Destination Service as the Key Store Source.

  • Both destinations reference the certificate imported for the S-User.

  • The configured URLs match the values specified in this documentation.

  • The connection test for each destination completes successfully.

Configuration Checklist

Before using the ITSM service, verify that the following prerequisites are fulfilled:
  • A personal S-User ID has been created.

  • The S-User belongs to the correct customer number.

  • The S-User is not a Technical S-User ID or Technical Communication User.

  • The required case-management authorizations have been assigned.

  • The authorization levels include the required customer number and/or installations.

  • The required SAP Passport/certificate has been generated and is available.

  • The S-User certificate has been imported into the SAP BTP subaccount.

  • The calm_itsm_support destination has been created.

  • The calm_itsm_documents_service destination has been created.

  • Both destinations reference the correct S-User certificate.

  • The destination configuration matches the values specified in this documentation.

Type

  • PULL API

URL Format

  • https://<tenant name>.<region>.alm.cloud.sap/api/calm-itsmapi/v1/supportcases

Scopes

Name

Description

calm-api.itsm.read

Allows reading (GET) access to cases

calm-api.itsm.write

Allows writing and creation of new cases

calm-api.itsm.personal.read

Allows reading (GET) access to personal data, required for accessing customer contacts

calm-api.itsm.personal.write

Allows writing personal data, including uploading attachments that contain personal information (e.g., ID photos, contact details)

calm-api.itsm.attachments.write

Allows uploading attachments

calm-api.itsm.attachments.read

Allows reading attachments

Mandatory Attributes

The following table provides the list of mandatory attributes (body or query) for each end-points:

Operations

/supportcases/cases

Mandatory attributes

POST /supportcases/cases: Create a case.

Body Parameters:

priority (1 to 4)

component

systemId

installationNumber

subject

description

customerNumber

reporter

businessImpact if the case priority is 1

PATCH /supportcases/cases: Update a case

Query parameters:

id reporter

GET /supportcases/cases: Retrieve a case with id

Query parameters:

id reporter

GET /supportcases/cases/ids: Retrieve a list of case ids for a list of installation numbers or customer numbers (up to 5 elements per list)

Query parameters:

reporter installationNumber OR customerNumber

GET /supportcases/cases/actionPlans: Retrieve the list of the action plans of a case with an id

Query parameters:

id reporter

GET /supportcases/cases/articles: Retrieve the list of the articles of a case with an id

Query parameters:

id reporter

GET /supportcases/cases/activities: Retrieve the list of the activities of a case with an id

Query parameters:

id reporter

GET /supportcases/cases/attachments: Retrieve the list of the attachments of a case with an id

Query parameters:

id reporter

POST/supportcases/cases/attachments: Add attachments to the list of attachment of a case with an id

Query parameters:

id (the id of the case to modified) reporter

Body parameters:

fileName (extension should be in the file name)

description

url

GET /supportcases/cases/comments: Retrieve the list of the comments of a case with an id

Query parameters:

id reporter

POST/supportcases/cases/comments: Add a comment to the list of the comments of a case with an id

Query parameters:

id reporter

Body parameters:

text (only one comment at the time)

GET /supportcases/cases/contacts: Retrieve the list of the contacts of a case with an id

Query parameters:

id

reporter

/supportcases/recommendations

 

POST /supportcases/recommendations/solutions: Get recommendations based on case description

Request body:

description

POST /supportcases/recommendations/categories: Get components based on case description

Request body:

description

/supportcases/attachment

 

GET /supportcases/attachment: Retrieve an attachment based on its ID

Query parameters:

idAttachment

reporter

POST /supportcases/attachment: Upload a binary file as an attachment in a repository

Request body:

attachment

installation

/supportcases/masterdata/contacts

 

GET /supportcases/masterdata/contacts: Retrieve a list of authorized S-users to manage cases for a specific installation number

Query parameters:

reporter

customerNumber

/supportcases/masterdata/components

 

GET /supportcases/masterdata/components: Retrieve a list of products (CSN components)

 

/supportcases/masterdata/landscapeObjects

 

GET /supportcases/masterdata/landscapeObjects: Retrieve landscape information for a customer for a VAr Partner

Query parameters:

reporter

/supportcases/masterdata/landscapeObjectsExtended

 

GET /supportcases/masterdata/landscapeObjectsExtended: Get the list of s-users having access to the entire landscape (globalSUsers) and the list of landscape objects (landscapeObjects) for a customer number with the list of s-users that have access to each landscape object.

Query parameters:

reporter

customerNumber

Limitations

  • Content

    • Closed tickets for more than 3 months are not returned by the ITSM API.

  • Volume:

    • Maximum number of cases created per Month per tenant:1000

    • Maximum number of attachments upload per Month per tenant: 3000

  • Throughput

    • 50 requests per minute

      • Caution: If the maximum number of requests is reached, you need to wait the end of the period to retry.

  • Payload size

    • Maximum payload size: 30Mb

Status Codes

The following status codes are returned by the ITSM APIs

Status Code

Description

200

Request accepted.

400

Structure of the request is invalid.

403

Authentication failure.

404

The request path is incorrect.

408

The request took too long to reach the endpoint.

413

The payload was too big.

428

Pre-condition not full filled. (see tables below)

429

The request rate quota has been exceeded.

5xx

There was an internal server error

The following 403 errors can be returned by the ITSM APIs:

Message

Description

Forbidden Operations

The customer cannot change cases created on behalf by support partners. Please contact your support partner to report or change a case

Forbidden Operations

The s-user is not able to manipulate the case.

The following 428 errors can be returned by the ITSM APIs:

Message

Description

Invalid customer number

The customer number does not exist

Invalid Installation number

The installation number does not exist for the customer number.

For partner support scenario, the installation number does not have the SU role.

Invalid maintenance frame

The installation does not have a valid maintenance frame

Invalid System ID

The system ID does not exist for the installation number

Invalid S-user

Reporter S-user is not authorized to access (create, read, update) tickets for installation number or for customer number.

Invalid support partner

A support partner is not allowed to access (create, read, update) cases on behalf.

Missing Business Case

Business case is requested if High or Very High priority is selected

API Operations

Cases

  • POST /supportcases/cases: Create a case.

  • PATCH /supportcases/cases: Update a case

  • GET /supportcases/cases: Retrieve a case with id

  • GET /supportcases/cases/ids: Retrieve a list of case ids for an installation number

  • GET /supportcases/cases/contacts: Get the contacts of a case

  • POST /supportcases/cases/attachments: Add an attachment to a case

  • GET /supportcases/cases/attachments: Retrieve the list of attachments (URL) associated to a case

  • GET /supportcases/cases/activities: Get the activities attached to a case

  • GET /supportcases/cases/actionPlans: Get the action plan linked to a case

  • GET /supportcases/cases/articles: Get the list of KBAs attached to a case

Attachments

  • POST /supportcases/attachments: Upload an attachment

  • GET /supportcases/attachments: Get attachment content via the attachment URL

Master Data

  • Components

    • GET /supportcases/masterdata/components: Get the list of CSN components.

    • GET /supportcases/masterdata/components: Get the list of CSN components.

  • Contacts

    • GET /supportcases/masterdata/contacts: Get the list of contacts for an installation number.

    • GET /supportcases/masterdata/contacts: Get the list of contacts for an installation number.

  • Landscapes

    • GET /supportcases/masterdata/landscapeObjects: Get Landscape information filtered by customer number and installation number.

    • GET /supportcases/masterdata/landscapeObjects: Get Landscape information filtered by customer number and installation number.

Self-services

  • POST /supportcases/recommendations/solutions: Get a list of recommendations (Notes, knowledge articles) based on problem description.

  • POST /supportcases/recommendations/categories: Get a list of components corresponding to a problem description.

Example

  • Create Case

    • POST https://<tenant name>.<region>.alm.cloud.sap/api/calm-itsmapi/v1/supportcases/cases

  • Request
  • Response
  • Update Case

    • PATCH https://<tenant name>.<region>.alm.cloud.sap/api/calm-itsmapi/v1/supportcases/cases

    • Request

      Parameters:

      id

      (id of an existing case)

      reporter

    • Response
  • Read Case

  • Read Case

    • GET https://<tenant name>.<region>.alm.cloud.sap/api/calm-itsmapi/v1/supportcases/cases

    • Request

      Parameters:

      id

      (id of an existing case)

      reporter

    • Response
  • Read Case IDs

    • GET https://<tenant name>.<region>.alm.cloud.sap/api/calm-itsmapi/v1/supportcases/cases

    • Request

      Parameters:

      reporter

      fromLastChangedDate

      installationNumber

      limit

      offset

    • Response
  • Create attachment

    • POST https://<tenant name>.<region>.alm.cloud.sap/api/calm-itsm/v1/supportcases/attachment

    • Request

      Multipart Body:

      Name

      Value

      attachment

      CALM-logo.png

      installation

      0020659687

      name

      testFile

    • Response
  • Read attachment

    • GET https://<tenant name>.<region>.alm.cloud.sap/api/calm-itsmapi/v1/supportcases/attachment

    • Request

      • Parameters:

        Name

        Value

        idAttachment

        CALM-logo.png

        reporter

        0020659687

    • Response

      Binary content

  • Get recommendations

    • POST https://<tenant name>.<region>.alm.cloud.sap/api/calm-itsmapi/v1/supportcases/recommendations

    • Request
    • Response
  • Get Categorizations

    • POST https://<tenant name>.<region>.alm.cloud.sap/api/calm-itsmapi/v1/supportcases/categories

    • Request
    • Response
  • Get Components

    • GET https://<tenant name>.<region>.alm.cloud.sap/api/calm-itsm/v1/supportcases/components

    • Parameters

      limit

      offset

      10

      0

    • Response

}