SAP Knowledge Base Article - Public

2868162 - HRIS Pay Component Group Sums Sync Job is Failing

Symptom

  • Pay Component Group Values in Reporting have incorrect values or are blank
  • HRIS Pay Component Group Sums Sync Job is failing

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SAP SuccessFactors Employee Central - Compensation Information
  • SAP SuccessFactors Employee Central - Reporting

Reproducing the Issue

This article aims covering multiple scenarios:

  1. When the HRIS Pay Component Group Sums Sync Job fails and the run details mentions: "Empty Job owner user name. Quit job execution".

  2. When the HRIS Pay Component Group Sums Sync Job keeps failing with the following exception: "There is one or multiple sub tasks failed. Inside throwable is for last exception."

    Job Failure Details: "Full exception:com.successfactors.jobscheduler.ScheduledJobExecutionException: There is one or multiple sub tasks failed. Inside throwable is for last exception. at com.successfactors.jobscheduler.jobimpl.ConcurrentJobProcessor.waitToFinish(ConcurrentJobProcessor.java:89) at com.successfactors.jobscheduler.jobimpl.SimpleJob.submitMultiThreadTasks(SimpleJob.java:795) at com.successfactors.ecintegration.service.pcgsumsync.processor.PCGSumMasterProcessor.process(PCGSumMasterProcessor.java:106) at com.successfactors.hris.service.scheduledjob.HrisPCGSumsSyncJob.executeJob(HrisPCGSumsSyncJob.java:96) at com.successfactors.jobscheduler.jobimpl.SimpleJob.execute(SimpleJob.java:335) at sun.reflect.GeneratedMethodAccessor1286.invoke(Unknown Source) at...."

  3. When HRIS Pay Component Group Sums Sync Job fails with the following exception: "Full exception:com.successfactors.jobscheduler.ScheduledJobExecutionException: java.lang.NullPointerException: while trying to invoke the method com.successfactors.genericobject.bean.businessobjects.Currency.getCode() of a null object returned from com.successfactors.workstructure.bean.core.model.CurrencyExchangeRate.getSourceCurrency()".

    Steps to reproduce this are:
    1. Go to Admin Center > Scheduled Job Manager (from the 1H 2023 Release) or Provisioning > Monitor Jobs.
    2. Select the Job Type "HRIS PayComponentGroup Sums Sync" and confirm the failed Job execution.
    3. Click on the Details and the following error is seen: "Caused by: java.lang.NullPointerException: while trying to invoke the method com.successfactors.genericobject.bean.businessobjects.Currency.getCode() of a null object returned from com.successfactors.workstructure.bean.core.model.CurrencyExchangeRate.getSourceCurrency()"

Cause

  1. The root cause is that original creator of the HRIS PayComponentGroup Sums Sync job is no longer an active user in the system.

  2. The root cause is tied to the length of the Pay Component Group's name. In this case, the number of characters in the "Name" field of the Pay Component Group Foundation Object exceeds 32 characters, which is the maximum. So if the inserted name exceeds this value, it is too long for the HRIS Paycomponentgroup Sums Sync job to run without failing.

  3. The Job fails when it looks up the Currency Conversion Object "Currency Exchange Rate". It is unable to get the Conversion Rate for certain Currencies. Some of the known causes are as follows:
    • The effective dates of the Currencies are incorrect
    • The required fields in the Currency Exchange Rate are blank
    • Currencies reference in Currency Exchange Rate are inactive

Resolution

  1. Updating job owner will be required. For that, please follow:
    • Go to Admin Center > Scheduled Job Manager (from the 1H 2023 Release) or Manage Scheduled Jobs in Provisioning;
    • Filter the Job Type by "HRIS PayComponentGroup Sums Sync";
    • Find the concerning job;
    • Cancel and edit it;
    • Change its job owner for an user that is currently active (it is recommended to use an administrator account to execute these types of job in Provisioning).

  2. Note: starting with B2305 Release, customers have also the possibility to directly run this job from the Admin Center.

The maximum times that the job can run each day in the Admin Center:

  • 1 time a day.
  • 1 time for a recurring job.

View:

    1. On Admin Center, go to Scheduled Job Manager
    2. Click on the tab Job Scheduler
    3. On Job Type, select Job HRIS PayComponentGroup Sums Sync.
    4. On Actions, you can click on Run it Now or
    5. You can Create new job request and schedule it in future.
  1. In order for the job to run successfully, the number of characters in the "Name" field of the Pay Component Group Foundation Object must be 32 characters or less. So, changing the name of the Pay Component Group so that it meets this criteria will be required to resolve the problem.

    PayCompGroupFO.JPG

  2. Correct the configuration of the Currency and Currency Exchange Rate Records. To easily check the configuration go to "Import and Export Data" and export both "Currency" and "Currency Exchange Rates (include inactive records)" and review all the data.

