Symptom
Environment
- Story reports
Reproducing the Issue
- Create a Story report
- Select any random field from Job information object
- Click on preview query
- We can see error
- "message\\\": \\\"employmentInfo:40117:Repository: Encountered an error in repository runtime extension;Model inconsistency. Create Scenario failed: \\\\n\\\\nDatatype fixed38.0(38) of J_COST_CENTER does not match to datatype string(16) of attribute OPTIONID_VAR in node projection_7(calculationNode (Join7))\\\\n\\\\nThe following errors occurred: Inconsistent calculation model (34011)\\\\nDetails (Errors):\\\\n- calculationNode (Join7): Datatype fixed38.0(38) of J_COST_CENTER does not match to datatype string(16) of attribute OPTIONID_VAR in node projection_7.\\\\n\\\\n\\\\n\\\\n<?xml version=\\\\\\\"1.0
Cause
The issue occurs because the cost‑center identifier is mapped to a picklist.
Resolution
Standard Foundation Object (FO) identifiers—such as Cost Center, Business Unit, and Department—should not be mapped to picklists. These standard FO identifiers automatically generate their corresponding sub‑objects within Job Information. When they are incorrectly mapped to picklists, it disrupts the FO hierarchy and results in reporting inconsistencies and errors in Story Reports.
Keywords
Foundation objects, identifier, cost-center, business-unit, department, employmentInfo:40117:Repository: Encountered an error in repository runtime extension;Model inconsistency , KBA , LOD-SF-ANA-SAC-DAM , Data Modelling - Module & Entity Data Issues , Problem
SAP Knowledge Base Article - Public