Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get data from one Procedure output table SQL SCRIPT in HANA

0 Kudos

Hi Experts,

I have create one procedure it is getting result:- two internal table, based on both internal table i wan to create new internal table by using SQL SCRIPT, by doing this want to put all load in data base layer.

Example:-

method get_sale by database procedure for hdb language sqlscript options read-only using ZCL_AMDP_NESTED_SALES_PROC=>get_f_sale_data ZCL_AMDP_NESTED_SALES_PROC=>get_f_deli_data .

et_sale = select * from "ZCL_AMDP_NESTED_SALES_PROC=>GET_F_SALE_DATA"( iv_vbeln => :iv_vbeln );

et_deli = select * from "ZCL_AMDP_NESTED_SALES_PROC=>GET_F_DELI_DATA" (iv_vbeln => :iv_vbeln );

Need HERE

endmethod.

0 REPLIES 0