Concat Distinct rows into a single string
Hi, In my table I have rows like this Table Name : Test Name-----------------------samkhansunsam My query Select string_agg(Name,',') from Test Output sam,khan,sun,sam But it is giving Duplicate values...
View ArticleXSoData Post error treatment
Hi All, I'm trying to bulk post to an OData service and for some reason, the posting is failling. I know that in the http return, I already have a description regarding the error message, but is...
View Articlecannot get the data provider outline
I was trying to create a analytical view in SAP HANA with the help of following guide. https://images.experiencesaphana.com/modeling-data/working-hana-modeller/creating-analytic-views/ I could not open...
View ArticleHANA Instr function to check for numbers?
Hi, I am trying to create a calculated column to check the validity of another field for the presence of numbers in the string. For example Partner Tel_number Valid 1 1flowers...
View ArticleHANA SQL Sub Query - Unique Record
I have a sub query question on VBAP & VBEP.I want to get a unique record for my sub query based on the below criteria.Appreciate any help on sql subquery. 1) Sort the data by VBELN,POSNR ASC &...
View ArticleHANA Trial - XS Application not available in Project Explorere
Hello Experts, I'm completly new in SAP Hana development and I'd like to have a first look. So is startet with some tutorials. I did following: 1) created a hana trial...
View ArticlePersistence Layer
can any one explain about what is Persistence Layer and write a head LOGS, Shadow Paging Save Point Thanks for your Responce
View ArticleCall stored procedure from server side javascript
Hi there, I'm using the following server side js to call a procedure from an xs-appication: var body = '';var conn = $.db.getConnection();var cst = conn.prepareCall('{CALL...
View ArticleConnecting JS and HANA Tables
Hi ExpertsI have written a HTML-Javascript code that return LinkedIN Profile details in JSON format.Now i want to add those data into my table. Should i convert them into XSJS type if so can you guide...
View ArticleSQL Server and HANA - Query with parameters
Hi!I have a Calculation Views with input parameters. If I execute a query from HANA Studio, it works OK! But if I try to do the same query from SQL-server, it doesn´t recognize that parameters.Do you...
View Articlereset_by on hdbsequence artifact
I use sequences to generate keys for my tables. I am trying to use the reset_by clause in my hdbsequence file. It is my understanding that if you use the reset_by clause, it will reset the sequence...
View ArticleHow to Transport Hana Studio developments Calculation, Atribute and Analytc...
Hi Gurus, How toTransportdevelopments DEV ->QAS->PRD in Hana Studio for Analytc, Atribute and Calculation View ?thaks !
View ArticleComplex logistic regression models in HANA PAL
Hi, I am trying to perform a logistic regression with SAP HANA PAL (without using an R server!!) and would need your help on two questions: 1.) Is there any possibility to add interaction terms to the...
View ArticleExport to Excel in XS Project
Hi, I want to export data from a table to excel in xs project. Please help me.
View ArticleAnalytical view error :name clash among columns,
Hi, While i am creating analytical view, in datafoundation i am using certain tables like EKPO, EKKO and in logical view i am joining this data foundation to my attribute views. Problem i am facing...
View ArticleInput Parameters in Scripted Calculation Views
Hi All! Why are input parameters restricted in scripted calculation views? I mean the following: 1) Mandatory: They must be mandatory.2) Single Values: No multiple values are possible.3) Default values...
View ArticleHEX String to INTEGER conversion
Hi, I would like to convert a hex string representation to the corresponding INTEGER value. I've tried: select cast(hextobin('A') as int) from dummy;which yields: Could not execute 'select...
View Articlecant see variables in hana stored procedures debug mode
Hi we cant see the variables while debugging the hana stored procedurescould any one let us know if we miss anything here thanks
View ArticleFetching data from real hana tables using XSJS.
Hi Guys, I have this code of creation of Hana XS Application. $.response.contentType = "text/html";var output = "Hello, " + $.session.getUsername() + " <br><br>";var conn =...
View ArticleSAP HANA & PHP
Hi,do you know please how can I access SAP HANA with PHP? I've tried with:$conn = odbc_connect("???","???","???", SQL_CUR_USE_ODBC); ich have got:Warning: odbc_connect() [function.odbc-connect]: SQL...
View Article