Supply Chain Management Blog Posts by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
Friederike
Product and Topic Expert
Product and Topic Expert
0 Kudos
337

I got asked today how to find the unique ID of an object in SAP Field Service Management — for example, an activity, equipment, or business partner.
At first, I thought I knew the answer. But as I started checking, I realized there are a few different ways to get the ID, depending on the object type — and even a few tricks I hadn’t used before.

Since it was a good reminder (and I learned something new myself), I thought I’d share it here in case it’s helpful for others too. Whether you’re troubleshooting, working with APIs, or just trying to understand where a certain ID comes from — this guide gives you a quick overview of your options.


🔧 1. Activities and Service Calls: Use the "Share" Action

For transactional objects like activities or service calls, the easiest way to get the unique ID (UUID) is to use the “Share” action in the UI.

How:

  • Open the activity or service call.

  • Click the Action (3 dot) icon on the top right and select Share.

  • The link is automatically copied to your clipboard.

  • The UUID is part of the URL, for example:

    https://<your-cluster>.fsm.cloud.sap/shell/#/planning-dispatching/activities/view/2EC9FC3630E54988AB7CAB98904A1222/details?selectedCompanyId=<your-company-id>

Get the activity id from the user interfaceGet the activity id from the user interface

This UUID can be used directly in business rules, screen configurations, reports, API requests or integrations.


🧩 2. Master Data (e.g., Equipment, Business Partner): Opening the URL from Linked Transactions 

For master data objects like equipment or business partners the ID isn’t shown directly in the UI when opening it within the master data module of SAP Field Service Management — but there is a trick to get the URL including UUID:

Open the object from a Linked Object

  • Open an activity or service call that references the equipment or business partner.

  • Click on the linked object.

  • Check the browser URL — the UUID is part of it:

    https://<your-cluster>.fsm.cloud.sap/shell/#/master-data-management/businesspartner/details/058BAE32613E4EA6B6AF6539A601DA9A

This works well if you're already working inside a transaction and want to trace the related objects.


🔍 3. Use the SAP Field Service Management Query API to query by known values

If you know certain values like an external ID, code or name, you can also use the FSM Query API to look up the object and get its UUID.

Examples:

  • Equipment by Serial Number:

    SELECT e.id, e.name, e.serialNumber FROM Equipment e WHERE e.serialNumber = 'LV_OHL_FDR01_P23-P45'
  • Business Partner by code:

    SELECT bp.code, bp.id, bp.name FROM BusinessPartner bp WHERE bp.code = 'C0001'

The response will show the UUID in the id column. You can use the "Create Query" screen in the Analytics and Reporting or Admin Portal to run these queries.

💡 Tip: This method is especially useful when you need to look up multiple UUIDs or when working with integration scenarios.

Get any ID using Query in Analytics and ReportingGet any ID using Query in Analytics and Reporting


 

📎 Related Use Cases

  • Building custom reports, business rules, screen configurations or dashboards

  • Automating data flows between systems

  • Debugging or investigating sync issues

  • Creating cross-references between objects


Summary

Object Type Method 1 Method 2
Activity / Service Call"Share" action in UIQuery API
Equipment / Business PartnerLinked object → URLQuery API
 

Let me know if you'd like a follow-up post with more tips and tricks and answers to frequently asked questions — or if you’ve found other useful tricks for working with FSM IDs!

SAP Field Service Management