Create Procedure (Select and Call Procedure)
Hi Team, I am creating a procedure that collect a select in a variable and send it to another procedure as parameter. But in the loop(FOR) I am getting some troubles, I have to set a role with a...
View ArticleIssue with debugging of catalog schemas procedure
Hi all,we’ve encountered an issue with debugging of catalog schemas procedure. We create a sample procedure in Development system:PROCEDURE"SAPEMP"."D00_DS_GENERAL.TEST::DEBUG_TEST" ( outoutputINTEGER...
View ArticleSelect a Specific Row in a table
Hi, I am doing a select in a procedure with a cursor, I would to know If I could do the same select without using a cursor. The code is this: CodePROCEDURE "DOUGLAS"."tmp.douglas.yahoo::testando" ( )...
View ArticleHow to consume HANA calculation views from a different ABAP system?
Hello, I have an ABAP-only system and a HANA-only system. I would like to consume from a report in the first system (ABAP-only system) calculation views located in HANA-only system. How can I do it?...
View ArticleScalar Output Parameter for Repository Stored Procedures
Hi, I want to use dynamic security in my analytic privileges. This works fine as long as I use the IN operator to restrict my values as IN requires a stored procedure that returns at table with exactly...
View ArticleHANA REPLICATION DOUBT
I assume we can bring in data from ECC to Hana. Can it be replicated both ways.For example changes in KNA1 in ECC will be replicated to Hana and then when we change KNA1 in Hana, can it be replicated...
View ArticleOne sequence for several tables
Hi,I need to use ONE sequence in the create statement for several tables (it's a partner solution, where we just want to replace the exising DB in the first step). I created a sequence:CREATE SEQUENCE...
View ArticlePopulating temp table from result of procedure
So I am trying to create a procedure with the following logic.Split a delimited string into a (temp) tableIterate the above table to perform an action with each row value. The Split function I have is...
View ArticleSAP HANA Data Compression calculation
Hi All, I have a single gender column table with 1 billion values with exactly 2 distinct values (MALE, FEMA). create columntable T (GENDER char(4)) According to my understanding of the Nbit...
View ArticleAnalytical View - Substring function and Other functions.
Hello All I am trying to use substring and trim function for a value/string and get the field value from position 6 - 10. in analytical view. Example: Field name XYZ (Values showing as: ASDFG...
View ArticleError in DATA perview of Attribute views (JDBC)
Hi Experts, Error Executing Query: SAP DBTech JDBC: [258] (at 69): insufficient privilege: Not authorized: line 1 col 70 (at pos 69) Any idea on how to overcome this Error. What authorization am i...
View ArticleCan not insert data from temp table (XSJS and PAL)
Hi! I'm having an issue with a code I've been working on! I have a SQL code which runs perfectly in the HANA SQL Console. I need that code to be dynamic so I put it on an XSJS service. (Still haven't...
View ArticleConsume HANA models via OData
Hi, we are implementing an HANA sidecar scenario, so we are using SLT to replicate some tables from ECC to HANA DB.In the context of this project we are also implementing some SAPUI5 applications using...
View ArticleNot able to test XS services ( XSODATA, XSJS)
Hi Experts I am not able to test any XS services like XSODATA , XSJS The objects are correctly activated but when I am trying to run the XSJS or XSODTA a notepad is getting opened every time and a...
View ArticleComment code in HANA studio.
Hi, How to comment group of lines together in HANA studio? For single line I used to do -- before any statement. I want to comment multiple lines together. BRSumeet
View ArticleHow to get logged in User Role in XSJS?
Hi, Like $.session.getUsername() gives us the user name of the logged in user, is there a way we can get the user role of the user? Thanks,Prabhjot
View ArticleSending Automatic Emails from sap hana
Hi All I was working on sending emails from SAP hana. If we are sending emails from outlook account, do we have to do any configuration in our outlook account ?Because I am unable to see the mails in...
View ArticleWhat editions of SAP HANA exist?
We are considering to deploy SAP HANA in our enterprise. Unfortunately I haven't found all possible editions of HANA. Here: Hana Editions I found 3 editions:SAP HANA appliance software PLATFORM...
View ArticleChanging the default schema of a HANA user?
Hi, I need to change the default schema of a HANA database user; however, I cannot use the JDBC parameter currentschema because the frontend product cannot parse the currentschema string. I'm wondering...
View Article