Symptom
Deployment of analytic models fails with an error similar to:
“sql syntax error: incorrect syntax near "NULL"” occurred while converting SQL expression: “XXXXX'”Correlation ID: XXXXXX
Environment
SAP Datasphere
Cause
The issue occurs because underlying source objects used by the analytic Model were modified, but the analytic model was not revalidated and redeployed after the changes.
Resolution
- Open the affected analytic model in Data Builder.
- Check the fact sources section.
- Identify validation messages indicating modified dependent objects.
- Review the affected sources .
- Save the Analytic Model again to refresh the metadata.
- Redeploy the Analytic Model.
Keywords
Datasphere, object, incorrect syntax near "NULL", SQL expression , KBA , DS-MD-AM , Analytic Model , Problem
Product
SAP Datasphere all versions
SAP Knowledge Base Article - Public