Hi All,
I have below requirement. how i should return data.
Requirement
=============
I have procedure which have two input parameter .
1) 1st input parameter is having say name varchar(100) which contain column name of view with comma seperated.
2) 2nd input parameter having view name which can be attribute view or analytical view or calculation view.
In procedure need to return data by selecting column from view. How i should proceed.
For example --- column name of attribute view are "Name","last_name" and attribute view name is AT_PRICE. then in procedure i can write
out=CE_JOIN_VIEW
("_SYS_BIC"."AT_PRICE", ["Name","last_name"
]);
and out table will have column as Name and last_name. But the problem is, my columns are coming in variable and view name are also in a variable. so when we write as
out=CE_JOIN_VIEW
("_SYS_BIC"."table", [colmn]);
it throws error. How i should proceed.
Please help.