Thanks for your help, but that document is not helpful.
I tried to create a stored procedure to READONLY type associated with a VIEW, but does not support Dynamic SQL.
Error message: SAP DBTech JDBC: [7]: feature not supported: Dynamic SQL is not supported in the READ ONLY procedure/function
I also tested with a function, but it also supports Dynamic SQL
ERROR Message: SAP DBTech JDBC: [7]: feature not supported: Dynamic SQL is not supported in the READ ONLY procedure/function
I also tested with CE function, but the table variable not supports.
table_ = CE_COLUMN_TABLE(:TableName);