Assuming you've got the correct database, and "wpart" has been compiled successfully, what should make it different from other procedures that do appear in the list.
With regard to the Vortag error, this is one of the few times an Oracle error message is actually specific enough to be helpful. It suggests that Vortag has not been declared or may actually be another object - like a function.
Compile wpart, refresh the Data Explorer list, and reconnect the report.
how can i compile wpart?
So far I implemented the command file. In the command file i start the sql-query with sqlloader. Is this correct?
Is it a *.sql or a prc file?
I don't really know why you're trying to execute your stored procedure with SQLoader. SQLoader is only used for loading data into tables. Think of it as a glorified "INSERT INTO" or "SELECT INTO" command.
Because you're going to be directly querying your stored procedure, you don't need to sweat SQLoader at all. By all means, do use SQLoader if you have to query a table instead of a stored procedure, but can only source the data from wpart's output. But I think that's putting an extra - and ultimately unnecessary - step into the equation.
In whatever Oracle tool you're using, you'll find a Compile option in one of your menus. Use it to compile wpart. This basically commits the procedure to your inventory of stored procedures.
Then, when you check out the Data Explorer in Crystal Reports, wpart will be right there.
You might want to try executing this procedure successfully in an Oracle environment before you give it to Crystal, because it looks as if you still have a few things the procedure would like you to iron out here.
Your error is occuring because Oracle thinks that SYSTEM.WPART is an invalid name. That is to say, it thinks that this object has been altered, dropped, replaced, or attributed to SYSTEM when, in fact, the stored procedure belongs to another user.
There is also the possibility that whatever user you are connecting Crystal to Oracle with does not have the permissions to do what you're trying to do with WPART. I'm not sure if this last one should be the case if you can see the stored proc in the Data Explorer, but just to be safe, make sure.
Open an Oracle session as your Crystal user, and try to execute SYSTEM.WPART - actually referring to it like that; OWNER.WPART. When you can execute that successfully, then try connecting in Crystal again.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.