on ‎2012 Nov 13 9:19 AM
Hi all,
in HANA Studio i am trying to execute a procedure by calling the procedure with overview in order to fill a predefined column table with the procedure result.
Now when executing the procedure I get below error message in Log:
SAP DBTech JDBC: [1301]: numeric or value error: [1301] BIAPPL.CE_SQL_TEST2: line 15 col 2 (at pos 452): SQLException1301 exception
When i execute the same procedure call without passing the table name but NULL it will write it in a temp table where i can read then the data from.
Does anyone else already faced this issue?
BR,
Bastian
Request clarification before answering.
Hi
I think you cant insert a record to the table with HANA procedures.
As far as i believe procedures in HANA are useful only for select statements.
Hope it helps!!!
Regards
vishwatej
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Muruga,
I am not sure what do you mean when you say "call a procedure from Calculation view". The original question was to use a table and insert the data to the table from the result view of a procedure. This should be possible, but does not necessarily need a result view. The data can be inserted to a table inside a procedure.
If the procedure is returning a result view, then I think even that can be used in another procedure to insert the data to a table.
If you are talking about a script based calculation view, then in that case you are right. It is read operation, which means you use SELECT statement in the calculation view.
But I think the original question was related to procedure and did not mention any Calc View.
Regards,
Ravi
Hi Muruga,
Calculation View are read only, you even don't have this option when creating it. And to call a procedure which is readwrite you must call it from outside or for an RW object.
You only have the option to set read write for procedures.
So, my conclusion is that you can't change or call RW procedures from an CV which is read only.
Regards, Fernando Da Rós
Hi Friends,
I am also having the same issue similar to Bastian. I have created a procedure and written a SQL statement to fill my temperory table, I am able to successfully execute my procesure. But when I am calling ,my procedure from SQL editor, it is giving the following error :-
Could not execute 'CALL "_SYS_BIC"."xxx/STEP/PROCESS_STEP"(?)' in 204 ms 62 µs Started: 2013-01-18 18:38:17. SAP DBTech JDBC: [1301]: numeric or value error: [1301] _SYS_BIC.STEP/PROCESS_STEP: line 49 col 3 (at pos 1709): SQLException1301 exception
Thanks in advance.
Siddhartha
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.