Re: Insert values from array - XSJS
Thanks Rajkumar, But I need it with 1. The new XSJS SPS9 DB interface2. Using Batch update Nehal.
View ArticleRe: Insert values from array - XSJS
Yes this can be done with the new $.hdb interface. There is no need for a dedicated batch function. If you look at the executeUpdate function in the API you will see that it accepts an Array for the...
View ArticleRe: How to get the max value for Shipment in graphical calculation view
Why don't you just use an aggregation?
View ArticleMultiple Value in Single Input Parameter SQL Script Calculation View using IN...
Hello, I have a scenario to pass multiple values to one single input parameter to calculation view and inside this suppose to use IN operator to get the records from table dynamically, I wrote the CV,...
View ArticleHow to get the last inserted Id for auto-generated column?
I have a table with an auto-generated primary key. I am connecting an ORM using ODBC and want the autogenerated id returned as part of the INSERT statement execution. Does HANA support this? What is...
View ArticleIs there a HANA Table that Tracks User Logins?
Hi, I want to create a table that tracks the number of times a user has logged into my HANA system by user ID. I have seen that the P_USERS table tracks the last incorrect login attempt by user, but...
View ArticleUnable to Consume HANA CDS Views in Calculation Models
Hello, I have created a simple HANA CDS View as below. After I activate it I can preview the data and I can see this view is available SAPDEV schema (see screenshot). namespace WCB_CDS; @Schema:...
View ArticleSAP HANA Cloud Platform connect to SAP HANA Studio?
New to HANA and attempting to accomplish what I thought was a simple task: Spin up a HANA instance in the SAP HANA Cloud Platform, then connect using SAP HANA Studio (client install). But it appears...
View Articleslt error
I created a new table ZSLTSALES in ECC and replicated in data provisioning using the LOAD method. When i want to do the data preview it gives me below authorization error.
View ArticleRe: SAP Hana cloud app privileges
Hi Justas, You should write the command like: GRANT SELECT ON SCHEMA "Schema name" TO _SYS_REPO WITH GRANT OPTION; I think it will work, because on my system this query is working.
View ArticleRe: SAP Hana cloud app privileges
Hi Oliver, You should write the command like:GRANT SELECT ON SCHEMA "Schema name" TO _SYS_REPO WITH GRANT OPTION; I think it will work, because on my system this query is working.Thanks &...
View ArticleRe: Reposritory Schema access to _sys_repo
Hi Thomas, I have created the schema via hdbschema so _sys_repo should have access to it but I cannot see it under Object Privileges tab for this user. I tried activating the hdbschema file many time...
View ArticleRe: hdbtable - creation/alter scripts
Hi Raaj, you just have to add your additional column to your .hdtable file. During the activation the additional column will be added to the existing table. Consider that all columns will be added at...
View ArticleRe: Developer Generated Function in Calculated Column
Ok, for your example you could just create a calculated column in a graphical calcview. More generally it's possible to use UDFs in scripted calc. views. - Lars
View ArticleRe: Reposritory Schema access to _sys_repo
You don't have to assign anything to _SYS_REPO. That use owns all objects created via the repository. Your not authorized error has nothing to do with _SYS_REPO. The user you are logged in as needs...
View ArticleHow to add with service layer a ContactEmployee into a BusinessPartner?
I know the following HttpRequest can insert a Business Partner: POST localhost:8000/BusinessPartners {"CardCode": "c1","CardName": "customer c1","CardType": "cCustomer"} But I need to add a...
View ArticleRe: HANA - read & write data to third party Oracle DB
Hi Harikrishna, do note that what you guys have done is actually not officially supported by SAP.You should not connect the Database supporting an SAP application instance directly through the DB layer...
View ArticleRe: How to get the max value for Shipment in graphical calculation view
I'm assuming each shipment has a shipping date column, right?If so, just aggregate the shipments by max(shipping date), grouping by delivery id.
View ArticleRe: RE: Numeric overflow error in SAP HANA while loading the data to hana.
Hi , I have been facing with the below error while trying to load the Flat file data into SAP HANA. Loading Batch wise. Error: "Numeric Overflow" The file that contains data of above 12 lakhs records....
View Article