Skip to Content
Author's profile photo Former Member

Integration of Social Media into SAP Business Process Management (BPM)


Some IT specialists are considering social media integration, but want more ideas where it can be used. We are three students doing a practical phase at SAP BPM. Our task was to find a use-case and to build an application for it. In this document we will present our solution.



Ann wants to buy a train ticket, but the machine is broken. She scans the QR-Code on the machine which generates a tweet with certain hashtags (like “#ticketmachine #1234 broken”). With this hashtag the machine can be identified. A BPM process searches for tweets about broken ticket machines and therefore finds Ann’s tweet. Sophie is responsible for solving the problem. From her task view she can send a reply tweet to Ann thanking for the report. This way she can stay in her working environment and does not need to open Twitter. Sophie evaluates the problem and sends a qualified technician to fix the machine. She can also search and react to other tweets about this problem. After the machine was mended she can send a tweet informing that the machine works again.

As proof-of-concept we have integrated our solution into the default Task Execution UI:


We also started creating a SAP UI5 application.


Technical Structure

To access Twitter we needed to implement the OAuth protocol. We created a servlet that works as a generic adapter which is compatible for every web site that offers OAuth authentification. Our structure looks like this. For further information about OAuth please refer to the official OAuth specification.



Some tweets can be generated automatically. The person working on the problem still has the possibility to send tweets manually, but it might not be necessary. The following diagram shows what the process flow could look like. More actions like twittering “we are working on it” are automated and Sophie can concentrate on more important tasks.


We have mainly focused on integrating Twitter, however integrating other social media platforms like SAP Jam or Facebook is possible. The OAuth process would be similar.

Lea Poletin, Maiko Müller, Maximilian Rickayzen

Assigned Tags

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

      Hi Max,

      I like the idea of using BPM to be able to report annoying things like broken machines via Twitter.  And getting feedback via Twitter (even if it can't fix the machine while I tweet - that would be asking a bit much, I suspect).

      Perhaps you and Lea and Maiko should consider submitting this as a 'Demo Jam' topic for #sapteched #saptd?  I hope it's not too late to do that!

      Best regards,

      Author's profile photo Jason Lax
      Jason Lax

      This would have been a great thing for DemoJam! Unfortunately the submission for Las Vegas and Berlin Ended on September 20th...there's still Bangalore.