Soap API error for reports 5 pages or more
Hi,
I am using soap api to get reports from BI Publisher, I am able to print reports 5 pages, when i try to get reports with pages more than 5 pages getting this error.
[Error] Execution (1: 1):
ORA-06503: PL/SQL: Function returned without value
ORA-06512: at "APEX_040100.WWV_FLOW_WEBSERVICES_API",line 129
I am using the following code snippet, Make request is throwing an error
l_xml := APEX_WEB_SERVICE.make_request(
p_url =>v_rpt_wsdl,
p_action => v_rpt_action,
p_envelope => l_envelope
l_xml is an xmlType
My Apex schema is : APEX_040100
Oracle : 10g
Apex version: Application Express 4.1.1.00.23
Please help me folks
Thanks
Kris
Bummer! Thought that was the golden ticket!
Can you run that function successfully through Toad or SQL Developer for those reports? Does it return a value? It looks like it is telling you that APEX_WEB_SERVICE.MAKE_REQUEST call didn't return anything. You are just requesting xml at that point so there shouldn't (theoretically) be size issues unless maybe you are requesting the whole phone book.
Jen
Similar Messages
-
SOAP API's for Sql Server Analysis Services 2005
Can any one tell me the Latest XMLA SOAP API's necessary for communicating with Sql Server Analysis Services 2005????
i found more option, to allow the program on firewall
Configuring firewall settings for SQL Server Integration Services (SSIS) on Windows 2008 R2
http://databasebestpractices.com/configuring-firewall-settings-sql-server-integration-services-ssis-windows-2008-r2/
Please Mark This As Answer if it helps to solve the issue
Tzuri Ben Ezra | My Certifications:
CompTIA A+ ,Microsoft MCP, MCTS, MCSA, MCITP
|
FaceBook: Tzuri FaceBook | vCard:
Tzuri vCard |
Microsoft ID:
Microsoft Transcript
| -
Api call for "browse pages" popup window?
Hi,
Is there a supported API call for rendering the "browse pages" popup window? The one that appears when you use the "go to page" link.
We used to call wwsbr_explorer.display but this call has changed in 10.1.4 to wwsbr_explorer_ui.display...
Thanks, Tonyclosed !
Please use the other thread. -
Error in check_tableview_all_rows for a page with more than 1 tableview
Hello Gurus,
I have already seen few postings on the same issue but still couldnt find solution to my problem.
I have a page with 3 tableviews. My requirement is to select entries across the 3 tables, change the values and then save all the entried selected across the 3 tableviews and then they should all be unselected again as soon as the save is done.
I managed to do all but when I am using the method shown below in a loop^of that 3 tables or outside the loop onlmy the 3 rd table which is last field in the loop is getting unselected rest all still appears to be in selected state.
cl_htmlb_manager=>check_tableview_all_rows(
rowcount = wa_lines
request = runtime->server->request
id = 'table1'
check = ' ' ).
Could anyone of you help me on this or let me know if anyof you ever faced such issues.
Thanks,
Naveen.Hello Raja,
Thanks for the reply. I am passing on the correct ID.
Whats the problem am facing is I am using this statement in a loop and then I am passing the corresponding ID ...It works but I guess its kind of behaving like over writing the previous.
I also tried using the same statement 3 times separately one after the other with each table id and still its happening the same with only the last table getting unselected and rest being the same as selected.
Thanks for your reply on this as am facing a lot of problem due to this.
Naveen. -
Javascript error for Inserting Pages from a source
Below is a script I wrote that isn't functioning properly on my large 200 page document that I need it to. Granted there might be a much easier way to script this, but I'm no expert. I have a 200 page document that needs to be 600 pages, basically every page needs to be copied twice (and obviously placed right after the original. So I have the original PDF, then I copied that PDF to use as a source document to copy from. (To clarify if I'm not being clear, the first 3 pages would be page 1, 2, 3,... it needs to be: 1,1,1,2,2,2,3,3,3 etc)
var targetpage = 0;
var sourcepage = 0;
while(sourcepage < 199)
this.insertPages({
nPage: targetpage,
cPath: "source.pdf",
nStart: sourcepage,
nEnd: sourcepage
targetpage++;
this.insertPages({
nPage: targetpage,
cPath: "source.pdf",
nStart: sourcepage,
nEnd: sourcepage
sourcepage++;
targetpage=targetpage+2;
It gives me an error that I have no idea means, nor how to correct after only placing a total of 3 pages - so the doc went from 200 to 203 (2 of page 1 as intended, then 1 page of page 2, then for some reason it stops...
InvalidArgsError: Invalid arguments.
Doc.insertPages:9:Batch undefined:Exec
Why is it stopping? And please don't assume I know what I'm doing Thank you.Have you read the Acrobat JS API Reference about the insertPages and the path value and restrictions?
insertPages now needs to use the "privileged context" when not being run as a console or batch event.
Safe path
Acrobat 6.0 introduced the concept of a safe path for JavaScript methods that write data to the local hard drive based on a path passed to it by one of its parameters.
A path cannot point to a system critical folder, for example a root, windows or system directory. A path is also subject to other unspecified tests.
For many methods, the file name must have an extension appropriate to the type of data that is to be saved. Some methods may have a no-overwrite restriction. These additional restrictions are noted in the documentation.
Generally, when a path is judged to be not safe, a NotAllowedError exception is thrown (see Error object) and the method fails. -
Terminated by signal 11 error for reports
Hi,
I observed in internal concurrent manager log is sh: line 71: 3501 Segmentation fault
and like showing the below
========================================================================
Starting PROD_0826@PROD Internal Concurrent Manager -- shell process ID 1081
logfile=/oracle/apps/PROD/prodcomn/admin/log/PROD_oraapps01/PROD_0826.mgr
PRINTER=noprint
mailto=applprod
restart=N
diag=N
sleep=60 (default)
pmon=20 (default)
quesiz=1 (default)
sh: line 71: 1086 Segmentation fault FNDLIBR FND CPMGR "FNDCPMBR sysmgr=\"\" $maxreq $sleep $pmon $quesiz $diag logfile=$logfile $target" <<STOP
$sysmanager
STOP
The PROD_0826@PROD internal concurrent manager has terminated with status 139 - giving up.
========================================================================
Starting PROD_0826@PROD Internal Concurrent Manager -- shell process ID 5471
logfile=/oracle/apps/PROD/prodcomn/admin/log/PROD_oraapps01/PROD_0826.mgr
PRINTER=noprint
mailto=applprod
restart=N
diag=N
sleep=60 (default)
pmon=20 (default)
quesiz=1 (default)
Application Object Library: Concurrent Processing version 11.5
Process monitor session ended : 26-AUG-2011 10:14:41
Process monitor session started : 26-AUG-2011 10:16:41
Found running request 1620562 attached to dead manager process.
Setting request status to completed.
Found dead process: spid=(6657), cpid=(121680), ORA pid=(59), manager=(0/0)
Starting STANDARD Concurrent Manager : 26-AUG-2011 10:16:45
Process monitor session ended : 26-AUG-2011 10:16:45
Process monitor session started : 26-AUG-2011 10:18:45
Process monitor session ended : 26-AUG-2011 10:18:47
than manager are bring down like CM status shows
than we checking the adcmctl.sh status apps/apps
CM status shows ICM status could not be determined.
try to open request log than we are getting error like
'Error connecting to database PROD: ORA-3113' and also all requests completed with errors.
than stop all services here CM failed to stop
/oracle/apps/PROD/prodcomn/admin/scripts/PROD_oraapps01/adcmctl.sh: line 244: 9681 Segmentation fault $FND_TOP/bin/CONCSUB "$unpw" SYSADMIN $WAIT_PARAM 'System Administrator' SYSADMIN CONCURRENT FND SHUTDOWN
[Service Control Execution Report]
The report format is:
<Service> <Script> <Status>
Oracle Apache Server PROD_oraapps01 adapcctl.sh Stopped
OracleTNSListener80APPS_PROD_oraapps01 adalnctl.sh Stopped
OracleConcMgrPROD_oraapps01 adcmctl.sh Failed
OracleFormsServer-Forms60PROD_oraapps01 adfrmctl.sh Stopped
OracleReportServer-Rep60_PROD adrepctl.sh Stopped
Oracle Metrics Client PROD_oraapps01 adfmcctl.sh Stopped
Oracle Metrics Server PROD_oraapps01 adfmsctl.sh Stopped
Oracle Fulfillment Server PROD_oraapps01 jtffmctl.sh Stopped
Oracle Discoverer services PROD_oraapps01 addisctl.sh Stopped
after this again stop the CM by adcmctl stop apps/apps
than it stopped after that start the all services than works fine,after starting services all requests completed with terminated by signal 11 while CM down ,it happens everyday.
everyday midnight we take cold backup by scheduling cronjobs
and also after cloning the ICM did not show the sigmentation fault and in TEST some requests completed with terminated by signal 11
please give me solution for this issue.
Thanks,
mahiMahi,
This appears to be a serious database issue. Unfortunately, there is no simple magical fix I guess. Going through Oracle Support, instead of applying some patch, is the better route, i believe.
To me, it appears more of bug# 3804515. Please check the following:
https://supporthtml.oracle.com/ep/faces/secure/km/DocumentDisplay.jspx?id=3804515.8
You may want to review the following patches too:
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 6945111]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 6661430]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 6666626]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 6682463]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 6729613]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 6931682]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 6661435]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 7303352]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 7303650]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 7350779]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 7466966]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 7555753]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 7611844]
Thanks,
Raj Mareddi -
Open vi error for report generation toolkt
Originally it works fine.
Now I upgrade to win7, LV9 and office2010.
To open the old program by 8.6.1, I reinstalled LV 8.6.1 and report generation toolkit.
But still got the error as attached.
Any suggestion, thanks.
Attachments:
ss.png 184 KB1. MS Office 2010 is not yet supported, since it's still just a beta. I believe there are couple of changes that Microsoft make, and it could cause a problem.
2. LabVIEW 8.6.1, and all its toolkit is not supported on Windows 7. This could cause a problkem also.
In conclusion, you should use LabVIEW 2009, Report Generation Toolkit 2009, Windows 7, and downgrade office to XP, 2003 or 2007.
More information: http://digital.ni.com/public.nsf/allkb/C9408B9F08D711E786256F3300701D01 -
Exe giving error for report generation and LV 8.6.1
I have created and installed a labview application in a PC(windows XP) where labview is not installed. (already included NI_Excel.lvclass)
I have used a report(excel) generation to display the results.
I am getting following error:
Error Code: -2147352573
Member not found in NI_Excel.lvclass:
I am using MS office Excel 2007 SP1
NI LabVIEW Run-Time Engine:8.6.1.
Report generation toolkit version:1.1.3
phani srikanth
Solved!
Go to Solution.
Attachments:
Error.JPG 10 KBsearch the ni website and a 30 day eval copy can be found. For use beyond this period you would have to buy a license (unless you have one of course)
compatibility can be found on the following link
http://digital.ni.com/public.nsf/allkb/C9408B9F08D711E786256F3300701D01
hope it helps
TD
Please remember to accept any solutions and give kudos, Thanks
LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7 -
DUMP ERROR FOR REPORT TO ASSIGN TCODE TO ABAP QUERY
hi friends ..
i did this smallreport by difernet type but its the
error says dump_--report not found or status errror says
maximum session reached ..i think there something wrong in my submit stmt .pls let me know ...
also assign tcode to the report.
DATA:QUERYREPORT LIKE AQADEF-PGNAME,
QUERY LIKE AQADEF-QUNAME,
USERGROUP LIKE AQADEF-BGNAME,
WORKSPACE LIKE AQADEF-WSID.
query = 'zskview'.
usergroup = 'zskgrp'.
workspace = ''.
get name of queryreport
CALL FUNCTION 'RSAQ_REPORT_NAME'
EXPORTING
WORKSPACE = workspace
USERGROUP = usergroup
QUERY = query
IMPORTING
REPORTNAME = QUERYREPORT
EXCEPTIONS
OTHERS = 0.
SUBMIT (QUERYREPORT)
VIA SELECTION-SCREEN
USING SELECTION-SETS OF PROGRAM QUERYREPORT
AND RETURN.HI farukh,
1. The program u have written
is for running DYNAMIC query,
(given the query name)
2. In debugging,
chck the value of the variable
queryreport
after the FM is executed.
3. It will contain the program name (of the corersponding query)
in the following format (eg)
AQFKzskgrp======ZAMQ01========
4. Open another se38,
and CHECK whether this program exists or not!
5. If it does not,
a)either the QUERY NAME is not correct,
b) either the user group is not correct,
c) either the query is deleted / not generated .
regards,
amit m. -
Big Fat error for each page!
I'm hoping somebody here has my magic answer. Both my daughter and I were given 30g iPods for Christmas. It's now almost March and they are still sitting here unused. I am on Windows XP. I can't even install iTunes of any version. It downloads and when I run it, a message pops up that says:
"installshield"
And then under that is a message that says
"command line parameters:
/L Language ID /S Hide initialization dialog For silent mode use /S/v/qn.
/v parameters to msi.exec.exe
/UA <url to instMsiA.exe>
/UW <url to instMsiW.exe>
/UM <url to msi package>
And under all that jibberish, it has the button to push "ok" You do so and nothing more happens.
I've been told to remove any old attempts at installing itunes or quicktime before and I did so. I tried downloading an older version of iTunes but that gives the exact same message.
Basically, I've got over $500 worth of useless electronics here and two unhappy frustrated music lovers
Please help if you can. I would be eternally grateful!
Win All Windows XP ProOkay, I followed your directions to a "t". The first things didn't work so I went back through the process of repeating all the clean up steps. Then I went to apple.com to get the quicktime alone and I downloaded it and when I went to install it, this popped up:
Windows ® Installer. V 3.01.4000.1823
msiexec /Option <Required Parameter> [Optional Parameter]
Install Options
</package | /i> <Product.msi>
Installs or configures a product
/a <Product.msi>
Administrative install - Installs a product on the network
/j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>]
Advertises a product - m to all users, u to current user
</uninstall | /x> <Product.msi | ProductCode>
Uninstalls the product
Display Options
/quiet
Quiet mode, no user interaction
/passive
Unattended mode - progress bar only
/q[n|b|r|f]
Sets user interface level
n - No UI
b - Basic UI
r - Reduced UI
f - Full UI (default)
/help
Help information
Restart Options
/norestart
Do not restart after the installation is complete
/promptrestart
Prompts the user for restart if necessary
/forcerestart
Always restart the computer after installation
Logging Options
/l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile>
i - Status messages
w - Nonfatal warnings
e - All error messages
a - Start up of actions
r - Action-specific records
u - User requests
c - Initial UI parameters
m - Out-of-memory or fatal exit information
o - Out-of-disk-space messages
p - Terminal properties
v - Verbose output
x - Extra debugging information
+ - Append to existing log file
! - Flush each line to the log
* - Log all information, except for v and x options
/log <LogFile>
Equivalent of /l* <LogFile>
Update Options
/update <Update1.msp>[;Update2.msp]
Applies update(s)
/uninstall <PatchCodeGuid>[;Update2.msp] /package <Product.msi | ProductCode>
Remove update(s) for a product
Repair Options
/f[p|e|c|m|s|o|d|a|u|v] <Product.msi | ProductCode>
Repairs a product
p - only if file is missing
o - if file is missing or an older version is installed (default)
e - if file is missing or an equal or older version is installed
d - if file is missing or a different version is installed
c - if file is missing or checksum does not match the calculated value
a - forces all files to be reinstalled
u - all required user-specific registry entries (default)
m - all required computer-specific registry entries (default)
s - all existing shortcuts (default)
v - runs from source and recaches local package
Setting Public Properties
[PROPERTY=PropertyValue]
Consult the Windows ® Installer SDK for additional documentation on the
command line syntax.
Copyright © Microsoft Corporation. All rights reserved.
Portions of this software are based in part on the work of the Independent JPEG Group.
Now I'm not a computer techie like some people are, but that still sounds like there is still something left on my computer of an old install. The only other thing I can tell you is that although there is no msi folder, there are plenty of files that have msi in them when I do a search of my "c" drive. But I realize that not all of them are necessarily related to quicktime or iTunes.
Any more ideas anyone?
Thanks in advance for trying to help me figure this out!
Stephanie -
I am running reports 6i on Win 98 ,when i try to cretae a report using wizard, checking preferences ,occasionally
this error pop up and reports aborted.Error message is
"RWBLD60 this program has performed an illegal operation and will shut down if the problem persists contact the program vendor" getting frustrated unable to do reports.Any help for this.
Thanks
Jay* Please apply the latest 6i patchset and try (which will contain latest bug fixes).
* Please post the exact steps required to reproduce the problem. In that case either a bug fix patch or a workaround
can be provided if this is a known issue.
Thanks
Ratheesh -
How can I call a Page Process from the Select statement for Report Page
I'm able to call a javascript using the below:
img src="#IMAGE_PREFIX#add2.gif" border="0" alt="Icon 4" onClick="javascript:add_connect1('||CPORT.ID||')"
But Now,
I'd like to accomplish (2) New things:
1. instead of using,....... onClick="javascript:add_connect1,
I'd like to call a Page Process, onClick=
2. I'd like to be able to call two different processes onClick.
a. onClick="javascript:passBack('||ID||')"
b. onClick= <Please see my question #1 above>
Can someone please help me with the syntax for this,
If indeed it can even be done?
Thanks- GaryGreg.
It seems that my situation is the one you describe in you second paragraph, where you mention:
you could then add the ID column value as a parameter to the javascript functionBut,
I do not know how to reference the variable in my javascript nor how to use it in my on-demand process.
If you can hellp me past this last little bump, then I think I will be able to use these skills in Sooo many different areas of my design.
Here's what I've got so far:
A. In the select statement I identify the javascript as:
onClick="javascript:connect_port('<font color=blue>''||ID||''</font>')";
B. In my javascript I have this:
<script language="JavaScript" type="text/javascript">
function connect_port(ID)
var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=CONNECT_PORT',0);
gReturn = get.get();
get = null;
</script>
C. In my on demand function I have this:
BEGIN
INSERT INTO CCONNECTIONS_B
BLDG_ID,CLST_ID,PORT_ID,STRAND_ID
) VALUES
:P2004_BLDG_ID,:P2004_CLST_ID,:P2004_PORT_ID,:P2004_STRAND_ID1
END;
You can see that I dont know how to use the value for 'ID' in either the javascript or the On-Process function.
If you can help me out with this one, Then I can imitate it for the rest.
-Gary
Edited by: garyNboston on Apr 3, 2009 6:44 AM
Edited by: garyNboston on Apr 3, 2009 6:44 AM
Edited by: garyNboston on Apr 3, 2009 6:45 AM
Edited by: garyNboston on Apr 3, 2009 6:47 AM -
When loading pages, new sites off of Google new for instance, I notice that the page takes a very long time to load while analytics load for google, facebook, advertisers, etc, in the bottom left of the screen. It seems to have gotten much much worse in the last couple of years. The pages load MUCH faster with javascript disabled. But too many other web functions require javascripting to leave it off permanently.
Would a Firefox add-on help speed things up a bit by blocking tracking/analytics? Would it disrupt too much other content/service?
Thanks.NoScript extension: <br />
https://addons.mozilla.org/en-US/firefox/addon/722 <br />
http://noscript.net/
It is a royal pain to use until you get it setup for all your commonly visited website - there's a steep learning curve with NoScript, but I wouldn't surf without it.
If you are not already blocking advertisements, you might want to consider AdblockPlus and a good filterset. <br />
AdblockPlus <br />
https://addons.mozilla.org/firefox/1865/ <br />
Also, read this: <br />
http://adblockplus.org/en/getting_started
I keep a default version of Firefox installed to refer to so I don't forget what the average user has to deal with, when I am doing "support". It really irks me when web page loading is delayed while waiting for a a slow "ad server" to decide which advertisement it is going to load for me for that web page visit. -
Source Code error for Report Shipping
Hello,
This is regarding Report Shipping.
As per SAP Report Shipping Implementation Guide
for 4.1Settings for the SD Interface: Shipping Docu-ments
Under Environment, Health & Safety> Product Safety> Report Shipping> Basic Settings for Shipping from SD Documents> Material Safety Data Sheet/Sales and Distribution Interface> Settings for the SD Interface: Shipping Documents> Output Determination--> Check Conditions.. it should be like below
Routine number: <26>
Description: Environmentally rlvt
Active: X (set)
Application: V2
Source code:
FORM KOBED_<Key>.
SY-SUBRC = 0.
CHECK KOMPB V2 -KZUMW IS INITIAL.
SY-SUBRC = 4.
ENDFORM.
FORM KOBEV_<Key>.
SY-SUBRC = 0.
CHECK KOMPB V2 -KZUMW IS INITIAL.
SY-SUBRC = 4.
ENDFORM
on the other had, i have check 2-3 standard Systems,
same for Settings for the SD Interface: Shipping Documents> Output Determination> Check Conditions..
it is like below
Routine number: <26>
Description: Environmentally rlvt
Active: X (set)
Application: V1
Source code:
FORM KOBED_<Key>.
SY-SUBRC = 0.
CHECK KOMPB V1 -KZUMW IS INITIAL.
SY-SUBRC = 4.
ENDFORM.
FORM KOBEV_<Key>.
SY-SUBRC = 0.
CHECK KOMPB V1 -KZUMW IS INITIAL.
SY-SUBRC = 4.
ENDFORM
so which one is Correct? Implementation Guide or Standard Setting of System.
Please guide me.
Edited by: Amol Joshi on Dec 29, 2010 4:42 PMHi Amol.
Both are correct.
The MSDS can be send with the sales order (V1) or with the delivery (V2), it depends of the logistic process configured in the system.
In SD the delivery may or may not be configured.
If the delivery is configured selects V2, in the other cases V1.
Regards.
JCD -
Query Best Practice for Reports
I am new to Apex and I am wondering what is the best practice for store your sql quries for reports. I am a believer of storing all sql behind pacakge functions or procedures. And it looks like the only options for report pages are to use a direct SQL query, or a function that returns a query as a string. Yes the function method counts as putting the code in Oracle but not really. It is still getting compiled and parsed on the Apex side. It would be nice if Apex could handle a cursor but I have read that it doesn't directly. You have to have a function that returns a cursor and then create a pipelined function that calls the cursor function. That is kind of silly. Is there some other way to do this?
Apex 4.2
Oracle 11.2.0.2
Thanks for any input.
JeffHi Jeff,
I'm not necessarily a believer in packaging queries. I'm a little more pragmatic in that I believe it may make sense in environments where you have a client environment that just expects a result set that is then manipulated by the client for the purposes of presentation, pagination etc. Apex has a different architecture in that the client is purely an HTML presentation layer (browser) and the presentation, pagination etc is formulated in the database along with the data using the Oracle web toolkit, which is a set of internal packages that produce HTML. Note that handling and manipulating ref cursors inside PL/SQL is not a joy, they were mainly designed to be passed out to external clients. (Often to shield programmers who don't or won't even try to understand relational concepts)
This means that when you create a report based on a query, the Apex engine will manipulate that base query, depending on the display requirements and pagination requirements of your report, before it submits that query to the database for execution. To get an idea of how this manipulation occurs, you can run your report in debug mode and check the actual query that is submitted to the database. If the query is presented as an already executed ref cursor, then the Apex engine can't execute in the way that it does. As you have already found out, the only way of using packaged queries returning ref cursors is by the use of a pipelined function, so that the Apex engine can treat the result as a normal query.
This is the architecture of Apex, and I suspect that re-engineering the Apex engine to handle ref cursors natively, as opposed to using a pipelining trick, would be a considerable change. I hope this at least helps to explain why ref cursors and Apex don't mix. I personally don't see the purpose of having an abstraction layer of packaged queries below an abstraction layer of an API such as Apex. SQL is a perfectly good API.
Regards
Andre
Maybe you are looking for
-
how can i delete my credit card on my apple account? i lost my card so i can't use it and because of that i can't use my account to update or download apps plz help me asap
-
File History split 1 gig file in to 5 200 meg files, and I can't find how to restore this file
I setup file restore on a Windows 8 computer. Backed up all the files to a NAS. Wiped and reloaded 8.1 pro and did a file restore. All of my files, except one large file, restored. The file that didn't was a 1 gig TrueCrypt (VeraCrypt) file in the ro
-
Digital signatures and inbound documents
Hello all, is it possible to import document previously digitaly signed in another system. Scenario will be to have another (partner) system in which user create document with digital sign. This document is transfered to SAP R/3 with digital sign, an
-
Hi, my icloud has been working fine until the last days. First im trying to sync some Textedit documents to my other imac, but isnt working, it just says waiting in the document, but it never saves. I have a program that uses icloud to sync documents
-
Cannot join tables used in the workbook. Join "" not found in the EUL
Does anybody have any idea on this error? We are getting it from our new server. We exported and inported the EUL from the old server. Thanks, Dave