SAP Knowledge Base Article - Public

2766191 - Ad Hoc - Unable to Create/Edit Scheduled Jobs Issue in Provisioning

Symptom

When trying to edit/crerate a scheduled job in Provisioning, we are getting the following error message, see below:

errorScheduledJObs.png

fingerprint ID = "b5b63b02133216800ab5262bf4181f7ee3712a27"

(For SAP use only) Splunk logs should show:

Error getRoleIdsRuleIdsMap for baseUserId [null]

com.successfactors.rbp.app.api.RBPFacadeException: Error getRoleIdsRuleIdsMap for baseUserId [null] at com.successfactors.rbp.app.api.impl.RBPFacadeImpl.getRoleIdsRuleIdsMap(RBPFacadeImpl.java:1925)

Environment

SAP SuccessFactors HCM Suite

Reproducing the Issue

Provisioning > Manage Scheduled Jobs > Create New Job > Select Job Type as Ad Hoc Reports Export > Add Job Parameters for Report that does not work.

Cause

This issue happens when the module team uses params while populating the sub domain schema.

In MDFRBPFacadeImpl.getRuleIdsByMDFPermission(), we get current user from ParamBean. However, in provisioning, we do NOT initialize current user for param bean, that's why it throws error getRoleIdsRuleIdsMap for baseUserId [null] .

Resolution

The Resolution is to do refresh Metadata and export and then we shall use MDF Clear Cache Tool to clear the server cache.

OData Metadata Refresh and Export

Follow below steps to refresh metadata:

1. Go to Admin Centre;

2. Under "Company Settings", click the link "OData Metadata Refresh and Export";

refreshmetadata.png

  1. When you click Refresh, you will see the message “Refresh Successful!” after metadata gets refreshed. The updated metadata will be re-generated and saved into the cache for further usage such like export metadata.

RefreshSuccess.png

MDF Cache Tool

  1. Access Provisioning;
  2. Search for MDF Cache Tool and Click on "Clear cache".

clearcache.png

  1. Click on "Click to Clear Cache" as shown in below screenshot:

click.png

Please clear the browser Cache and after this activity, we should not see any issues in running the jobs in provisioning.

If this issue still not resolved, then contact Product Support raising an incident to Support.

See Also

Development are working on having this issue permanently resolved in the b1905 release as per AYT-23717.

Keywords

b5b63b02133216800ab5262bf4181f7ee3712a27, ad hoc, scheduled job, provisioing, reporting, manage scheduled jobs, MDF, params , KBA , LOD-SF-ANA , Analytics & Reporting (Ad Hoc, ORD) , LOD-SF-PLT , Foundational Capabilities & Tools , Bug Filed

Product

SAP SuccessFactors HCM Suite all versions