Human Capital Management Blogs by SAP
Get insider info on SAP SuccessFactors HCM suite for core HR and payroll, time and attendance, talent management, employee experience management, and more in this SAP blog.
Showing results for 
Search instead for 
Did you mean: 
Product and Topic Expert
Product and Topic Expert

It is important to keep an eye on your SAP Commission Database on table Storage Count. The data stored in these tables can have major implications for your businesses. The data can give you an idea of trends in your organization to determine your sales program & strategies for sales reps & managers, and also oversee the customer relationships.

At a fundamental level, SAP commission database stores all of the data related to sales deals, sales targets, Incentive & Commission Plans, Audit history, Calculated payments results month on month, and sales transactions information for each individual sales reps.

Within TCMP Schema table storage Count, SAP SPM Support team can monitor, maintain, and manage the data of your SAP commission databases( due to On-premise hosted in SAP Data center). By analyzing the data stored in these tables, you can make informed decisions that will help you to get optimized for the database storage when limit is exceeded

An effective database contains numerous CS_*** tables that need to be checked and maintained on a regular basis. To ensure that the tables are kept up to date and functioning correctly, it is essential that the number of tables in a database is checked regularly.

One way to achieve this is with the use of a code to check the table count on a scheduled weekly basis. This code would allow an administrator or programmer to easily monitor the number of tables in a TCMP Schema database and make sure it is within acceptable parameters.

The code itself is quite simple and can be written in almost any language. What needs to be included in the code is a loop that will iterate through the list of tables in the database and count each of them. Once the loop has completed, it can return the total count of tables.

To set up the scheduled checks, the code can be run on a weekly basis or at intervals specified by the administrator. This can be done using either a cron job or any other scheduling service that is available. It is important that the code executes properly and is not stopped along the way or else it might not be accurate.

Database storage clean up and archival is an essential part of database maintenance and can help streamline database processes and improve the performance of your SAP Commission Application. Depending on your environments (database system), there are a wide variety of steps that you can take to reduce your storage costs, improve your systems performance, and increase data security.

To improve performance, the first step is to analyze your database structure and identify areas of fragmentation. This can help you identify redundant, unused, or oversized data. By understanding which data are no longer useful or necessary, you can determine what can safely be removed.

Once youve pinpointed the unnecessary data, the next step is to archive the data. you perform Reset from Validate for the transactions which were loaded or run Remove Stale Results option from Pipeline Workspace job.. This reduces storage costs and helps keep your data safe.

Another way is take your data to your external systems through developing your own custom integration which benefits of archiving and that it allows you to access historical data quickly. While the data may no longer be actively used, there may be times when a historical view is needed.

SAP Job Scheduling Service

Once you develop your code and ready, you can deploy to SAP Job Scheduler Service that enables batch and event-triggered jobs for efficient and reliable workflows.

The SAP Job Scheduler Service can be used to run jobs at regular intervals and can be used to initiate jobs in response to events which is similar to CronJob.

Additionally, it provides a comprehensive suite of monitoring, logging, and alerting features to help you manage your job cycles.
Go to Tasks, enable your workflow for your deployed code to run job on Scheduled basis
Schedule based on what option you would like to trigger
In below example, every Friday 12:00 the Job will run.
Shows Events are scheduled for the next run
Send Automatic Notification to Compensation Admin on weekly basis

Once Job Scheduled is completed successfully, you will receive an event notification in your MS-Teams