Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Viewing Data in Oracle Apps Tables
You have to run a procedure within the FND_LOGIN (forget the actual package
name) package to "register" yourself as part of an "organization" within
your Apps "multi-org" system. This package calls the
DBMS_APPLICATION_INFO.SET_CLIENT_INFO procedure to embed your ORG_ID in the
CLIENT_INFO column of your session in V$SESSION. Nowadays, the VPD
functionality and the DBMS_SESSION.SET_CONTEXT procedure is used. Check
MetaLink for references to FND_LOGIN...
If you want, query the contents of CLIENT_INFO in other sessions and set your session's value using:
SQL> exec dbms_application_info.set_client_info('<org-id-value>');
Actually, if I recall correctly there is some blank-padding in there, so be careful!
This is the precursor to the DBMS_RLS functionality introduced to the RDBMS product in Oracle8i, one example of functionality that was first developed in Oracle Apps and then pushed into the RDBMS...
Hi All,
I'm using Oracle Apps 11.0.28 Database Version 8.0.5
When I query the Data using Application Forms I can view the data. When I
see
the record information it shows me the view name which is in APPS schema.
When I query the view from SQL*PLUS or any other tool, it gives me 'NO ROWS
FOUND'
This is from Oracle 11 Architecture Manual:
"Oracle Applications forms and concurrent programs always access database
objects from within the Oracle Applications environment. If you use a tool
like SQL*Plus to connect directly to an Oracle Applications schema, the
values returned by the view through SQL*Plus may be different from those
returned by an Oracle Applications form or concurrent program. For example,
when accessed within the Oracle Applications environment, some views
reference profile options at different levels. When accessed directly from
SQL*Plus, views reference only the site-level value of the profile option."
And this is also mentioned in the same document:
"In case you want to create a schema with read-only access to applications
data......... Grant access on objects to the user schema from the APPS
schema, not from a base product schema."
Now my questions are:
I have to create a seperate application for reporting summaries of critical information to the management. What access should I give to the application schema - Read only access on Objects directly or through APPS schema?
Regards
Naveen
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Naveen Nahata INET: naveen_nahata_at_mindtree.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Tim Gorman INET: Tim_at_SageLogix.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Aug 21 2002 - 02:03:21 CDT