Introduction to SAP commissions

SAP commissions is a Sales Performance Management tool. It helps managers in large organizations automate the calculation and payment of the incentive compensation to its Sales force.

The center of Sales Performance management is Compensation plan. Compensation plan defines the set of business logic to calculate the comp­­­ensation pay-out for each payee. Payee and the Compensation plan is maintained by the administrator. A pipeline is defined and executed which uses the compensation plan to accurately calculate the compensation pay-out.

Sales%20to%20Incentive%20Payout%20process

Sales to Incentive Payout process

Key benefits of SAP Commission:

  • Motivate Salesforce with accurate and on time Incentive Pay-out
  • Reduce payment errors, disputes and risk
  • Leverage analytics and AI capabilities for rich insights

Embedded Analytics for SAP Commissions

Embedded analytics for SAP Commissions is implemented in SAP Analytics Cloud and provides tool to explore data, find insights and visualize Sales performance data in SAP commissions. With Embedded Analytics for SAP Commissions, customers receive 13 out of the box standard/Stock Data Models and 23 stories built on these Stock Data Models.

Standard list can be checked in the link

Building Custom Model in Embedded Analytics Web IDE in SAP Commissions

Custom data models in SAP Commissions are built by creating SQL views in Web IDE.

Web IDE is a web-based interface used to manage data transformation in SAP Commissions HANA database. It can be used to modify the source data into required format using flow graph or build custom data model using SQL views.

SAP commission database has two default schemas EXT and TCMP. The custom data models that need to be exposed to embedded analytics in SAC should be in EXT schema.

For building custom data model following access is required

  • SAP commission tenant details for Web IDE
  • Read/write access for EXT schema, read access for TCMP schema
  • user credentials for Embedded Analytics for SAP Commission

Following is a sample SQL view

Sample%20SQL%20View

Sample SQL View

Complex logic can be implemented by creating a procedure written to a table in EXT schema. Procedure can be scheduled to run using pipeline.

CSN File Update

Custom data model is exposed to Embedded Analytics SAC by creating a CSN file. The CSN file is a JSON format that defines the metadata necessary for the physical tables and views. These tables and views are exposed in the Embedded Analytics for SAP Commissions UI.

CSN file is deployed to Embedded Analytics for SAP Commissions UI by creating a ticket with SAP support. Once deployed data model is available in Embedded SAC for building stories.

Below condition must be followed while creating CSN file

  • Context in CSN file must be set to EXT.
  • CSN file must have at least one measure.
  • @Common.Label annotation name must match the model name specified during support ticket creation.
  • @Common.Label annotation must be before @Analytics.query annotation.

Following is a Sample CSN file

Sample%20CSN%20file

Sample CSN file

Conclusion

In conclusion, custom data model in Embedded Analytics for SAP Commissions is built by creating SQL view in Web ide, exposing the view by creating CSN file and deploying by creating SAP support ticket.

Further Reading and Reference

More information on SAP commissions can be found in below links

https://microlearning.opensap.com/playlist/dedicated/173269331/1_uns902o3/1_8altxuym

http://blog.sap-press.com/what-is-sap-commissions

https://help.sap.com/docs/Embedded_Analytics_for_SAP_Commissions/c2960ea4450846b29ad93ad81efe9779/f02ea4368ebd4b0bac67a175f34f1cef.html

https://help.sap.com/docs/Embedded_Analytics_for_SAP_Commissions/28d04e3e3c4e481aa0bf7290cf517dcf/1e8d2ba44d874ba59ed4ffdec745dfff.html

 

Sara Sampaio

Sara Sampaio

Author Since: March 10, 2022

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x