Let SAC track your KPIs: Send “Data Change Insights” based on SAP BW/4HANA live data via mail or to the home screen!
The Data Change Insights feature helps you discover chart-level data changes that are important and relevant to you when you aren’t opening and using analytic applications. It needs to be enabled by application designers, so that application users can set daily, weekly or also monthly subscriptions and configure value ranges to trigger data change insights.
How the users will be notified? You can receive notifications from SAC within a configured period via emails (one with data change insights, the other with a PDF attachment of the corresponding analytic application) or SAP Analytics Cloud notifications.
Please note that Data change insights is under the license of scheduling.
For more details about the Data Change Insights feature please check the SAC help: https://help.sap.com/docs/SAP_ANALYTICS_CLOUD/00f68c2e08b941f081002fd3691d86a7/294a10a9e1004d49a83cfd4e5d67d361.html?locale=en-US
Now let’s start. First I need an analytics application created within the SAC Analytics Designer. Let’s use one, which I have created a while ago. It is a simple application based on a live connection on SAP BW/4HANA. Let’s see, what we can do.
Scroll down and select “Enable Data Change Insights“. Click “Save” and leave the settings:
A few changes happened. One important change is the new “Data Change Insights” folder in the scripting area with an item inside. In the settings you can specify which version of the analytics application will be used by the Data Change Insights feature. You need to select one version. If you don’t do it and save your analytics application again, you will have a new version and the snapshots can’t be created. So only one version at a time will be compared.
Now we can run our Analytic Application.
We can also set a subscription range by selecting “Set Subscription Range” in the menu.
Let’s use it.
Finally we can set a range. SAC will track the data changes according our settings.
I will set a fixed value for the Gross Revenue:
I leave the settings with “OK“. Now we are ready to continue. Select “Tools” -> “Subscribe Data Change Insights” from the menu:
We can now maintain a few settings (name, date, time, recurrence, receivers).
Set the details for the recurrence:
You will see a popup which will guide you to the calendar. You can open the calender also from the navigaion panel on the left side. There you will find the events related to your subscription.
Once the event status wents to “Successful“……….
…. I receive “two” emails from SAC. The first email has a snapshot as PDF inside. The second one shows some details.
One day later we did some changes on SAP BW/4HANA side. Our Gross Revenue is now higher:
As we use SAC in a live mode, we can see the new data from SAP BW/4HANA in our application. In this case the higher Gross Revenue value:
We know that you can be notified via email or SAC notifications. There is also a way to leverage the script API in the SAC Analytics Designer to build some cool stuff around this Data Change Insights feature within applications. But there is another, much simpler way to consume this notifications in SAC – via the SAC home screen.
Since Q1 2022 users can now add Data Change Insights as a tile on the SAP Analytics Cloud Home Screen to include:
- Subscripted data changes across applications
- Ability to search a certain data change
- Ability to filter data changes with different criteria (top N, time range, importance, and the like).
In the next step you need to activate “Data Change Insights“:
Finally you can see a new tile on your home which shows the Top Data Chance Insights.
If you click on a number, you will see a chart with details:
The following video shows only the result – not the process:
Please note that the snapshos will be saved by default in the “Local Tenant Storage” (A).
SAC Administrators can add their own Data Repository (B) if requested.
Let’s summarize the blog content.
Your key takeaways:
- The Data Change Insights feature helps you discover chart-level data changes that are important and relevant to you when you aren’t opening and using “analytic applications”. SAC stories are not supported.
- Data change insights can be triggered when there’re value changes across thresholds, value changes across reference lines and top N member changes. For different types of data changes, different chart types are supported.
- You can track the change of absolute values and the deltas!
- You will be notified via email and SAC notifications
- You can also be notified on the SAC home screen (Data Change Insights from different applications can be shown)
- Data change insights is under the license of scheduling. If you’re an admin, refer to Configure Scheduling of Publication.
- SAC will compare different snapshots of the data. There can be only 1 snapshot a day. If you create more than one a day, the last snapshot will be overwritten.
- Application Designers can enable Data Change Insights and leverage Script APIs.
- Application Users can subscribe to Data Change Insights and view Data Change Insights.
- Application Designers has some more options using the Script API. I can recommend the blog post from Aleksey Salinin for further details and examples.
- On application level, no date changes insights will be generated and users will get a warning if:
- The application gets modified during subscription period (two snapshots from different document save versions).
- The application view is a different one.
- The model variables from the URL parameter are changed.
- On chart level, the comparison within a chart will be ignored if:
- A chart’s model variable is changed.
- A chart’s filter is changed (except for dynamic datetime filter).
- A chart’s calculated measure’s referenced script variable is changed.
I hope you liked the blog and let’s see, what we will see in the next one. 🙂
Best regards to all SAC fans out there.
That's a great blog Adem! Thanks for sharing!
Thank you for this blog post Adem.
FYI: according to this answer: Data Change Insights is not available for live connections yet.
I have tested with SAC version 2022.8.14: the option to activate data change insights on a chart is still not available.
As discussed, this feature works with the BW Live connectivity.
To make it work on your side, please configure the Cloud Connector and then it should work. 🙂
In the blog there was a hint:
Hope that clarifies everything.
Awesome blog Adem. Thank you so much for sharing!
Really great article to list DCI recent new features! Look forward to getting more feedbacks to continuously improve it!
Great content Adem!!! Thx!
Great blog, Adem. Thanks!
very nice Blog as always. thanks!
we have tested this with BW Live on Hana but i can only subscribe to the changes from the Menu “Tools” -> “Subscribe Data Change Insights”
but not in from the Charts, is there any restrictions in terms if the Live Connection is based on Hana or BW/4Hana?
Thanks for your feedback.
It seems that I missed to mention an important step in the blog which is available in the video.
For each widget which needs to be tracked by SAC, you need to activate this feature in the properties of the widget:
I have updated the blog accordingly. Thanks for giving me the hint.
Thanks Adem, that's the solution!
Great to hear that Younes.