Re: Unable to Debug SQL Script Procedure Step by Step
Hello Rohit, there is no "step-wise" debugging available. The debugger stops only on set break-points. Check documentation Debug Design-Time and Catalog Procedures - SAP HANA Developer Guide for SAP...
View ArticleRe: Hana Cursor Issue: Not able to use declared variable name "CardName"...
Hi Everyone, From the above code is just want to test whether i can use declared variable in WHERE clause of SELECT statement of CURSOR in HANA or not. We all know we can do all such stuff in sql and i...
View ArticleRe: Realtime Analytics in HANA Studio
Hi Frank, The Requirements,We could not make it in Analytic / Calculation Views, We usually go for Stored Procedures.Then, We call Stored Procedures from Scripted Calculation View. Give me some Problem...
View ArticleRe: Reg: Parameter Value help text not appearing
Hi Krishna, Thanks for your time, no it still doesn't works for me. I will try to explain my view in below steps. Step1: Inner Join between Purchase order Item and Header table (EKPO and EKKO)....
View ArticleRe: Want to calculate the total number of days excluding holidays and...
Hi Vaibhav, Are you using BW on HANA system?Then you can find the TFACS Table in <SAPSID> schema. If You are not using BW on HANA system,For Holiday List, You have to Prepare the Holiday List in...
View ArticleRe: How to perform a join depending on a condition in graphical calculation view
What kind of Condition you are having? If you share the details, we can answer better
View ArticleRe: if condition error in HANA
If you are trying to the below : CASE WHEN "Severity" NOT IN ('Emergency','High','Medium') THEN 'Outstanding' ELSE "Severity"Then the equivalent IF condition would be as below:...
View ArticleRe: Error on UNION ALL in HANA PROCEDURE - exception 71000274
Looks like more column data type errors with UNION statement. Did you check the sequence and data types of the columns from both the table variables are matching? Also the error value, can you...
View Articlesyntax error for dynamic column for update query
Hi Experts, Please check following query. i have incorporated it in my store procedure. EXEC 'update TBL_M set '||:COL_NAME||' = '||:R."W_QTY"||'where WID ='||:R."W1"; i am getting following error....
View ArticleRe: SQL privilege consumption in Repository role
Hi Florian, I have used below statement to create SQl privilege. Create STRUCTURED PRIVILEGE ZANPSQL_MM_MATRL_RESERV_ALL FORSELECT ON "_SYS_BIC"."NEXTGEN_P001.MM/CV_MM_S_MATERIAL_RESERVATION_QUERY"...
View ArticleRe: syntax error for dynamic column for update query
Hello Umesh, in front of the where clause a blank is missing to separate the value set in the column from the word "where" (-> ... || ' where WID = ' || :R."W1";). In case your column types are...
View ArticleRe: SQL privilege consumption in Repository role
Your syntax is correct. Can you check if the privilege exists (select * from structured_privileges where structured_privilege_name = ...). And one additional question: Why do you not create the...
View ArticleRe: SQL privilege consumption in Repository role
Hi Florian,I Checked with the query it is there in the table.I know only one way to create a privilege in Repository which is analytic privilege, under modeling node.But I am using scripted view and...
View ArticleRe: Reg: Parameter Value help text not appearing
Hi All, I was able to resolve the issue.Initially I was assigning the value help view at the parameter level and also at the field semantic level highlighted below. Though I was assigning the same view...
View ArticleRe: Unable to register Adapter with Agent - SAP Hana Data Provisioning...
Hello Jamie, I am getting the same error while registering the OraclelogReader Adapter in SDI. Could you please explain the path and steps where you loaded the ojdbc.jar file to resolve this issue....
View ArticleHANA Developer mode import error: Error while saving object: Repository:...
Hi Experts: In my team one person imported the HANA views in Quality system.Then other person tried to import the latest development in the same package. On import activity we get below error: Message...
View ArticleCan you alter a column name from lowercase to upper in Virtual table
I would like to change column names in a virtual table (from Hadoop) from lowercase to uppercase. If it is possible, could you please provide syntax.
View ArticleRe: syntax error for dynamic column for update query
Hi Floriran, Thanks for your reply. For learning purpose, i have created following SP. create procedure USP_TEST()asbegin declare var_name varchar(10) := 'UMESH'; exec ' "select" '||:var_name||'...
View ArticleRe: syntax error for dynamic column for update query
Hi, you do not have to enclose the whole statement in double quotes. What I meant and described is for the case that your values set and compared against the columns are character based that they...
View ArticleRe: $.ajax, success function is not returning data
you can debug this service by copying the url to the browser... see if you get the response. once you get the correct response. you can also see network tab on the developer tools and see if it shows...
View Article