on 04-25-2013 7:22 AM
Dear experts,
I had written a SQL script in a procedure and called it. It gives me the expected results. when i copy the same code to a scripted calculation view and assifn the final result to var-out and preview the data. it returns zero rows.
What could be the reason behind this strange behaviour?
Thanks,
Rajesh.
Hi Rajesh,
Unless you give some details of your problem, it will be difficult to all in helping you.
At-least could you give the in and out parameters of the procedure and their data type, if you could get the chance.
Regards
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is very confusing - your original post was
"when i copy the same code to a scripted calculation view and assifn the final result to var-out and preview the data. it returns zero rows."
Now you say
"The procedure that i had created doesnt have any input or output parameters."
What exactly were you assigning to var_out since the procedure is not going to return any results? I'm with Raj on this one - your issue or scenario is not laid out clearly enough for us to assist.
Regards,
Justin
When i try to call the procedure i get the following error
SAP DBTech JDBC: [1281]: wrong number or types of parameters in call: VAR_OUT is not bound:
i havent used any input parameters in the calculation view.
Thanks,
Rajesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
If you get a chance, Please attach the screenshot .
Thanks
Basha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
Happens same thing if you call the calculation view?
Give a try:
call "_SYS_BIC"."packagename/yourcalculationviewname/proc"(?);
Regards, Fernando Da Rós
----
Complementing:
Also compare the runtime code of your procedure which you can found inside catalog -> procedures on schema _SYS_BIC. Remind that your Calculation will have a procedure ended with /proc
Regards, Fernando Da Rós
Message was edited by: Fernando Ros
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.