SAP Knowledge Base Article - Public

2935728 - Unauthorized SQL, only SQL statement are supported using Freehand SQL in SAP Analytics Cloud (SAC)


The following error message occurs in SAP Analytics Cloud (SAC):

  • SQL Error: Unauthorized SQL, only SQL SELECT statements are supported. when using Freehand SQL to create model with SQL Database Import Connection



  • SAP Analytics Cloud

Reproducing the Issue

  1. Create Model using SQL Database Import Connection
  2. Create New Query and select Freehand SQL
  3. Manually type in an SQL statement starting with "With"
  4. Click Create
  5. "Unauthorized SQL, only SQL statements are supported." message appears


SAC only supports SQL statements that start with SELECT. In addition, modify statements such as INSERT, DROP, DELETE are also not supported.


Change SQL statement to start with SELECT and/or ensure there are not modify type statements in the SELECT.

Consider following and voting on this enhancement request

See Also

Your feedback is important to help us improve our knowledge base.


SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics,Error, Issue, System, Data, User, Unable, Connection, Sac, Acquisition, Up, Set, setup, Model, BW, Connect, Story, Import, Failed, Using, sapanalyticscloud, sap analytical cloud, sap analytical cloud, SAC, sap analyst cloud, FHSQL, fhsql, sql, freehand, SQL error, , KBA , LOD-ANA-AQU , Import Data Connections (Acquiring Data) , How To


SAP Analytics Cloud 1.0