xsjs sql query fails
Hi there, I am currently playing around with the HANA Development Studio in Eclipse. I created my own Databasetable in my own Scheme:ZHemp.ZHempXSProject::ZHempMaterial Now I am trying to query data...
View ArticleAnnotations in HANA CDS View based OData Service
Hi, I'm using an XSODATA Service on top of several HANA CDS Views. Is it somehow possible to define annotations like "sap:text", "sap:aggregation-role", "sap:unit" in the View/XSODATA in order to...
View ArticlePassing parameters from UNIX to HANA
Hello All, Can anyone tell me if there is an equivalent to Oracle's &1 parameter for HANA? I'm trying to pass some parameters when calling a procedure in HANA from UNIX so that we can run it from a...
View ArticleSend value from outer to inner Calculation View
HiI want to pass a value from the outer calculation view to a filter (on a cloumn) within the inner calculation view, both the views being of graphic type. The value is to be hard-coded in the outer...
View ArticleGetting the SQL Script behind a Graphical Calculation View
I want to see the SQL script that is generated when I run my graphical calculation. By this I do not mean the select statement that extracts data from the view, but the statement that gets data from...
View ArticleHow to use CURRENT_TIMESTAMP function in hdbtable
Anyone can hint me what is the correct syntax to set dedault value of a timestamp field to current time?table.columns = [ { name = "TIMESTAMP"; sqlType = TIMESTAMP; nullable = false;...
View ArticleReg: HANA In-Memory and Backup recovery
Hi All, I have question on HANA backup recovery. Could you please provide your inputs. HANA stores all data IN-Memory and also does a back of data to disk on a regular interval.Let's assume I have 10...
View ArticleUnsupported encoding ISO-8859-1 for the...
All, I am trying to create a Application Project under SAPUI5 Application Development, choosing library sap.ui.commons and development paradigm as JavaScript. So far everything looks good. Using SAP...
View ArticleHow does the CONTAINS Predicate work?
Where can I find more information about the CONTAINS Predicate? This is what I found so far, but it only describes the usage:CONTAINS Predicate - SAP HANA SQL and System Views Reference - SAP...
View ArticleXSDS (XS data services) API
gurus, I would like to know if anyone has a URL or other reference to use XSDS. the issues i am facing are: 1) how to do a join of 2+ tables ( only using aggregation??? )2) how to compare a value (I am...
View Articlecalling procedure inside the calcview
Hi all, we have a procedure written inside the calc view which works fine when we call from SQL consoe. When we try to run the job it is throwing error at the point of calling the procedure Below is...
View Articlecall a procedure with table type output parameter in mybatis
Hi All,I am trying to call a procedure in mybatis, and this procedure has one output parameter of table variable. Detail info is below. 1.Table type and procedurecreate type testType as table(id int,...
View ArticleHow to implement AMDP class using "alter".
Hi Gurus! I will implement AMDP class for adding identity to HANA user.Can AMDP class use "alter" ? I want to use below sql in AMDP class."alter user <User-ID> add identity <identity...
View ArticleCDS View on custom type: Sub artifact not found
Hello, a simple view in a .hdbdd file as follows. Activation always comes up with error: "Sub artifact HISTORY not found in MD.Products". namespace ndw_app1.generated; @Schema: 'MEISERM' context...
View ArticleHana Security hide models to BObj but allow user access to the data
Is it possible some way to create models in HANA that we hide from BObj so no Reports can be written directly off these models? However these models would be used in Query models that would be visible...
View Articlemore Primary Keys for a table
Hi All, I have a requirement as below. The Number of columns in a HANA table is 110 and 9 fields combined can make the record unique. Is is a good idea to make the 9 fields as primary keys. What will...
View ArticleINSERT to virtual table fails
Hi all,is there any restriction on the INSERT statement to virtual tables? When I insert with the VALUES clause, it works, but when I try to insert with a subquery like INSERT INTO vv SELECT * FROM t;...
View ArticleHow to call an SQL Script Calculation view from a Graphical Calculation view?
I have created a calview in SQL script. Now I want to call it from an existing Graphical calview just like how you would call a calview from another, using a node. Is it possible and if so, how?
View ArticleError on importing schema from B1
Hi, I'm trying to export and import a B1 schema in different installations. So from the ground I'm exporting a schema from Hana Studio and trying to import into another installation. The versions of...
View Articleforeign key referring to same table is not supported..
Hi Everyone, Trying to create a foreign key referring to the primary key of same table. But prompted with, feature not supported: cannot create foreign key constraint referring to the same table.Is it...
View Article