Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
Showing results for 
Search instead for 
Did you mean: 
I worked on this project with my colleague mariatrinidad.martinezgea (the Queen 👸🏻) with contributions from this humble servant

If you attended any of the 2017 SMB Summits (Berlin, Macau or Fort Lauderdale) you should have seen a Beacons demo we presented as a proof of concept integrating SAP Business One business data and Beacons devices. We developed this proof of concept as a collaboration project inside our SAP Business One Solution Architects team and demonstrated it in one of the keynotes.

Watch this quick showcase.

I'll like to share in this blog the details behind the demo so you can implement this proof of concept in your own system for demo or even product implementation purposes.

Heatmap showing customers in the shop


  • Customers entering the shop receive personalized welcome offers.

    • As soon as a customer enters the shop offers are calculated based on the SAP Business One customer orders history – B1H Predictive Analysis.

  • Customers, based on their behavior in the shop, receive personalized recommendation.

    • If a user expends a certain amount of time in a specific location offers will be sent based not only on the SAP Business One orders history (B1H Predictive Analysis) but also on the location of the customer.

    • Think about a customer roaming around the Wine sector of our shop. We assume he is into wine, but have not bought anything, so we send him a personalized wine offer.



  • All our specific server side development is running on SAP BTP

    • We made this choice to keep B1 CDS standard installation handling SAP Business One business data and processes.

    • We are leveraging SCP services such as IoT, Mobile and Database

  • We developed our mobile application on iOS platform based on a sample provided by Ubudu Beacons.

    • You can find more samples on other platforms in their web site.

    • Choosing other iBeacon devices can imply different behavior on your mobile application.

In details, the XS app architecture:



Mobile app with offers notification:


Check our video explaining the technical insights of the demo prototype as well as the detailed presentation describing each one of the components.

Source code

The source code of this proof of concept has been divided in the following modules:

  • Server side business logic - HANA XS application

  • HeatMap - HANA XS application

  • iOS mobile application - xCode Objective C application

The full source code of the application is available on GitHub

We are currently working to enhance the documentation of each component.

Important Note: This is not an SAP Business One feature and it is not part of the product. As a consequence there is no official SAP support for this implementation. This is simply a proof of concept that you can take as is for free and develop further for your own customers.


It was a great team effort put all this pieces together and have it available to you, SAP Partners, to try it. We really appreciate feedbacks! Leave them in the comment session below.