Working with Rev. 56.
This is in fact the part of my script using the function to_int.
var_out = CE_PROJECTION(:USR,["ID",
"SALES_REP_ID__C",
CE_CALC('to_int("SALES_REP_ID__C")',integer) as"X"
]);
Little confused, becasue i think using the function to_int is the correct way. But now even the validation ends up whit the following error message:
Attribute 'to_int' is missing in node $$VAR_OUT$$.nnnSet Schema DDL statement: set schema "SALESFORCE"nType DDL
In all other cases wheneven I use something else than to_int the validation is alway okay, but the error message i'm getting when performing a Data Preview (validation is okay) is:
Error: SAP
DBTech JDBC: [339]: invalid number:
[6930] attribute value is not a number;Error executing physical plan:
attribute value is not a number;in executor::Executor in cube:
STEFANR:_SYS_CE_$REQUEST$_popid_2_51CA06E2D3271024E10000000A66BB6B_176: calcEngine search on olapIndex failed.
Guess the syntax is correct.
What i saw was that my original input column is not of the type varchar, but of type nvarchar. Would that make a difference?
Grz,
Stefan