Passing parameters to stored procedure in OBIEE 12c rpd from OBIEE 12c dashboard

大憨熊 提交于 2020-05-30 04:24:21

问题


I am trying to create an OBIEE report using stored procedures. I have created a function in SQL Developer which takes a parameter and returns refCursor as output.

I, then, set the following query as default initialization string in physical layer of rpd: Select * from table(pipelined_emp(HR_DATA.GETCURSORS(parameter)))

GETCURSORS(parameter) is my function.

For now, in place of parameter, I am passing a constant value. While, I wish to pass a value from the OBIEE dashboard, similar to a prompt, to this function in the physical layer of rpd.

Thanks!


回答1:


Yes. Session variables in the RPD being written into by front-end request variables: https://gerardnico.com/wiki/dat/obiee/obis/request_variable



来源:https://stackoverflow.com/questions/44923952/passing-parameters-to-stored-procedure-in-obiee-12c-rpd-from-obiee-12c-dashboard

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!