SAP Knowledge Base Article - Public

2819278 - Error: 'Invalid or No Mapping to System Data Types Found' When Exporting Data From Data Workbench

Symptom

You are unable to export data from Data Workbench work center as you receive the following error when calling the metadata URL:

Error: Invalid or no mapping to system data types found.

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Go to Administrator work center.
  2. Click OData Service Explorer.
  3. Select c4codataapi.
  4. Click View.
  5. Click the service URL ex. myXXXXXX.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/SalesQuoteCollection?$top=1
  6. Error: Invalid or no mapping to system data types found.

Cause

The issue happens in the following situation: Extension fields have been added in source at a point in time. At another point of time, the extension fields have been uploaded to target for the first time. But in between a change in the metadata has been delivered by SAP.

Resolution

To correct the issue, please perform a KUT change / SDK change on one of the KUT fields / SDK fields in ex. SalesQuoteCollection which will refresh the metadata and post so that you can access the OData URL without any issue.

1) Access the metadata ex. https://myXXXXXX.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/$metadata
2) Find the entity ex. <EntityType Name="SalesQuote">.
3) Remove and re-add one of the KUT fields in the entity.
4) Add a new language to the screen text for one of the KUT fields.

Keywords

unable to export data from Data Workbench, export failed, unexpected error in export, Invalid or no mapping to system data types found , KBA , AP-RC-ODF , OData framework (C4C Only) , Problem

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions