Integration Hub reporting data sync fails with SAP Cloud ERP

Our Integration Hub is failing to sync reporting data from SAP Cloud ERP for analytics dashboards. The connection works fine for transactional data, but when we try to pull analytical data for custom reports, the sync fails with field mapping errors.

The error log shows:


Field mapping error: AnalyticalAttribute 'CostCenter' not found
SAP metadata validation failed for entity 'FinancialReport'
Sync aborted at record 1247

We’re using OData services to pull SAP Cloud ERP data into Mendix for custom analytics attributes. The field mapping configuration seems correct in the Integration Hub connector, and SAP metadata import completed without errors initially. However, the sync consistently fails when processing records with custom analytical dimensions.

Is there a known issue with SAP Cloud ERP analytical extensions in Mendix 9.24? Our reporting team is blocked from creating dashboards until we resolve this sync problem.

SAP Cloud ERP analytical attributes often use different field names in the OData metadata versus the actual API responses. Check if ‘CostCenter’ is exposed as ‘CostCenterCode’ or similar in the OData service definition. The metadata import might show the field as available, but the runtime mapping could be using a different identifier. Use the SAP API Business Hub to verify the exact field names in the analytical service you’re consuming.

Have you checked the SAP authorization for analytical data access? Sometimes the technical user has permissions for transactional data but lacks authorization for analytical views and custom dimensions. In SAP Cloud ERP, analytical attributes often require separate authorization objects (S_TABU_NAM for table access or specific analytical authorization objects). Your sync might be failing not due to field mapping but due to authorization restrictions on the analytical data itself.

Your Integration Hub sync failure stems from how SAP Cloud ERP exposes analytical attributes through OData services, combined with specific configuration requirements in Mendix 9.24. I’ll address all three critical areas:

1. Field Mapping Configuration: SAP analytical attributes use a different metadata structure than standard fields. The ‘CostCenter’ field you’re trying to map is likely exposed as a navigation property rather than a direct attribute. Update your Integration Hub entity mapping:


// Map analytical attributes via navigation
CostCenter := $SAPEntity/AnalyticalData/CostCenter
ProfitCenter := $SAPEntity/AnalyticalData/ProfitCenter

The field mapping configuration needs to traverse the analytical data structure, not map directly to the root entity.

2. SAP Metadata Import for Analytics: Re-import your SAP metadata with analytical annotations enabled. In the Integration Hub connector configuration, go to SAP Service Settings and enable ‘Include Analytical Annotations’. Then refresh the metadata:


// Connector settings
ODataVersion: V2
IncludeAnalyticalAnnotations: true
MetadataNamespace: SAP/ANALYTICS

This ensures custom analytics attributes are properly discovered during metadata import. The initial import likely excluded the analytical extension namespace, which is why transactional data works but analytical data fails.

3. Custom Analytics Attributes Query Configuration: Modify your Integration Hub data retrieval microflow to explicitly request analytical extensions in the OData query. SAP Cloud ERP requires the $expand parameter for analytical dimensions:


// In your sync microflow
ODataQuery := '$select=*&$expand=AnalyticalExtensions';
RetrieveFromSAP(ODataQuery);

Without the expansion, SAP returns only base entity data, causing the field mapping to fail when processing custom analytical attributes.

Additional Configuration: Verify your SAP technical user has authorization for analytical data access (authorization object S_RS_COMP for analytical components). Also check that your OData service in SAP Cloud ERP has the analytical view properly activated - sometimes services are published without analytical capabilities enabled.

For the specific error at record 1247, this suggests the first 1246 records succeeded, meaning some records have analytical data while others don’t. Add null-checking in your field mapping to handle records without analytical attributes gracefully.

After making these changes, clear the Integration Hub cache and re-run the sync. The reporting data should now flow correctly into your Mendix analytics dashboards.

I encountered this exact error last month with SAP S/4HANA Cloud. The problem was that analytical attributes in SAP are exposed through extension fields that require special handling in the OData query. Your Integration Hub connector needs to use $select parameters that explicitly request the analytical dimensions:


$select=*,CostCenter,ProfitCenter
$expand=AnalyticalExtensions

Without the expansion, SAP returns the base entity without the analytical attributes, causing field mapping failures during sync. Check your connector’s query configuration and add the necessary $expand clauses for analytical data.

Check the SAP Cloud ERP service version you’re connecting to. Mendix 9.24 Integration Hub has specific compatibility requirements for SAP analytical services. If your SAP system is using OData V4 for analytics while your connector is configured for V2, field mappings will fail. Verify the OData protocol version in both your SAP service configuration and the Mendix connector settings match exactly.

This looks like a namespace issue with SAP’s analytical extensions. When you imported the SAP metadata, did you include the analytical annotations namespace? SAP Cloud ERP uses separate namespaces for transactional versus analytical OData services. You need to explicitly import the analytics namespace in your Integration Hub connector configuration, otherwise custom analytical attributes won’t be recognized during field mapping.