Setup for SAP Field Service Management

This page explains how to connect the SAP Field Service Management to SAP Cloud ALM to enable monitoring.

Currently the following monitoring application are supported for the SAP Field Service Management:

Setup Video

The following video demonstrates the setup steps to set up Integration & Exception Monitoring for SAP Field Service Management.

A textual step by step description for all setup steps is provided in the sections below the videos.

 

Set Up Integration & Exception Monitoring for SAP Field Service Management

  • Prerequisites for this video:
    • You need a user with account-level administrator authorizations
    • Log on to your SAP Field Service Management account with the option "Sign In with Account"

Prerequisites

To enable SAP Field Service Management for monitoring:

  • You need a user with account-level administrator authorizations
  • Log on to your SAP Field Service Management account with the option "Sign In with Account"

Activate Integration Monitoring in SAP Field Service Management

Integration Monitoring is disabled in SAP FSM by default, so before you can access the data with SAP Cloud ALM it needs to be activated.

Activate Integration Monitoring for the connector you use for you company. Which connector is used depends on the product SAP Field Service Management integrates with:

  • SAP ERP or SAP Business One: ERP Connector
  • SAP S/4HANA or SAP Sales & Services Cloud: FSM Connector
  1. Log on to your main account page
    1. Make sure to choose 'Sign In with Account'
  2. Click on the company name on the 'Companies' panel
  3. For the ERP Connector:
    1. Navigate to 'ERP Connector'
    2. Change the value for 'Integration Monitoring' from 'false' to 'true'
  4. For the FSM Connector:
    1. Navigate to 'FSM Integrations' > 'FSM Connector'
    2. Check the box next to 'Integration Monitoring enabled'

Create OAuth Client in SAP Field Service Management

To create the OAuth credentials Client ID and Client Secret please perform the following steps:

  1. Navigate back to your main account page
  2. Go to 'Clients'
  3. Click the 'Create' button
  4. Make sure the 'Client Authentication Method' is set to CLIENT_SECRET
  5. Under 'User Groups':
    1. Find the companies for which you want to use this OAuth client
    2. Change the value in the drop-down list to 'Admin (pre-configured)'
  6. Click 'Save'
  7. Copy the Client ID and the Client Secret before moving away from the screen

Create Endpoint in SAP Cloud ALM

  1. Open the Landscape Management application from the launchpad
  2. Find your SAP Field Service Management service
  3. Press the '>' button at the end of the line
  4. On the tab "Endpoints" press the 'Add' button to create a new end-point
  5. Enter a description
  6. Choose the use-case "Integration Monitoring"
  7. Adjust the entry in Root URL. To access the backend API you must choose the coresuite.com for your region without any trailing path:
    • US: https://us.coresuite.com
    • DE: https://de.coresuite.com
    • EU: https://eu.coresuite.com
    • CN: https://cn.coresuite.cn
    • You can find your region under the properties of the service in landscape management
  8. Choose 'OAuth2ClientCredentials' and enter the OAuth credentials retrieved from SAP Field Service Management:
    • Client ID: Enter the Client ID
    • Client Secret: Enter the Client Secret
    • Token Service URL: https://auth.coresuite.com/api/oauth2/v1/token

Connection Error with Cloud ALM 2011

Please note that with SAP Cloud ALM Release 2011 there might be an error if you perform a connection test. This doesn't influence the Interface Monitoring data collection and this error can be ignored.

Error message when clicking 'Ping Connection'

  • [404] Connection to <FSM endpoint> cannot be established. Ensure that the URL and the login credentials, which are maintained for the endpoint, are correct.

When clicking 'Check Connection' during the end-point creation you will see the following error message

  • Connection to <FSM endpoint> cannot be established - [Not Found]. Ensure that the URL and the login credentials, which are maintained for the endpoint, are correct. - return code 404

Next Steps

After creating the endpoint in SAP Cloud ALM, you have to perform the following steps to activate the monitoring use-cases: