If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Execute PL/SQL code through Report Studio

Started by Gary, 20 Aug 2015 04:00:45 AM

Previous topic - Next topic

Gary

We need to query Oracle EBS R12 DB through cognos. There are a certain reports in Oracle EBS which user want to migrate to Cognos Application directly querying data to EBS database.

In Oracle EBS MO_GLOBAL.SET_POLICY_CONTEXT (PL/SQL function) , sets the data lever security to execute the Oracle EBS report restricting data on certain parameters. Unless this function is executed one cannot fetch the data .

Is there any possibility to execute that function through RS so that whenever user execute the report in Cognos, data is available.

Thanks
Gary
Gary

:)*Throw Parties Not Grenades*:)

ww55d

It's a bit confusing, but it sounds like you'd like a table of data accessed only if another function is previously executed.

Would a stored procedure be appropriate here, which runs the function then returns the query?


Gary

MO_GLOBAL.SET_POLICY_CONTEXT created row lever restriction  (data security  before user executes report in Oracle EBS.

We are trying to do the same in COGNOS so that we are able to process the same function as customer do not want to spend any effort to rework in cognos.

Any idea how to do the same ?
Gary

:)*Throw Parties Not Grenades*:)

prikala


bdbits

I hate to even tell you how to do it, because using SQL directly in a report though possible, it the antithesis of a proper Cognos implementation. I sincerely hope this is a very limited thing you plan to do, otherwise you might as well look at a different, and likely much cheaper licensing but more elbow grease required, reporting tool.

That said, there is a query property called "Generated SQL". Hit the ellipsis, click on Convert. This will add a SQL object that feeds the query. It in turn has a property SQL Syntax. You can set it to Native (which means Cognos) or Passthrough (which means database SQL).