I have tried the following:
FUNCTION "mySchema"."myFunction" ( )
RETURNS TABLE ( "SAPR3"."TCURR" )
LANGUAGE SQLSCRIPT
SQL SECURITY INVOKER AS
BEGIN
/*****************************
Write your function logic
*****************************/
END;
and various derivations thereof, but activation fails with the syntax error "Syntax error in table function object: incorrect syntax near ".": line 13 col 26 (at pos 475)" and I cannot find anything which works.
Any suggestions out there?