从OBIEE 12c仪表板向OBIEE 12c rpd中的存储过程传递参数 [英] Passing parameters to stored procedure in OBIEE 12c rpd from OBIEE 12c dashboard

查看:87
本文介绍了从OBIEE 12c仪表板向OBIEE 12c rpd中的存储过程传递参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用存储过程创建OBIEE报告.我已经在SQL Developer中创建了一个函数,该函数接受一个参数并将refCursor作为输出返回.

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.

然后,将以下查询设置为rpd物理层中的默认初始化字符串:从表中选择*(pipelined_emp(HR_DATA.GETCURSORS(parameter)))

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 .同时,我希望将OBIEE仪表板中的值(类似于提示)传递给rpd物理层中的该函数.

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.

谢谢!

推荐答案

是.RPD中的会话变量由前端请求变量写入: https://gerardnico.com/wiki/dat/obiee/obis/request_variable

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

这篇关于从OBIEE 12c仪表板向OBIEE 12c rpd中的存储过程传递参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