Quantcast
Channel: SCN: Message List - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 2110

Unable to activate a table

$
0
0

Hi All,

I am getting the Parse error for table definition when I try to activate the database table. Here is the full error text: "Repository: CheckObjects failed for at least one object; Parse error for table definition: Syntax error: Extension are only allowed with the list itself.; row: 5 column: 0"

 

Here is the code that I have.....

table.schemaName = "cs_first";

table.tableType = COLUMNSTORE;

table.description = "Workshop order Header";

table.columns = {

{ name = "OrderId"; sqlType = NVARCHAR; nullable = false; length = 10;   },

{ name = "CreatedBy"; sqlType = NVARCHAR; nullable = false; length = 10; },

{ name = "CreatedAt"; sqlType = DATE; nullable = false;                  },

{ name = "Currency"; sqlType = NVARCHAR; nullable = false; length = 5;   },

{ name = "GrossAmount"; sqlType = DECIMAL; nullable = false; precision = 15; scale = 2; defaultValue = "0";  },

};

table.primarykey.pkcolumns = ["OrderId"];

 

 

Thank you in advance,

Chandra


Viewing all articles
Browse latest Browse all 2110

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>