Symptom
When navigating to the Suggested Roles section of the Career Worksheet a generic error is displayed:
"An application error occurred. please try again later, or notify support (with the error information of errorid=XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXX, timestamp=YYYY-MM-DDtHH:MM:SS.MSS, and the version information from the current screen) if the issue keeps occurring.
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 Job Profile Builder
- SAP SuccessFactors Career Worksheet
Reproducing the Issue
- Go to Career Development Planning module
- Go to the Career Worksheet
- Go to Suggested Roles
- Application error is received
Cause
The root cause of the issue is likely due to duplicate keys being present in the JDM data for some roles.
To verify if this is the root cause you may follow the steps outlined below.
- Go to "Import and Export Data" tool
- Select "JdmJpbMappingEntity" for Select Generic Object
- Select "No" for Include Dependencies
- Select "Yes" for Include Inactive Records
- Select "Export"
- Go to "Scheduled Job Manager"
- Select "View Details" on the latest MDF Data Export job which has "JdmJpbMappingEntity" in the Job Name
- Select "Download Status"
- Open the JdmJpbMappingEntity.csv file within the zip file
- Highlight the "jdmId" column
- Select "Conditional Formatting" > "Highlight Cells Rule" > "Duplicate Values" > "Ok"
- Highlight the "jdmId" column and select "Sort & Filter"
- In the filter dropdown select "Sort by colour" > "Sort by Cell colour" > "Expand the selection" > "Sort"
- If there are records of objectType "Role" with the same jdmId these are the root cause
Resolution
Scenario 1: If the duplicate jdmID's have a value of -1
- Go to the Check Tool
- Select "System Health"
- Select "Job Profile Builder" as the Application
- Select all and run the check tool on for "Missing Job Description Manager data reference in the mapping entity"
- Open the results
- Run the Quick Fix
Scenario 2: If the duplicate jdmID's have a value other than -1
- Identify the role which is invalid
- Ensure the invalid role is not being used or referenced anywhere else in the system
- Delete the invalid role
Note: If you haven't found a duplicated key in your instance, please note CDP Engineering Team is currently checking the root cause.
Click on star to bookmark this article to receive updates about this issue. For more information about updates from subscribed KBAs, you can refer to the KB Article 2171560 - How to be notified of new or updated SAP Notes or KBAs.
Keywords
Career, Worksheet, Suggested, Roles, Error, Message, Application, System, JDM, JPB, TIH, Jobcode, Duplicate, Keys, Attempted, Merging, Values, Browser, An application error occurred. please try again later, or notify support , KBA , LOD-SF-TIH-JPB-ADM , Admin Center, Settings, Permissions , LOD-SF-CDP-CW , Career Worksheet , Problem