Symptom
- The import of a file in Data Workbench fails with the generic error: "Internal error; create an SAP case".
- The import of a file with only one of these records in Data Workbench leads to a more specific error. It fails with the error: "Please define Region XXX for Country YYY" (XXX represents the Region value, YYY represents the Country name).
However, as you notice, all fields in the import file are filled with values. You are wondering why the error is thrown and how to solve the issue.
Environment
SAP Cloud for Customer
Reproducing the Issue
- Go to the work center Data Workbench
- Select the Monitor view
- Search for the task with several failed records
- Select the Error log
- You find the error: "Internal error; create an SAP case"
- Create a new file with only one of the failing records
- Try to import the file
- Select again the Monitor view
- As you can see, also this import fails
- Select the Error log
- You find the error: "Please define Region XXX for Country YYY"
Cause
The "Please define Region" error occurs, if the Region code in the file is maintained as XXX instead of 0XXX. This can be caused by the use of Microsoft Excel which formats data files according to the regional settings of the system. This way, opening the file in Microsoft Excel may have removed the leading zero of the Region code.
When uploading a file without the leading zero, this code is treated as non-existent for the business object and causes an error.
Resolution
Ensure that the leading zero is maintained in the field. Recommendation is to use a CSV editor for editing the file.
See Also
Keywords
Insert, Upsert, Upload, Update, Monitor, Account , KBA , LOD-LE-BP-BP , Business Partner , LOD-CRM-INT-DWB , Data Workbench , Problem