Академический Документы
Профессиональный Документы
Культура Документы
Sign In / Register
Thread: How to query apps views Guest Settings
Search
FAQ
Reply to this Search Back to Thread
Thread Forum List
Sin
a
Posts: 63
Registered: 11/30/07
In apps database i have came across many views that are only accessible by forms and
built in reports. i have tried many ways to query these views but no success. i have
even logged in as System and tried to query these views but no luck. does anybody
know how i can query these views or what environment variable should i have for these
views to work? for example try this view or any of its subviews
apps.ap_invoice_distributions_v
Aviad
http://Oracle-Apps-DBA.blogspot.com
R's
Anmol
Posts: 300 I'd tried it in Apps 11i and it worked but in Oracle Apps R12.0.4 and it didn't work. Any
Registered: 11/08/05 other solution? Thanks.
begin
fnd_global.apps_initialize(1154, 20678, 222);
end;
and :
begin
dbms_application_info.set_client_info('88');
end;
and :
call fnd_client_info.set_org_context(88);
begin
dbms_application_info.set_client_info('88');
end;
then I could see results of the select query. In R12 if I use oracle apps it showed me the
view such as in receivables > transactions > transactions but if I query from sql
developer it didn't show me any record from ra_customer_trx_partial_v using :
call fnd_client_info.set_org_context(88);
If I tried using :
begin
fnd_global.apps_initialize(1154, 20678, 222);
end;
or :
begin
dbms_application_info.set_client_info('88');
end;
* & - + ; / at for mod remainder rem <and exponent (**)> and or groups having
intersect minus order start union where connect || multiset
Posts: 11 I know this question it's a bit old, but this could be of some help.
Registered: 10/03/08
In R.12, you have to initialize the user and use the mo_global package.
begin
fnd_global.apps_initialize(p_user_id, p_resp_id, p_resp_appl_id);
mo_global.init (p_appl_short_name);
end;
Posts: 1
Thanks - found exactly what I needed in 2011. Never too
Registered: 12/18/07