Hi experts,
I'm looking for a sample, how to use UDFs (table function) within calc views.
I try to use an udf table function within a calculation view as a datasource but don't get it activated.
error:
Repository: Encountered an error in repository runtime extension;Model inconsistency. Could not derive table type for variable "_SYS_SS2_RETURN_VAR_" (SQL error: index out of bounds: PersistVector index out of bound)
If I select the udf directly in a sql statement it works as expected.
select * from "TBASE_PUBLIC"."development......functions::get_labor_by_patid"(3161,'','');
The table type is a cds .hdbdd artifact. Could this be a reason for the error?
Thanks for your help!