Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Debugger not showing output in SP09

$
0
0


Hi,

 

I have written a test procedure using development perspective. (I think only procedures created via development perspective can be debugged, kindly correct if I am wrong).

 

Procedure is as below -

 

 

 

PROCEDURE"A"."A::get_product_sales_price_st"

 

 

(INproductidNVARCHAR(10),

 

 

OUTout_tttable (prodidnvarchar(10), pricedecimal(15,2))

 

 

)

 

 

       LANGUAGESQLSCRIPT

 

 

       SQLSECURITYINVOKER

 

 

       --DEFAULT SCHEMA
<default_schema_name>

 

 

       READSSQLDATAAS

 

 

BEGIN

 

 

/*****************************

 

 

       Write
your procedure logic

 

 

*****************************/

 

 

declarev_l1nvarchar(2) := :productid;

 

 

 

 

 

out_tt = select :v_l1asprodid, 1.5 aspricefromdummy;

 

 

 

 

 

END;

 

 

When I call this procedure in SQL console, I can see the output.

 

 

call "A"."A::get_product_sales_price_st"('A',?)

 

Capture.JPG

 

But when I debug procedure in debug perspective, it shows me values of input parameters, but NOT of Output.

 

Capture.JPG

 

Capture.JPG

 

Any idea, why debugger not showing value of out_tt and why it is terminating at the end?

 

Thanks for the reply.

 

Best Regards,

Saurabh


Viewing all articles
Browse latest Browse all 5653

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>