Is there a restriction on using SRW.RUN_REPORT per session
I am running a driver report which in turn calls the detail report using SRW.RUN_REPORT package. The driver report eventually fails with a core dump after calling the detail report for 999 times. It doesn't matter how big the report is as I've tried it with a very simple report which outputs sysdate in a file.
Any ideas? Where to look for and what to change so that it can run the report using SRW.RUN_REPORT package more than 999 times.
Thanks.
Please reply to: [email protected]
I found the answer, Xcelsius 2008 SP3 is not supported on Windows Server 2008.
Before trying to use more products please check the supported platforms for all products. For example you can see in Xcelsius documentation that SAP Business Objects Xcelsius 2008 SP3 is not supported on Windows Server 2008. This means that, even if BPC 7.5M supports Windows Server 2008, it is not possible to use both BPC 7.5M and Xcelsius 2008 SP3 on a Windows Server 2008.
Similar Messages
-
Is there any restriction to use ora:getFaultAsString() ??
Hi All,
I am using Jdev and SOA 11.1.1.2
I have a process and in that I am using a transforation.
I have tested below scenarios:
1) We have a dateconversion function, and i passed in correct value to that function so it got faulted and throws subLanguage Exception.
2)I have given wrong DVM name, so again it got faulted and throws subLanguage Exception.
3)I defined an XSL variable and used that in another template without passing, so it got faulted and throws subLanguage Exception.
4)I used a substring function without giving starting and ending indexes..so it got faulted and throws subLanguage Exception.
I have a catchAll and in that i am sending notification and in that notification i am using conact('CustomInfo',ora:getFaultAsString())
I found that except in 4th scenario in all scenarios ora:getFaultAsString() is returning null .(Even for 1,2,3, scenarios it is giving javax.xml.transform.TransformerException and for 4th scenario itis giving Fatal Error)
I am giving errors returned below
SubString Error(Successful)
<bpelFault>
<faultType>
<message>0</message>
</faultType>
<subLanguageExecutionFault>
<part name="summary">
<summary>XPath expression failed to execute.
An error occurs while processing the XPath expression; the expression is
ora:processXSLT('xsl/TransformSiebelOrderABMToTransportationOrder.xsl',bpws:getVariableData('receiveSiebelOrderABM_Consume_Message_InputVariable','body')).
The XPath expression failed to execute; the reason was: XML-22900: (Fatal Error) An internal error condition occurred..
Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
</summary>
</part>
<part name="code">
<code>XPathExecutionError</code>
</part>
</subLanguageExecutionFault>
</bpelFault>
DVM Error
<bpelFault>
<faultType>
<message>0</message>
</faultType>
<subLanguageExecutionFault>
<part name="summary">
<summary>XPath expression failed to execute.
An error occurs while processing the XPath expression; the expression is
ora:processXSLT('xsl/TransformSiebelOrderABMToTransportationOrder.xsl',bpws:getVariableData('receiveSiebelOrderABM_Consume_Message_InputVariable','body')).
The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: <Line 441,
Column 233>: XML-22044: (Error) Extension function error: Error invoking 'lookupValue':'oracle.tip.dvm.exception.DVMValidationException:
Unable to locate DVM "oramds:/deployed-composites/ZDVM_STOP_TYPE_rev1.1/STOP_TYPE.dvm"
The Exception is "MDS-00013: no metadata found for metadata object "/deployed-composites/ZDVM_STOP_TYPE_rev1.1/STOP_TYPE.dvm""
Please ensure the DVM exists at the location specified.'.
Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
</summary>
</part>
<part name="code">
<code>XPathExecutionError</code>
</part>
</subLanguageExecutionFault>
</bpelFault>
Date Format Error
<bpelFault>
<faultType>
<message>0</message>
</faultType>
<subLanguageExecutionFault>
<part name="summary">
<summary>XPath expression failed to execute.
An error occurs while processing the XPath expression; the expression is
ora:processXSLT('xsl/TransformSiebelOrderABMToTransportationOrder.xsl',bpws:getVariableData('receiveSiebelOrderABM_Consume_Message_InputVariable','body')).
The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: <Line 135,
Column 196>: XML-22044: (Error) Extension function error: Error invoking 'convertFormattedDttmToXSDDttm':'java.text.ParseException:
Unparseable date: "10/17/201114:52:25"'.
Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </summary>
</part>
<part name="code">
<code>XPathExecutionError</code>
</part>
</subLanguageExecutionFault>
</bpelFault>
When a XSL variable is out of scope
<bpelFault>
<faultType>
<message>0</message>
</faultType>
<subLanguageExecutionFault>
<part name="summary">
<summary>XPath expression failed to execute.
An error occurs while processing the XPath expression; the expression is
ora:processXSLT('xsl/TransformSiebelOrderABMToTransportationOrder.xsl',bpws:getVariableData('receiveSiebelOrderABM_Consume_Message_InputVariable','body')).
The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException:
<Line 52, Column 50>: XML-22031: (Error) Variable not defined: 'Param'..
Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </summary>
</part>
<part name="code">
<code>XPathExecutionError</code>
</part>
</subLanguageExecutionFault>
</bpelFault>Is there any restriction to use ora:getFaultAsString()
Please guide me
Regards
PavanKumar.MHi Pavan ,
We frequently observe the following error in our logs:
<Feb 11, 2011 11:12:50 AM CET> <Error> <oracle.soa.bpel.engine.xml> <BEA-000000> <BPEL1AssignWMP
ORABPEL-09500
XPath expression failed to execute.
An error occurs while processing the XPath expression; the expression is ora:processXSLT('xsl/Xform_CustomerPartyListABMReqMsg_to_CustomerPartyEBMReqMsg.xsl',bpws:getVariableData('SyncCustomerPartyListReqMsg','SyncCustomerPartyList'),bpws:getVariableData('params')).
The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: <Line 15, Column 98>: XML-22031: (Error) Variable not defined: 'endIndex'..
Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
Can you please share ..how you resolved it?
Regards,
Shagufta
Edited by: 830719 on Feb 11, 2011 2:34 AM -
Hide URL using srw.run_report
I called a report from a form 10g using RUN_REPORT_OBJECT which hides url.
Now i called a report with in report using srw.run_report which shows hole url in the browser.
I want to hide url.Can I use this build it to run itself? I mean in your case run report A?
our report is launched from servelet. because of some security issues, I would like to use this built in to change it to command line after user enter all the parameters through the parameter form.
thanks. -
How to use srw.run_report without userid parameter in 10g
I have the following function which works fine when I supply the userid parameter.
Is it possible to run srw.run_report without the userid? If not is there another way to run a batch report to create a file?
create or replace
FUNCTION SUNRESDS(vopersorjudicial varchar2)
RETURN VARCHAR2 as
myPlist SRW_PARAMLIST;
myIdent SRW.Job_Ident;
BEGIN
myPlist := SRW_PARAMLIST(SRW_PARAMETER('',''));
srw.add_parameter(myPlist,'GATEWAY','http://xxx.xx.xxx.xx/reports/rwservlet');
srw.add_parameter(myPlist,'SERVER','rep_172_FRHome1');
srw.add_parameter(myPlist,'REPORT','d:\oracle\FRHome_1\forms\sunresds.jsp');
srw.add_parameter(myPlist,'USERID','username/password@databasename');
srw.add_parameter(myPlist,'DESTYPE','file');
srw.add_parameter(myPlist,'DESFORMAT','PDF');
srw.add_parameter(myPlist,'popersorjudicial',vopersorjudicial);
srw.add_parameter(myPlist,'DESNAME','d:\Reports\unresolved_discrepancies.pdf');
myIdent := srw.run_report(myPlist);
return 'Y';
EXCEPTION
when others then
return ('sunresds ' || sqlerrm);
END;Did you solve your problem? How did you do?
-
Using srw.run_report in report server
Dear all,
I'm running a report (report A) on the report server and after it is running (printing output on screen), I need to run report B at the background and save the output of report B to the file system. In the report A's After Report Trigger, I have a srw.run_report function, the syntax is: srw.run_report('server='||v_serverName||' report='||v_reportName||' batch=yes destype=file desname=/tmp/output.pdf desformat=pdf p_startdate=''12-JUN-2003'' p_enddate=''14-JUN-2003'''). When I run the above syntax (without the server name part) in report builder, it works fine. But I couldn't get it working on the report server. Each time report A runs, report B couldn't be run at all (no job id was given or scheduled). Could anyone give me an idea on whether srw.run_report could be used in the report server?
Many thanks for your urgent help.
RoseCan I use this build it to run itself? I mean in your case run report A?
our report is launched from servelet. because of some security issues, I would like to use this built in to change it to command line after user enter all the parameters through the parameter form.
thanks. -
I have one report "analyse" that calls another report "pdf".
In "analyse" i have a function pdf_rep:
FUNCTION PDF_Rep(c_proevenummer varchar2) RETURN boolean IS
msg char(150);
BEGIN
SRW.Run_Report
('BATCH=YES
REPORT=PDF
DESTYPE=file
DESFORMAT=PDF
desname=test1.pdf
p_proevenummer='||(c_proevenummer) );
return(true);
exception
when srw.run_report_failure then
msg := srw.geterr_run;
srw.message(1,'err msg: '||msg);
return(false);
END;
This function is called from BeforeReport-trigger. (or AfterParameterForm-trigger)
The "pdf" query:
select proevenummer
from View_Analyse
where proevenummer= :p_proevenummer;
The "pdf" report is run and a test1.pdf file is made BUT the where-clause is NOT performed.
What do i do wrong ?Hello,
If you copy the parameters displayed by srw.message and create a BAT file with these parameters
and rwrun60 :
rwrun60 <the paremeters displayed by srw.message>
Does the report run correctly ?
Regards -
Are there any restrictions for using "ø, æ, å" letters?
My App name is "Loekken". I have native "Løkken" name at description, but I can't find my application by using "Løkken" keyword. Search result doesn't contain my App. What is wrong?
hi,
My requirement is to add a tab with 8 additional fields at header & line item levels both in me21n.Since u have already implemented i wuld be very grateful if u culd give me guidelines as how to proceed & whts steps shuld be followed.this is the first time iam implementing BAdis so your help will be highly appreciated.
thnx & rgds.
Ive copied the sample code for badi 'Me_gui_po_cust' in the 'Interface' of BADI.but i cant see anything on screen.
how the badi will get called when trx ME21n is executed.
Message was edited by:
abapuser -
how do I keep peace in the house when using giftcards? we have 3 ipod touches on one account, is there a way for each child to use cards without having to share the amount gifted to them?
The Card is redeemed to the Apple ID.
On a different Tact... Have a look here...
setting-up-multiple-ios-devices-for-messages-and-facetime.html -
With a document open password - is there a way to ask only once per session?
Here's my scenario: User is reading a "password to open" document that contains links to other web pages, etc. The user clicks on a link, goes to the new page, then uses the back button/back key to return to the password protected document, where they must type in the password to open again, and must do this every time they click a link then later attempt to return to the document.
Is there a way around the repeated retyping / reentering / rekeying the password? (My guess is no, but I'll ask anyway). The user did type in their password, most of the time just a minute or two earlier, before they clicked on the link in the password protected document.
P.S. I have a couple other questions, indirectly related (byproducts) to this general topic. I'll post those in their appropriate forum, then edit this post with links to those posts. FYI, the other posts are/will be:
Is there a better way than manually adjusting each and every link in a document to use javascript and repeating that process each time the document is updated, to make links open in new windows, (when viewing a pdf from within a browser window). [Edit: here's that link: http://forums.adobe.com/message/5055202#5055202 ]
Is there a way from an html page or from something within a PDF document (at the discretion of the document's author) to open a pdf in the acrobat reader window instead of in the browser, without asking each user to change their reader settings? [Edit: I ended up asking this question in the same post listed above]Once the instance of Acrobat or Reader containing a password-protected PDF file has been closed, you can't avoid having to re-enter the password. If the links don't target a new tab or window, then the browser will unload the plugin - and aside from changing all the link targets, you can't prevent that.
-
Reports 11gR2 SRW.Run_Report gets REP-1428 error
I have several driver reports that use the SRW.RUN_REPORT package to run other reports. These reports were working fine in 10g but when moved to 11gR2 I get a REP-1428 error. Anyone know what is happening?
Hi to all!
I was used srw.run_report in reports 6i and I got the same error. I found out that the file that it was looking for can't be found.... Try to check the destination of the file if it exist.
- i hope this helps you...
I encountered the same problem the second time but this time i was using web to call my report that contain srw.run_report function. I tried to look at the destination of the file and it's right there. What could be the possible reason for this error?
thanks!... -
Srw.run_report problem. Help needed...Urgent
Hi,
I am very new to Oracle Reports. I need some help in using the srw.run_report
I am having two reports. Rep_A and Rep_B
I will always invoke the Rep_A first...Rep_B should always be invoked in Rep_A
In Rep_A, i need to check a parameter P_Param1 and based upon the value i need to proceed as follows
If P_Param1 = 1 then
--Rep_A should be generated and returned as stream(cache)
--Rep_B shouldnt be invoked
If P_Param1 = 2 then
--Rep_B should be generated and returned as stream.
--Rep_A should not be generated
If P_Param1 = 3 then
--Rep_A and Rep_B should be generated and returned as stream
--(Rep_A followed by Rep_B)
If P_Param1 = 4 then
--Rep_A and Rep_B should be generated and saved as files in a specified location.(this location is in another machine)
This is my requirement. I hope I am clear with my requirement.
How can we achieve these.
Are there any technical issues?
Please guide me
thanks...
sivaHi all,
just to keep this thread active.
can anyone help me in using srw.run_report.
its an urgent requirement.
thanks...
siva -
FUNCTION IS NOT WORKING WHEN RUN IN SRW.RUN_REPORT, URGENT
Hi,
I have a report. it has got 1 Query and 2 groups.
Q1
|
|
__G1__
|F1 |
|F2 |
|F3 |
|
|
|
__G2__
|Items|
|Sales|
| Qty|
|Store|
|Func4|
|Func5|
|Func6|
The Query looks like above. Now In the report I have a 3 User parameters . For Each record in G2 the functions Func4,Func5 and Func6 adds the value to the user parameters at the report level.
Now the Func1,Func2,Func3 takes the value of last 4 record for each item at each G1 Level and devides it by 4 and prints . As an example given below
ITEMS-----SALES-------QTY-----------STORE
10001-----10000-------200-------------100
10001-----20000-------500-------------200
10001-----15000-------350-------------175
10001-----45000-------650-------------225
10001-----50000-------700-------------300
AVERAGE==>32500-------550-------------225 ==> Calculated by F1,F2,F3
20001-----70000-------900-------------400
20001-----30000-------600-------------350
20001-----20000-------500-------------300
20001-----25000-------450-------------275
20001-----35000-------550-------------225
20001-----65000-------800-------------400
AVERAGE==>36250-------650-------------300 ==> Avg of last 4 records
This report takes an parameter which is part of the Where condition of the Query Q1. If I run this report from the report builder and provide the value for the parameter then the report runs fine printing the exact values. If I run the report from another report(which I have to do, due to circumstances) using SRW.Run_Report and pass the parameter in the same command. The the function FUNC4, FUNC5, FUNC6 does not do the addition, as a result the Func1,Func2,Func3 returns 0. I dont know why this is happenning .
This is very very URGENT, My project manager is on my head to finish it ASAP. Please help.
Thanks
FerozHi Toby and Danny,
Thanks for the quick reply. I dont think I am having an interdependancy of the functions. Here is an sample what two functions do at each level
Func6 =========> This function at group level G2
begin
-- To initialize the user parameter for each new item.
If :CNT = 1 Then
:Wk4_Pos_Qty := 0;
End If;
-- to add the qty value to the user parameter for last 4 records. Uchange is the no of records for each item
If :CNT >= :UCHANGE - 3 Then
:Wk4_Pos_Qty := :Wk4_Pos_Qty + :Qty;
End If;
return 0;
end;
Func3 ======> this function at group level G1
Begin
-- if no of records are less than 4 then devide by the no of records or devide by 4.
If :UChange < 4 Then
return((:Wk4_Pos_Qty + :Qty) / :UChange);
Else
return((:Wk4_Pos_Qty + :Qty)/ 4);
End If;
end;
Here Wk4_Pos_Qty is the User parameter created to hold the calue for the Um of last 4 records Qty.
I tried to modify the Func3 so that it looks like this
Func3
begin
srw.reference(:Wk4_Pos_Qty);
If :UChange < 4 Then
return((:Wk4_Pos_Qty + :Qty) / :UChange);
Else
return((:Wk4_Pos_Qty + :Qty)/ 4);
End If;
end;
But it does not effect anything. I mean its the same. The Wk4_Pos_Qty returns 0 and Func3 returns 0.
Any Suggestions .
Thanks
Feroz -
Error while running SRW.RUN_REPORT
Hi All,
I have requirement where i need to generate multiple reports with single request.
I have created to sample tables test1 and test2 with two columns each.I have created a paper report using first table and saved it as test.rdf in my c: drive and I created the second report using second table and with in Before Report Trigger i called the first report using srw.run_report('report = c:\test1.rdf desformat=screen'); .
When I ran the second report its showing an error messg REP-1428 :Error while running SRW.RUN_REPORT.
Can any one help me to resolve this issue.
Regard
Srinivas PusaWhy can't you use two queries (one for test1 and another for test2) and create many pages (reports) one report? srq.run_report is avoided completely.
-
Doubt in srw.run_report
hi all,
i tried to call one report from other using srw.run_report,the below code is working fine
but i give destype=screen or preview then its getting error.im using report 10g.
how to use this?
function BeforeReport return boolean is
begin
srw.run_report('batch=yes report=e:\REP\CALL_REPORT\emp.rdf
destype=file desformat=PDF desname=e:\REP\CALL_REPORT\emp2.PDF');
return (TRUE);
end;srw.run_report package may not be used in webservice. It does fit to server/client application.
-
Srw.run_report problem
Hi all,
i'm trying to run a report inside another report using srw.run_report routine, but i get the following error:
REP-0110: Impossible to open file 'app/OA11i/NOCE/software.ds/noceappl/xxene/11.5.0/reports/I/XXENE_PROPACCPDRNOINT.rdf'
the full command that i use is: srw.run_report('report=app/OA11i/NOCE/software.ds/noceappl/xxene/11.5.0/reports/I/XXENE_PROPACCPDRNOINT.rdf desname=DL006345.pdf destype=file desformat=pdf batch=yes P_PDR_ID=10015 P_DATA_ATTIVAZIONE=20-FEB-07 P_USE_SITE=LEGAL');
Thanks for the help,
bye
SimonaHello Simona,
Below is the definition of the error you are getting:
Cause: Report Builder tried to open the file shown and could not. The possible causes of this error include the following:
Case 1: The file was not found under the specified name in the specified location.
Case 2: You lacked the necessary privileges to open the file.
Case 3: A system error made it impossible to open the file.
Action: You can take the following actions to correct this error:
If Case 1: Make sure the file is stored in the specified directory under the specified name. If it is not, change the directory and/or filename as appropriate.
If Case 2: Make sure that you have the privileges necessary to open the file. If you do not, change your privileges accordingly.
If Case 3: Consult your operating system documentation or contact your system administrator.Hope this helps.
-Marilyn
Maybe you are looking for
-
How can I connect Cinema Display to Macbook?
I just bought a Mini-DVI to VGA adapter to connect my Macbook to my Cinema Display 23", but I am realizing this adapter is probably not what I need as the Cinema HD Display has a different, larger connector that doesn't match the other end of my adap
-
Terrible printing issues with HP Office Jet Prop 8500
Printer is printing sloppily and some lines unreadible. We did every aspect of cleaning c artridges and alighments, nothing hass changed. We use only GENUJINE ink cartridges and even switched one out. Printing just as bad. What else do we need to
-
Using Aperture as external editor for iPhoto
Hi all, I could be classed as a "keen amatuer" I suppose. I import all my photos into iPhoto, and use it to publish photos to the web for family / friends. I then import the "best" photos into Aperture so I can work my "magic". I've recently returned
-
Can I make SQL*Plus output more readable like this ?
Version : 11.2 Can I make sql results more readbale like below using SqlPlus ? ie. enclosing result columns neatly in a table like structure. +------------+------------+ | department | Avg Salary | +------------+------------+ | Finance | 63863.247
-
I have worked in CT04 transaction. In that if we specify the character type (Eg . Characetr Foramt) & enter the number of characetrs as 3 means in value tab it wont allow as to enter value greater than 3. It wont show any error message but it restric