Job Failure due to Execution Limit: 

If the job fails due to execution limitations it will detail the following error in the Job Details:

  • job failed because it exceeded the daily scheduling threshold for execution

If a job fails due to this job execution guardrails, it is recommended to review the configuration of the job and adjust the recurrence to ensure it complies with the job execution guardrails detail in the WNV: ECT-207756: More Employee Central Jobs on Job Scheduler in Scheduled Job Manager

To do this please ensure you have the required permission to access Scheduled Job Manager from the Admin Center.

This requires you have the permission:

  • Administrator > Admin Center Permissions >  Monitor Scheduled Jobs
  • Administrator > Admin Center Permissions > Manage Scheduled Jobs

Different job types might have additional module-specific permission controls. Check module guides to know all the details, please review the links with the "Related Information" of the WNV page for links to each of these relevant jobs: ECT-207756: More Employee Central Jobs on Job Scheduler in Scheduled Job Manager

Steps to change the recurrence of a job:

  1. Ensure you have the required permission detailed above 
  2. Navigate to Scheduled Job Manager
  3. Select "Job Scheduler" Tab 
  4. Filter for the desired Job Type
  5. For the desired job select Actions> Cancel 
  6. Once the job is canceled select Actions> Edit 
  7. Adjust the recurrence to comply with the job execution guardrails
  8. Ensure all required fields are filled out 
  9. Submit

 Note:The maximum times that the Job HRIS PayComponentGroup Sums Sync can be run each day in the Admin Center:

  • 1 time a day.
  • 1 time for a recurring job.

FAQ - Additional Information
Q) Where can I get information on this from the Guide?
A) Guide: Implementing Employee Central Core    - Chapter : HRIS PayComponentGroup Sums Sync                                                                              Guide - Chapter: Managing Scheduled Jobs -Chapter: Notes on Some Common Job Type-HRIS PayComponentGroup Sums Sync

See Also

  • 2080171 - Employee Pay Group Sums do not retrieve any data when selected in Ad Hoc Reports - Employee Central
  • 2231503 - Synchronize Business Configuration Job Configuration via Scheduled Job Manager
  • 3400833 - HRIS Pay Component Group Job Sync is Failing - SAP for Me
  • 3546611 - Inactive and Terminated employees are not reportable in Person and Employment (as of Date) Reports for annualized salary or pay component group sum

Keywords

com.successfactors.genericobject.bean.businessobjects.Currency.getCode(), com.successfactors.workstructure.bean.core.model.CurrencyExchangeRate.getSourceCurrency(), createMapFromCurrencyExchangeRateEOs, HRIS PayComponentGroup Sums Sync, Pay Component Groups, Pay Component Groups blank in Reporting, PayComponentGroup, HRIS Sync, Failure, pay component group, error, There is one or multiple sub tasks failed. Inside throwable is for last exception, Full exception:com.successfactors.jobscheduler.ScheduledJobExecutionException: There is one or multiple sub tasks failed. Inside throwable is for last exception. at com.successfactors.jobscheduler.jobimpl.ConcurrentJobProcessor.waitToFinish(ConcurrentJobProcessor.java:89) at com.successfactors.jobscheduler.jobimpl.SimpleJob.submitMultiThreadTasks(SimpleJob.java:795) at com.successfactors.ecintegration.service.pcgsumsync.processor.PCGSumMasterProcessor.process(PCGSumMasterProcessor.java:106) at com.successfactors.hris.service.scheduledjob.HrisPCGSumsSyncJob.executeJob(HrisPCGSumsSyncJob.java:96) at com.successfactors.jobscheduler.jobimpl.SimpleJob.execute(SimpleJob.java:335) at sun.reflect.GeneratedMethodAccessor1286.invoke(Unknown Source) at....., ECT-54953, HRIS, PayComponentGroup, Sums, Sync, Scheduled, Job, Manager, Admin, Center, The HRIS PayComponentGroup Sums Sync job failed because it exceeded the daily scheduling threshold for execution. For more details on the threshold value, refer to KBA2868162 , KBA , LOD-SF-EC-REP , Reporting Data (EC core only) , LOD-SF-ANA-ADH , Adhoc Reports & Report Builder , LOD-SF-EC-CMP , Compensation Information & One-Time Bonus , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Suite all versions