How to publish report output (pdf via XML publisher) on public OAF page
hi,
I need publish pdf file (report created with XML Publisher) over link on OA page on external web, but without accessing people from public web into my output directory for concurent requests (only this one to be allowed to access from external web) ....
sorry, i am late, i couldn't reply on forum ...
first i submit concurent request to create xml output from report (rdf):
ConcurrentRequest cr = new ConcurrentRequest(pConncection);
requestId = cr.submitRequest(applnName, Sablona, Description, null, false, cpArgs);
i am wait for end:
while (FileName == "") {
FileName = getOutputFileName(pageContext,requestId);
getOutputFileName make select to get status of request from database,
and on finish i delive pdf document to customer with oracle.apps.xdo.oa.common.DocumentHelper:
String redirectURL = DocumentHelper.getOutputURL(pageContext,
"XXCS", //appShortName,
Sablona, //templateCode,
(InputStream)dis,
"PDF", //outputType,
properties,
"CS", //language,
"CS" //territory );
pageContext.forwardImmediately(redirectURL, null, (byte)0, null, null, true, "N");
i hope it help you ;o)
Similar Messages
-
XML Publisher report output in RTF format does not display full page
Hi,
We have one XML Publisher report, the output of report in RTF format is not getting displayed in Full Page in normal way (MS Word -->View menu --> Print layout) but we can see full page display when we do MS Word -->View menu --> Outline.
Appreciate your valuable inputs on this.
Is this a template issue or any profiles needs to be set.
Thanks
VijayDo you have any header and footer on your template?
If you have any header and footer then try to adjust it as of to display full page.
Thanks
Yasar -
Error when trying to run an FSG Report via XML Publisher...
hello.
Hope someone can help.
This is our first look into the benefits of XML Publisher in order convince Manager to start using it. Thing is, we really need to get both FSG reports and Dunning Letters working.
We've currently got XML Publisher 5.0.0 and BI Publisher Template Builder for Word v10.1.3.2.0
First up, FSG reports. Having followed this link here:
http://solutionbeacon.blogspot.com/2007/07/simple-tutorial-for-publishing-fsg.html
Ive managed to create a template based upon the basic FSG template supplied. I’ve follwed easy steps but on submitting the request against ANY [its what the notes said] FSG report the error messages from both the log and output files are given.. Those being..
Output file displayed the most productive error message:
DECLARE
ERROR at line 1:
ORA-06550: line 133, column 8:
PLS-00306: wrong number or types of arguments in call to 'SUBMIT_XML_REQUEST'
ORA-06550: line 133, column 5:
PL/SQL: Statement ignored
Can anyone help please? Or perhaps suggest an alternative to running FSG reports through XML Publisher.
Other thought was, do I need any different versions and/or Publisher Enterprise installing?
Many thanks for reading this..
Steven..having tried an alternative presentation I got a singular FSG report to generate in PDF via XML Publisher..
www.darrylcarson.com/Dice/OVOAUG/MAY_2007/XMLP_and_RM.ppt
question closed.. -
Excel output for the xml publisher report when it is [b]scheduled [/b]
How to get the excel output for the xml publisher report when it is scheduled by a apps user? Like what is the user profile option (for the apps user who runs the report) and what are the other things that needs to be taken care of so that only this xml publisher report run by this apps user produces a EXCEL output (When scheduled) ???
Really appreciate it if any one can help me in this regards.
Thanks
MunnaHi Munna,
For eBusiness Suite (apps user) the report output is stored the same way whether executed immediately or scheduled.,To get excel set the options > output format to Excel. Only the user that submitted the report can view it, or you can get the output file from the server. Or you can set the notify option so that a Workflow Notification is sent when the request completes.
Regards,
Gareth
Blog: http://garethroberts.blogspot.com/ -
How to generate multiple output pdf's from one oracle reports
how to generate multiple output pdf's from one oracle reports.
I have a report where I have to generate more than one output files from the same report based on a parameter.
Each output file is for each parameter.
Is this possible in oracle reports, is so how ?You can better post your question in the reports forum instead of this pl/sql forum.
-
How to add a digital signature in xml publisher report
The problem is: There is a existing pick slip report.This is a xml publisher report and the data source is RDF. We have to add digital signature there. Now this signature is stored in a table with type Long Raw and format BMP. XML Publisher do not support Long Raw and BMP format. It supports BLOB and jpg format.
Could you please guide how to add this signature in the existing RDF with datatype as BLOB and format as jpg.
Please provide the steps with example.Hi,
Have a look at this thread.
Implementing electronic signatures on an existing AP check run
Re: Implementing electronic signatures on an existing AP check run
Regards,
Hussein -
Pasta Landscape Printing via XML Publisher
Hi ,
I have followed Pasta Config Guide 3.0 .
We're on 11.5.10 and Purchase Orders Report(Both Landscape and Portrait are configured - two separate "reports") via XML Publisher comes out fine in PDF in Portrait and Landscape when viewing the PDF , but when I set the conncurrent request to print to a printed , the Portrait report prints Portrait , but the Landscape report prints on Portrait. (Im missing the whole right hand side of the data)..
Any ideas?
Cheers
StephenHi ,
Sorry , should have replied earlier...
I actually turned off the ps2pdf in the config files and the PDF printed direct perfectly both Landscape and Portrait.
I had followed the Past Config Guide to the tee which was the pain !!
Cheers
Stephen -
How do we handle User exits in XML Publisher
Hi,
Can anyone tell me how do we handle user exits in XML Publisher ?
Thanks,
Kiran.Do tyou mean the original Oracle Reports user exits ?
If so then the flexfield ones are handled in the data template, check the user guide. Format currency should be called in the template layer. You do not need srw.init with data templates.
Regards, Tim -
Print AP check (MICR) via XML Publisher
I will print AP check via XML Publisher 5.5. Our database is running on Linux.
I installed MICR FONT from Elfrin to my laptop so that I can create template on my laptop.
Should I install MICR font from the same company (Elfrin) onto database server? Or I can use the MICR font from any other company. What is the suggested MICR font (from which company) I should install on Linux?
Anyone has experience installing MICR on Linux? Any installation doc I can download?
Thanks.Hi,
I am using Elfring fonts with XMLP 5.6. Since this is a truetype font, you can use it on the server as well. Please refer to the XML Publisher manual for details on how to install a font using XML Publisher Administrator responsibility. -
Very urjent how to send report output in mail
hi experts,
how to send report output in mail which function module should i use wht parameters should i pass.
thanks in addavnce,
points to be awarded.CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
destination = '026c'
copies = count
list_name = 'VATS_ASBUILT'
list_text = v_list
immediately = 'X'
release = 'X'
new_list_id = 'X'
expiration = days
line_size = 132
line_count = 65
layout = 'X_65_132'
* sap_cover_page = 'X'
* cover_page = 'X'
receiver = 'SAP*'
department = 'VATS'
no_dialog = 'X'
IMPORTING
out_parameters = params
valid = valid.
SUBMIT zppr_vats_asbuilt WITH p_aufnr EQ v_aufnr
TO SAP-SPOOL WITHOUT SPOOL DYNPRO
SPOOL PARAMETERS params
AND RETURN.
SELECT SINGLE rqident FROM tsp01 INTO l_spoolno
WHERE rqtitle = v_list .
* convert report to PDF format
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = l_spoolno
no_dialog = 'X'
TABLES
pdf = l_ipdf
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
EXIT .
ENDIF.
Now comes the part to send the mail
try.
* -------- create persistent send request ------------------------
send_request = cl_bcs=>create_persistent( ).
clear document.
* -------- create and set document with attachment ---------------
* create document from internal table with text
document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = text
i_length = '12'
i_subject = '' ).
*changing the content of the attachment
binary_content[] = l_iobjbin[].
*change the name of the PDF attachment
concatenate 'Build ID' s_buildid_i 'Rev' v_buildid_rev
into i_att_sub separated by space.
* add attachment to document
call method document->add_attachment
exporting
i_attachment_type = 'PDF'
i_attachment_subject = i_att_sub
i_att_content_hex = binary_content.
*setting the option to send an e-mail more than 50 characters
call method send_request->set_message_subject
exporting
ip_subject = t_sub.
* add document to send request
call method send_request->set_document
exporting
i_document = document.
* --------- set sender -------------------------------------------
* note: this is necessary only if you want to set the sender
* different from actual user (SY-UNAME). Otherwise sender is
* set automatically with actual user.
sender = cl_sapuser_bcs=>create( 'VATSUPPORT' ).
call method send_request->set_sender
exporting
i_sender = sender.
*Send the list based on receivers list obtained
loop at l_ireclist.
AD_SMTPADR = l_ireclist-receiver.
* --------- add recipient (e-mail address) -----------------------
* create recipient - please replace e-mail address !!!
recipient = cl_cam_address_bcs=>create_internet_address(
AD_SMTPADR ).
* add recipient with its respective attributes to send request
call method send_request->add_recipient
exporting
i_recipient = recipient
i_express = 'X'.
ENDLOOP.
call method send_request->set_status_attributes
exporting
i_requested_status = 'E'
i_status_mail = 'E'.
* To send the mail immediately
call method send_request->set_send_immediately( 'X' ).
* ---------- send document ---------------------------------------
call method send_request->send( ).
commit work. -
Intermittent Blank Rows coming in BI Publisher Report output
Hi,
We are working on a BI Publisher report output.
Issue
The report sometimes creates a blank row along with the headings of the report columns. Table has multiple records and between 2 records we have a data being displayed which is optional. When this record is null, it is creating an extra space and hence creating a new page with the headers and a blank row.
Reducing the space is one issue we have thought of. Are there any other pointers to this.
Thanks
IshaniHi,
I did not got the complete thing but as you told you need to remove the blank space in the report and at the same you told when a column returns null the row get displayed as blank row.
Then can you try using the Conditional region so that when ever you find the column value as null so you can hide that row.
Just try it i donot no if your requirement is exactly like this or what.
Thanks. -
I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics with "Alternative Text".
I know that with a Microsoft product graphics can be tagged before a PDF is made. I need to know how to do this with my programming.The Acrobat SDK might be a starting point.
From there, perhaps a plug-in (built with C+).
Perhaps with a licensed release of a PDF Library (this could be $$).
The viable and cost effective alternative is use the tried and true.
Authoring in an appropriate authoring application with appropriate tag management.
Example: Adobe InDesign; Adobe FrameMaker or MS Word with PDFMaker (comes with install of Acrobat).
This way you place "Alternative Text" when mastering content in the authoring file.
Going the route and with some look-see (research) you may find programmatic approaches to placing the alt txt in the authoring file.
Note: as discussed in the Matterhorn Protocols there is no programmatic method that provides a fully accessible PDF (specifically, that is an ISO 14289-1, PDF/UA-1 compliant PDF).
Regardless, here you have a sub-forum for discussions on Acrobat usage.
Consequently discussions on/of 3rd party software is rather out of scope eh.
Be well... -
Re : how to print report output in DOT MATRIX printer
Hai
how to print report output in DOT MATRIX printer.
Thanks
maniCheck this
[http://help.sap.com/saphelp_nw04/helpdata/en/90/78f078030211d399b90000e83dd9fc/frameset.htm]
also check the SAP Note 129581 -
How to export report output into excel.
Hi all
how to export report output into excel sheet can any on give me answer step by step please as soon as possible
kkHi Prashanth,
If you are executing Query from WAD ---> Right click on Table (only on Characteristics Data) --> Enhanced Menu ---> Export as --> CSV file or MS Excel
assign points if this helps,
Thanks,
Sudhakar -
How to call Report output in Modulepools
hi
can any one suggest me
How to call Report output in Modulepools
i have a push button in modulepool after clicking that pushbutton i need a report output
how to do this
Thanks & Regards
kalyanHi Kalyan,
From Module pool program you have to go display A Report output..
So at User-Command of PAI use LEAVE TO LIST PROCESSING.
Regarding this check the Demo program DEMO_LEAVE_TO_LIST_PROCESSING.
And for further reference please check this SAP Help
http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9d2f35c111d1829f0000e829fbfe/frameset.htm
For more help please check this thread
Re: LEAVE TO LIST-PROCESSING
Hope this would help you.
Good luck
Narin
Maybe you are looking for
-
Forgotten Password on HP LaserJet 100 color MFP M175NW
Hello, I came to the comunity after a call to the heldpesk. My problem is the following. I have a HP LaserJet 100 color MFP M175nw who is configurable via web interface. The problem is that I don't remember anymore the password to access to the web c
-
Why, after three months of apple tv working perfectly fine, is it now cutting out constantly and the audio and video out of sinc?
-
?? configure network-cards under Sol. 8 ?? please heeellpplp
Hi, I'm a stand alone Solaris's user (at home). Since about 2 months I've installed Solaris 8 on my PC, and wont be able to configure my Internet-Connection and my privat Home-Network. I'd already read about 500 different publication's pages, but won
-
To change the default date format of OID
Hello Gurus, Any idea on how to change the default date format of OID? The default date format of OID is something like "yyyy-mm-dd hh:mm:ss .0-0700" I want to change it to "yyyymmddhhmmss.0-0800". Is there any system property to do the same. I have
-
Bookmarks imported from IE has folders but are all empty (win7 64 bit)
bookmarks imported from IE shows folders, but all folders are empty and there are no bookmarks at all. IE8.0.7600 to FFox3.6.3 on win7 64bit