Symptom
A Story report has to be created with Basic User Information as the driving table and a custom MDF object linked to it.
However, there is no join found between Basic User Information and custom MDF.
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 HCM Suite
- Analytics & Reporting (Ad Hoc, YouCalc, ORD)
- Story Reports
- Query Designer - Filter, Calculated Column, Params
- Story Reports
- Analytics & Reporting (Ad Hoc, YouCalc, ORD)
Reproducing the Issue
- Login to instance
- Create a new MDF in Configure Object Definition
- Now when you create a Story, you will not find join between Basic User Information and the newly created custom MDF.
Cause
There may be several reasons why the join from User Information to a Custom MDF object is missing.
- GOObjectDefinition is marked as secured in customer instance
- Custom MDF object name contains a double underscore
- Name of the externalCode field used is incorrect and data type of this field is not User
- Custom MDF object is referenced as Foundation object under Job information
Resolution
1.). The GOObjectDefinition should be set to unsecured.
https://help.sap.com/docs/successfactors-platform/implementing-metadata-framework-mdf/list-of-mdf-core-objects?q=Core
2.). A double underscore causes issues because it is treated as a delimiter during schema/object augmentation.
3.). Name of Database Field Name externalCode should always be externalCode and data type of this field should be User
4.). When a Custom MDF object is referenced as a Foundation object in Job Information, it is automatically included under the Employment schema. However, if the Sub-Domain Schema List in the Report Object Configuration Entity is not explicitly set to "Employment," the join between the Basic User Information object and the Custom MDF object will not be available.
Keywords
externalCode, join, mdf, story, basic, user, information, missing, custom, people, analytics, double, underscore, GOObjectDefinition, Secured, Unsecured, MDF Core Objects, delimiter, Job information, Foundation object, Reference, not available, custom MDF , KBA , LOD-SF-ANA-SAC-DAM , Data Modelling - Module & Entity Data Issues , LOD-SF-ANA-SAC-QDS , Query Designer - Filter, Calculated Column, Params , Problem
SAP Knowledge Base Article - Public