Hi Experts,
Scenario :
Procedure 2 is calling Procedure 1. Procedure 1 is returning a table type which i want to use in Procedure 2 and then Finally need the records in XSJS.
Procedure 1 :
PROCEDURE "Hello"."Features" (IN ID int,OUT TR1 "Hello"."TRACE_RECORD")
LANGUAGE SQLSCRIPT
SQL SECURITY INVOKER
DEFAULT SCHEMA SAP_HPH
AS
BEGIN
--Insert statements
END;
"Hello"."TRACE_RECORD" is a table type.
Procedure 2 :
PROCEDURE "Hello"."Features" (IN LogID int,OUT TR1 "Hello"."TRACE_RECORD")
LANGUAGE SQLSCRIPT
SQL SECURITY INVOKER
DEFAULT SCHEMA SAP_HPH
AS
BEGIN
Call "Hello"."Features" (:ID);
END;
How do i get the table type records from Procedure 2 to procedure 1.?
Thanks.