Error
Error Code:
668
SAP S/4HANA Error 668: 2D Spatial Point Limit
Description
This error indicates an attempt to store spatial data with more than two dimensions (e.g., X, Y, Z) into an `ST_Point` column that is configured to support only two-dimensional (X, Y) points. It typically occurs during data insertion, updates, or spatial function calls involving higher-dimensional geometries.
Error Message
ERR_SQL_2D_POINTS_SUPPORTED_ONLY
Known Causes
4 known causesInserting 3D+ Data
An operation attempted to insert or update `ST_Point` data containing Z (or M) coordinates into a column defined for 2D points only.
Incorrect Data Mapping
During data migration or integration, spatial data with higher dimensions was mapped to a 2D `ST_Point` column without proper dimensionality reduction.
Application Logic Issue
Custom application code or a third-party tool generated and attempted to store spatial points with more than two dimensions into a 2D `ST_Point` field.
Misunderstanding ST_Point Schema
The user or developer was unaware that the specific `ST_Point` column in the database schema was designed to only accept 2D coordinates.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service