Skip to Content
Author's profile photo Damien Murphy

Apple Watch Charting using SAP Digital for Customer Engagement API

Who is this blog post aimed at?

This blog post is aimed at developers & partners. The sample code demonstrates how to connect an iOS & Apple Watch app to the SAP Digital for Customer Engagement OData API’s for both Accounts & Opportunities and render the Opportunity data in an animated dynamic bar chart.

What topics does this blog post cover?

  • Setting up a SAP Digital for Customer Engagement trial account
  • Connecting an iOS app to the OData API & displaying Accounts & Opportunities in a list view
  • Connecting an Apple Watch to the OData API & displaying a list of Accounts and a dynamic chart showing Opportunities and their sizes

Sample Code Architecture


Apple Watch.png

What is SAP Digital for Customer Engagement?

SAP Digital for Customer Engagement is a simple, yet powerful CRM solution that’s designed to help smaller sales teams get up and running in minutes, but that delivers many of the same powerful capabilities as our enterprise offering. It can help your team close more deals by enabling them to sell smarter, work more efficiently, and collaborate more effectively.

For more info see: Introducing SAP Digital for Customer Engagement

How to get started?

It is super simple to sign up & free for 30 days!

Sign up for a 30 day free trial

Once you are signed up lets create some sample data!

Step 1


Step 2


Step 3


Step 4


Lets take a look at the sample code?

The sample code for this tutorial can be found here:

Running the sample project

    1. Clone the Github repo

          git clone


     2. Open the Xcode project file called “ODataExample.xcodeproj


     3. Run the iPhone Xcode Scheme


     4. Login with your credentials and click save & test them

          Enter the e-mail address & password you used to sign up for your 30 day trial account.

          Note: You must see “Credentials Valid” in the iPhone app’s Log Viewer in order to confirm everything is connecting correctly.

         Once you see “Credentials Valid” in the log viewer click “View Accounts”


     5. Running the WatchKit App Scheme


What inspired this SCN Blog Post?

Watch the SAP Cloud for Customer: The Perfect Meeting – YouTube video we showcased the Perfect Meeting Apple Watch app at Sapphire 2015 in Orlando!

Thank You

That’s it! Stay tuned for an update for WatchOS 2.0!!


Public access to the SAP Digital for Customer Engagement OData API is not supported currently. Customers/developers/partners should reach out to SAP for any such requests. For this sample your own login credentials will be used to access the OData API’s

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Ginger Gatling
      Ginger Gatling

      Great blog, thank you!

      Author's profile photo Former Member
      Former Member

      Nice to know the upcoming stuff with iWatch integration. Thanks!

      Author's profile photo SVEN FEURER

      Thanks Damien for sharing this great example. Actually today I wear the Apple Watch for the first time. Nice experience! From my perspective key success criteria: app must be super-easy to use and consume, scenario should be smart and co-existing withphone/tab scenarios, voice support. Kind regards, Sven