Symptom
- Got error "<query name> has failed to upload because the query returned an empty dataset. Please check you datasource and try again." when create query based on SuccessFactors in SAC.
- If using OData services connection with freehand query, got error "<query name> has failed to upload because of an error in the plugin service. "
Environment
- SAP Analytics Cloud (Enterprise) Version 2023.8.18
Reproducing the Issue
- Login to SAC.
- Go to Modeler and create new model based on import data connection to SuccessFactors.
- Select connection.
- Select query "FormRouteStep".
- Add data fields "formDataId", "dueDate", "completed", and "stepName" to the query panel.
- Leave the filter "As of Today".
- Click Create.
- Notice error happened "<query name> has failed to upload because the query returned an empty dataset. Please check your datasource and try again."
- If create using the OData services connection with freehand query, using connection and query.
- Notice that got plugin error:
"SAP Test has failed to upload because of an error in the plugin service."
Cause
The entity FormRouteStep has a composite key "formDataId" and "stepOrder", details can be found in the SF help guide FormRouteStep:
<EntityType Name="FormRouteStep">
<Key>
<PropertyRef Name="formDataId"/>
<PropertyRef Name="stepOrder"/>
</Key>
Entity which has a composite key cannot be queried directly via import data connection to SuccessFactors connection directly, use OData services connection and freehand query instead.
Resolution
Use OData service connection and freehand query, formDataId is the document ID of the Performance form, which can be queried via ad hoc report in SuccessFactors, e.g.
The below from is the sample form data from SAP internal test system:
e.g. URL and freehand query used in SAC:
Keywords
KBA , LOD-ANA-AQU , Import Data Connections (Acquiring Data) , Problem
Product
SAP Analytics Cloud 1.0