Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PL/Sql procedure execution in Crystal Reports?

Status
Not open for further replies.

marek16

IS-IT--Management
Mar 11, 2002
1
EE
Hi all!

We use Oracle Apps 11i, database version Oracle 8.1.7
For selecting certain views, I have to setup organization as an "enviroment" first:

In SQL*Plus it works like this:
a) I need to run script:
SQL> exec dbms_application_info.set_client_info(204)

PL/SQL procedure successfully completed.

b) It is ready to select data:
SQL> select vendor_name
2 from ap_invoices_v
3 where invoice_id = 16217;

VENDOR_NAME
----------------------------------
American Telephone and Telegraph

Question!
How can I run this execution script (exec dbms...) in Crystal Reports???

Marek
 
You can't. Crystal can't handle an Oracle SP calling another SP. You have to duplicate your original SP within the output SP so they are all one.

Lisa
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top