Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

"XS Procedures API" -> Calling Procedures with Arguments that Reference an Existing Table

$
0
0

Hi,

 

I try to get familiar with "XS Procedures API" (SPS09).

 

 

http://help.sap.com/hana/SAP_HANA_Developer_Guide_for_SAP_HANA_Web_Workbench_en.pdf

"Calling Procedures with Arguments that Reference an Existing Table"

 

"The WITH OVERVIEW expression also allows you to write the results of a procedure into a global temporary table; that is, a table that is truncated at session close. To use XS Procedures to write the results of a procedure into a global temporary table, you do not specify a name for the result table; you include an empty string (''), as illustrated in the following example:

var conn = $.db.getConnection(); resCall = getRating(rating, 3, '', conn); // {"RESULT": [{"variable":"RESULT","table":"\"SCHEMA\". \"RESULT_5270ECB8F7061B7EE10000000A379516\""}]} "

 

My question is how can I query the temporary table, after I called the Procedures.

If I debug the procedures I can see the entries of the table (ex_value). But  how can I see the entries of the global temporary table?

 

Does anyone has a simple example, where I can check the steps after calling a procedures?

 

Thanks for your help,

Dirk


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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