Symptom
- Import job refresh of an XLSX file fails.
- Error message: "Data mapping ended unexpectedly."
- In some runs, the job shows "Couldn't refresh the data."
Environment
SAP Analytics Cloud
Reproducing the Issue
- Open the import model and go to Data Management.
- Configure an import task to read an XLSX file via the Import Data connection.
- Run the refresh; the job fails with "Data mapping ended unexpectedly."
Cause
A local dimension attribute was incorrectly marked as Required in the model while the corresponding dimension properties/mappings did not provide values for it, leading to mandatory attribute not mapped and causing the mapping to fail.
Resolution
- Open the affected model in the modeler.
- Review all local dimensions used by the import and identify attributes marked as Required.
- Align settings so that only attributes that will be provided by the import are marked Required:
a. If an attribute is not intended to be mandatory, clear the Required flag in the dimension/attribute settings.
b. If the attribute must remain mandatory, ensure it is mapped to a valid source column in the import task. - Save the model changes.
- Rerun the import job.
Keywords
SAP Analytics Cloud, import model, XLSX import, data mapping ended unexpectedly, update local dimensions with new members, mandatory attribute not mapped, required attribute, import job refresh failure, data acquisition mapping error , KBA , LOD-ANA-AQU , Import Data Connections (Acquiring Data) , Problem
Product
SAP Analytics Cloud 1.0
SAP Knowledge Base Article - Public