I have a stored procedure which takes table type as input and insert data in a table
---
PROCEDURE "C"."abcd.procedures::InsertResData" ( IN resourcelist "abcd.procedures.ResourceT",out error "abcd.data:abcd.procedures.tt_error" )
LANGUAGE SQLSCRIPT
SQL SECURITY INVOKER abc
--DEFAULT SCHEMA <default_schema_name>
AS
BEGIN
---some insert logic-
END
----
Now I have exposed the SP using XSODATA so that UI can consume it.
------
service namespace "abcd.hana.service"{
"abcd.views/Resourceview.attributeview" as "resourceitem"
key("RESOURCE_ID")
create using "abcd.procedures::InsertResData";
}
--
Question: How can I pass array of input records to XSODATA. from UI? Is it supported?
I could test with single record (JSON input) but could not test with multiple records
Please help me on this if you have some expert opinion
Regards,
Apoorv