Call to predefined Report Query for PDF download does nothing
I am trying to download a PDF report which is based upon 2 queries. Each query has a where clause with values taken from page items. I have installed OBI Publisher 11.1.1.5 and used the OBI Publisher 11.1.1.5 Word plug-in to create the RTF file that I then uploaded to the Shared Components->Report Layout.
I created a new region button to call the Report Query. However, whenever I click on the button to download the PDF, nothing happens. I have looked at the debug and the button appears to be executing OK, except that nothing happens.
The APEX to OBIP configuration is working since I am able to have OBIP generate other report PDFs that aren't using the predefined query. Stated a bit differently, reports regions that have the Print Attributes set to "Enable Report Printing=Yes" and "Report Layout=Default Report Layout" work fine. Reports based upon the predefined query and launched using a region button do not do anything.
Environment: APEX 4.1, DB 11.2.0.2, OBIP 11.1.1.5
Any help with this PDF issue is greatly appreciated.
Thanks,
Reid
Thank you again for your reply, Udo.
Here are my responses:
* As a matter of fact, I am doing a copy / paste from the predefined query to the report region source.
** What exactly do you mean by that? Don't you print the actual region?
I need to produce a PDF that is the compilation of 4-5 queries. Therefore, I cannot print a region to PDF since APEX (as far as I know) does not allow for the printing of multiple regions (1 query per region) to a single PDF file. So, I am creating a PDF that is based upon multiple queries which I predefine in the shared components -> report queries. Then, I'm creating a region button that calls a downloadable report when it is clicked.
Your question has made me realize that indeed it doesn't matter what query I have in the report region since I am calling a predefined report. When nothing was happening when I attempted to generate the PDF, I guess I started to think that the problem was with the queries on the page and so I made them match exactly with what the queries are in the shared components->report queries.
Please advise if something is wrong with my understanding here.
I checked the OBI Publisher logs (at least what I could locate) and I didn't see anything show up there.
/u02/app/ohs/obip_mw/user_projects/domains/bifoundation_domain/servers/AdminServer/logs
I checked the OHS access_log and I didn't see anything that looks like an error. I also don't see anything in the APEX page debug. It appears to process normally when the button is clicked.
From the access_log:
192.168.1.137 - APEX_PUBLIC_USER [27/Dec/2011:22:17:30 -0500] "GET /pls/apex/f?p=4000:RUN_PAGE:55206340610065:BRANCH_TO_PAGE_ACCEPT:NO::FB_FLOW_ID,FB_FLOW_PAGE_ID,F4000_P1_FLOW:103,235,103 HTTP/1.1" 302 -
192.168.1.137 - APEX_PUBLIC_USER [27/Dec/2011:22:17:30 -0500] "GET /pls/apex/f?p=103:235:55206340610065::::: HTTP/1.1" 200 21588
192.168.1.137 - APEX_PUBLIC_USER [27/Dec/2011:22:17:32 -0500] "POST /pls/apex/wwv_flow.accept HTTP/1.1" 302 -
192.168.1.137 - APEX_PUBLIC_USER [27/Dec/2011:22:17:32 -0500] "GET /pls/apex/f?p=103:235:4495899155137965::::: HTTP/1.1" 200 21588
Here is a look at the page debug:
0.00246 0.00107 A C C E P T: Request="TRANSCRIPT_PDF" 4
0.00350 0.00501 Metadata: Fetch application definition and shortcuts 4
0.00851 0.00080 alter session set nls_language="AMERICAN" 4
0.00931 0.00060 alter session set nls_territory="AMERICA" 4
0.00991 0.00078 NLS: CSV charset=WE8MSWIN1252 4
0.01069 0.00067 ...NLS: Set Decimal separator="." 4
0.01136 0.00083 ...NLS: Set NLS Group separator="," 4
0.01219 0.00082 ...NLS: Set g_nls_date_format="DD-MON-RR" 4
0.01301 0.00079 ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM" 4
0.01380 0.00077 ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR" 4
0.01457 0.00064 ...Setting session time_zone to -05:00 4
0.01522 0.00077 Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY HH:MIPM 4
0.01599 0.00094 Setting NLS_TIMESTAMP_FORMAT to application timestamp format: DD-MON-YYYY HH:MIPM 4
0.01693 0.00077 ...NLS: Set g_nls_date_format="DD-MON-YYYY HH:MIPM" 4
0.01770 0.00078 ...NLS: Set g_nls_timestamp_format="DD-MON-YYYY HH:MIPM" 4
0.01848 0.00068 ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR" 4
0.01916 0.00046 NLS: Language=en-us 4
0.01962 0.00219 ...metadata, fetch translated application info 4
0.02181 0.00088 ...fetch session state from database 4
0.02269 0.00096 fetch items 4
0.02365 0.00090 ...fetched 32 session state items 4
0.02455 0.00170 Authentication check: CUSTOM TABLE AUTH (NATIVE_CUSTOM) 4
0.02625 0.00074 ... sentry+verification success 4
0.02698 0.00057 ...Session ID 4495899155137965 can be used 4
0.02755 0.00056 ...Check session 4495899155137965 owner 4
0.02811 0.00064 Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY HH:MIPM 4
0.02875 0.00080 Setting NLS_TIMESTAMP_FORMAT to application timestamp format: DD-MON-YYYY HH:MIPM 4
0.02955 0.00062 ...NLS: Set g_nls_date_format="DD-MON-YYYY HH:MIPM" 4
0.03017 0.00069 ...NLS: Set g_nls_timestamp_format="DD-MON-YYYY HH:MIPM" 4
0.03086 0.00053 ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR" 4
0.03139 0.00130 ...Check for session expiration: 4
0.03269 0.00055 ...Metadata: Fetch Page, Computation, Process, and Branch 4
0.03323 0.00102 Session: Fetch session header information 4
0.03425 0.00047 ...Setting session time_zone to -5:00 4
0.03472 0.00187 ...metadata, fetch page info 4
0.03660 0.00092 ...Validate item page affinity. 4
0.03751 0.00050 ...Validate hidden_protected items. 4
0.03801 0.00061 ...Check authorization security schemes 4
0.03862 0.00095 Session State: Save form items and p_arg_values 4
0.03957 0.00081 ...Session State: Save "P235_TRANSCRIPT_ID" - saving same value: "7" 4
0.04038 0.00065 Processes - point: ON_SUBMIT_BEFORE_COMPUTATION 4
0.04102 0.00082 Branch point: Before Computation 4
0.04185 0.00054 Computation point: After Submit 4
0.04239 0.00079 Tabs: Perform Branching for Tab Requests 4
0.04317 0.00065 Branch point: Before Validation 4
0.04382 0.00111 Validations: 4
0.04493 0.00165 Perform basic and predefined validations: 4
0.04658 0.00070 Perform custom validations: 4
0.04728 0.00054 Branch point: Before Processing 4
0.04782 0.00057 Processes - point: AFTER_SUBMIT 4
0.04839 0.00054 Branch point: After Processing 4
0.04893 0.00096 ...Evaluating Branch: AFTER_PROCESSING type: "REDIRECT_URL" button: (No Button Pressed) branch: (Unconditional) 4
0.04989 0.00071 Stop APEX Engine detected 4
0.05059 0.00055 Stop APEX Engine detected 4
0.05114 0.00122 Final commit 4
0.05236 - End Page Processing
Similar Messages
-
Have been accessing monthly statements for more than a year, by clicking on the adobe icon in the download statement column, most recently in mid September, 2010. On October 4 I attempted to access September's info and the icon did not appear. I went thru tech support for the site and it was suggested that it could be a flash problem. We tried several corrections, reloading Adobe flash, checking pop up blocker,etc. When Chrome was loaded and the icons appeared, it was determined that the problem was thru FF. I later tried successful access with IE and AOL.
Since I had been successful for so long thru FF, what might have caused FF to fail in this small but important function? Other than usual updates, nothing was done on my part that should have affected my FF browser.Are you using the official Adobe website to download Flash?
*http://www.adobe.com/software/flash/about/
*http://www.adobe.com/special/products/flashplayer/fp_distribution3.html -
Documentation: Reporting with evDRE.pdf -- Download Reports?
Dear Experts,
I got some documenation from our IBM consultant. One is called "12. Reporting with evDRE.pdf" and you can find some links to download reports in it. It would be very useful for me to know how the links work? How can I get all these mentioned helpful reports available? I already asked our consultant but he also don't know it and refered to that forum.
Thanks in advance!
JeannineYes in some reports yes; but making some tests I tried also to disable the hide from the rows this doesn't change anything;
A additional information: I did a short report with 1 line and 1 column (with suppression).
When I launch with 1 column 1 line (of course with column suppressed) the pdf is generated
When I add a second column after the suppressed column the pdf is generated
when I add a second column before the suppressed column I have the error. -
I just downloaded itunes, and when i go to music there are two options. You can either go to the itunes store or scan for media, and when I click on scan for media it does nothing. Help? (I tried deleting itunes and re-installing it but apparently itunes was still on my computer so it asked me if I wanted to just check and see if there were any issues or missing software, so I did that but i still had the same problem.)
Hi jbserious,
Welcome to the Support Communities!
It doesn't sound like the iTunes software and its components installed completely. The article below will walk you through some troubleshooting steps. Is this your first time using iTunes, or do you have an iTunes library from another computer that you want to move to this one?
Issues installing iTunes or QuickTime for Windows
http://support.apple.com/kb/ht1926
iTunes: How to move your music to a new computer
http://support.apple.com/kb/HT4527
Adding music and other content to iTunes
http://support.apple.com/kb/HT1473
Cheers,
- Judy -
I downloaded the most recent version of iTunes, and now the iTunes store won't open. It just sits there and says 'accessing iTunes store for hours, but does nothing.
Close your iTunes,
Go to command Prompt -
(Win 7/Vista) - START>PROGRAMS>ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
(Win XP SP2 n above) - START>PROGRAMS>ACCESSORIES>Command Prompt
In the "Command Prompt" screen, type in
netsh winsock reset
Hit "ENTER" key
Restart your computer.
If you do get a prompt after restart windows to remap LSP, just click NO.
Now launch your iTunes and see if it is working now.
If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
Apple software on Windows: May see performance issues and blank iTunes Store
http://support.apple.com/kb/TS4123?viewlocale=en_US -
puchased music in itunes. but no file can be found. Have checked for available downloads but nothing available. Went to purchase again thinking i would not be charged again, but it warns me that i will actually be buying again and may have duplicates in library after purchase. Normaly after i purchase from itunes, it is a free download any time after, and on my other devices.
Why can't itunes locate these files?It has always been very basic to maintain a backup of the important files and data on your computer.
Use that backup to put everything back. -
Bridge CC on opening gives "Adobe Bridge CC has stopped working" Uninstalled, re-installed same error, will not run. "check online for a solution" does nothing.
Bridge worked great for a while then started to fail when starting. Old Bridge CS6 still works fine. HELP ... please.You problem is in the Fault Module MSVCR80.dll
Do a web search for this. Here is one LINK -
I have a ipod classic, 160gb.
My ipod is showing a red circle with a red "X" in it. Itunes tells me it will prepare my ipod for recovery but does nothing, why?
My computer is a Inspiron 530S using Windows Vista, duo core.All you can do is try restoring the device. If you are unable to you'll most likely have to get the iPod repaired.
Check out this article
http://support.apple.com/kb/TS1463?viewlocale=en_US -
I have following code to generate the report for pdf format.
I would like to let users to choose report type 'pdf' or 'excel'
I need pass the user select from user interface to <cfreport format= "PDF" or "Excel".
Can you please advise how I can pass the user select Report Type from lsReportType to my cfReport?
Your help and information is great appreciated,
Regards,
Iccsi
<cfstoredproc procedure="spGetReportType">
<cfprocresult name="rsReportType" resultset="1">
</cfstoredproc>
<cfreport format = "PDF" template= "MyReport.cfr" query="#myQuery#">
</cfreport>
<td><select width="50" name="lstReportType" id="lstReportType">
<cfoutput query="rsReportType">
<option value="#rsReportType.ReportTypeID#" <cfif (isDefined("form.ReportTypeID") AND form.ReportTypeID EQ rsReportType.ReportTypeID)>selected="selected"</cfif>>#rsReportType.ReportType#</option>
</cfoutput>
</select></td>Change format="PDF" to format="#VariableName#" where VariableName contains the text "PDF" or "Excel".
-
Call and Save Reports/Export to PDF using Dataplugin?
Hello,
My dataplugin is for various '.csv' files, and works perfectly when reading and loading the files. But, what would really be nice is if I could then somehow bring the data in those files into their appropriate report templates and then export that report as a '.pdf'.
So, I tried adding:
Call DataFileLoad([Filepath],[Script]
Call DataFileSave([Filepath], ".TDM","TDM")
Call Report.LoadLayout([Report Path])
Call Report.Sheets.ExportToPDF([Path to save .pdf] ,False)
Call Report.Refresh
Call Data.Root.Clear()
When I test the dataplugin by manually indexing a file, I receive the error: Variable is undefined: 'DataFileLoad'"
So, if it is reading it as a variable does that suggest that it does not recognize functions unless they are stated in the sub?
Is it possible to do what I would like it to do?
Thanks.
Solved!
Go to Solution.Hi Kevin,
DIAdem does not provide scheduling services, so some entity needs to tell DIAdem to start. You can either manually set up a DIAdem to poll for files to pricess in an endless loop, or you can use the Windows Task Scheduler to launch a DIAdem instance periodically that automatically looks for files to process for a certain duration (after which it shuts itself down to avoid any potential long term memory leaks).
R&D is interested in improving our offering for this use case, but as of DIAdem 2014 we do not have anything new available.
Brad Turpin
DIAdem Product Support Engineer
National Instruments -
Report parameters for pdf instance
Hi,
is there a way to read the parameters from a pdf report instance? I already successfully retrieved the report parameters from a CrystalReport using the IReport.getReportParamters. Is there a similar way to do this for pdf instances or Excel instances?
Thanks in advance.Hello Sebastian,
The InfoObject representing the scheduled instance to PDF should implement the IReportProcessingInfo interface, that defines the method to retrieve the params. You should cast to IReportProcessingInfo.
It's undocumented, but works.
Sincerely,
Ted Ueda -
Call method http_client- response- get_header_fields for PDF and for TIFF
Hi,
I am using a Function Module..
APAR_EBPP_GET_INVOICE_DETAIL to display the TIFF images on the Biller Direct side.
The above function module is used to retrieve the PDF documents from the document repository.
In Similar way I am trying to do the TIFF Images too.
But in this method
call method http_client->response->get_header_fields
changing fields.
For PDF the table fields is as follows
NAME VALUE
1 ~response_line----
|HTTP/1.1 200 (OK) |
2 ~server_protocol----
|HTTP/1.1 |
3 ~status_code----
|200 |
4 ~status_reason----
|(OK) |
5 content-length----
|7136 |
6 content-type----
|application/pdf |
7 server |Microsoft-IIS/6.0 |
8 x-powered-by |ASP.NET |
9 date |Tue, 24 Feb 2009 18:09:35 GMT |
10 connection |close |
For TIFF the table fields are as follows:
1 ~response_line----
|HTTP/1.1 500 (internal server error) |
2 ~server_protocol----
|HTTP/1.1 |
3 ~status_code----
|500 |
4 ~status_reason----
|(internal server error) |
5 content-length----
|105 |
6 content-type----
|text/plain |
7 server----
|Microsoft-IIS/6.0 |
8 x-powered-by |ASP.NET |
9 date |Tue, 24 Feb 2009 18:26:39 GMT |
10 connection |close |
The error message is Internal Server error..
This is in HTTP2_Get Function Module.
What would be the reason for HTTP/1.1 500 Internal Server error.
Any suggestions are welcome..
Thanks,
ChaitanyaHi Niranjan,
can you please check if you have imported the whole chain of certificates. Certificates usually diplayed in 3 levels in the Explorer. like
Verisign - L1
>>> Versign-- L2
>>>>>>>>>>>>XYZ.com -- L3
Extract all the 3 certificates and Put in Strust and do exit soft and hard in SMICM and restart the service.
Its better to create a RFC destination of Type H and Do the Connection test for HTTPS configuration. If the connection test comes OK then u can be sure of the configuration. -
Weblogic 10.3.4 as report printer for PDF printing using apex_fop.jsp
Hello,
Is it possible to use the apex_fop.jsp in combination with Oracle Weblogic 10.3.4 for PDF printing?
We have managed to get our Apex application to print PDF documents using Apache FOP with Oracle Weblogic 10.3.3 or Apache Tomcat 6 as a report printer.
But when we are trying the Oracle Weblogic 10.3.4 server as report printer, we will get the Error 500--Internal Server Error error in the pdf.
One of application server log shows the error "Expected Node-set in Path Expression".
Regards,
Mathieu Meeuwissen
Edited by: Meeuwtje on 17-jan-2012 17:00Steve,
I am using JSF2.0 and getting javax.el.ExpressionFactory NoClassDefFound issues.
OEPE Helios
Weblogic 10.3.3
I have an EAR containing one WAR.
WEB-INF/lib
el-api-2.2jar
el-imp-2.2.jar
jsf-api.jar (2.1.1)
jsf.impl.jar (2.1.1)
jstl.jar (1.1.0-D13)
web.xml has
<context-param>
<param-name>com.sun.faces.expressionFactory</param-name>
<param-value>com.sun.el.ExpressionFactoryImpl</param-value>
</context-param>
EAR has
weblogic-application.xml with
<wls:prefer-application-packages>
<wls:package-name>org.eclipse.persistence.*</wls:package-name>
<wls:package-name>javax.faces.*</wls:package-name>
<wls:package-name>com.sun.faces.*</wls:package-name>
<wls:package-name>com.sun.el.*</wls:package-name>
<wls:package-name>javax.el.*</wls:package-name>
</wls:prefer-application-packages>
I see by your post that JSF2.0 support can be solved by either deploying a shared-library or using the weblogic.Deployer utility. Unfortunately, we don't have access to change the Weblogic instance in any way. I was hoping that using the prefer-application-packages would be sufficient to use alternative classes to Weblogic's but I have not been able to get it to work for the javax.el classes. I have tried not including javax.el and the app deploys but then accessing a page produces a javax.el.ELResolver no method found for invoke. Invoke being a newer method defined in el-api-2.2.jar. If I was able to convince them to add some shared libs, what are all the jars that would be required to make this work?
Any suggestions would be greatly appreciated.
Thanks
John -
Ora-06502: variable length too long on report query xml schema download
on shared components/report queries/edit report query/
and downloading my queries in xml schema format (radio button).
Get
ORA-06502: PL/SQL: numeric or value error: raw variable length too long
when i click the download button.
EDIT:
i want to add that i recently changed several columns in the database from 150 to 3000 chars long.
Edited by: Manny Rodriguez on Oct 11, 2011 7:19 AM"4000 bytes is the ultimate maximum. you can say 4000 *characters* , but it'll always be limited to 4000 *bytes* . "
http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:1224836384599#201073000346459201\
"The maximum length of the column is determined by the national character set definition. Width specifications of character data type NVARCHAR2 refer to the number of characters. The maximum column size allowed is 4000 bytes."
http://docs.oracle.com/cd/E11882_01/server.112/e26088/sql_elements001.htm#SQLRF50976
By the way, you're treating your numbers as STRINGS, remove the quotes around your zero's. -
E Recruitment : Report/Query for Activity Status
Hi,
Is there a standard report/query which shows all the activities with their corresponding status and due dates.
If not, can someone guide me how to capture this data, in terms of tables which store this details.
Any inputs on this please....
Thanks
MM
Edited by: abaphr_mm on Oct 29, 2010 6:56 PMHi,
could you give some additional information on your requirement?
If you need support for the every day work of the recruiter there are standard bsp applications (up to ehp 3) and work sets (for ehp 4 sp 4 and higher) which show the planned activities and planned correspondences for them.
If you need some statistic over all recruiters the are some infosets but I never used them as they never met the requirements in my projects. I'd probably write some report reading the activity infotypes (tables HRP5135 to HRP5142/43 or 45 depending on your e-rec release) directly. For statistics please keep in mind that recruiters tend to not complting all of their activities. So you might gather tons of data from candidacies / applications which belong to requisitions which are already closed.
Best regards
Roman
Maybe you are looking for
-
Continuous audio on interactive indesign file
Hi AGAIN, lol I have created a simple document using 10 layers. Each layer has its own graphic which does its own interactive thing. When i preview the file it works great, now however i would like to put a short piece of audio over the top of my 10
-
Is there a way to spell-check ALL CAPS text in an Acrobat document as one can in Word?
-
I copied photos from my iMac on to my iPad by synchronising. When I try Slide show in iPAD, the "Descriptions" are not getting displayed. Any way I can get the "Descriptions" displayed? Also, I have some more photos in another login in my iMac. How d
-
Xcelsius 2008 Fix Pack 3.4 (FP3.4) is now available
Xcelsius 2008 Fix Pack 3.4 (FP3.4) supports Windows 7, see notes section below (Fix Pack 3.3 was the first version for Windows 7) It is now available from Service Marketplace and the support download site: SAP Crystal Solutions Downloads This Fix Pac
-
I have noticed that, on many occassions, my text will dissapear from my forms and I have to click on those text fields (now empty) to get text to reappear (this typically happens when going into Preview mode, but can happen if I save the form and vie