Rendering a PO as a PDF Output
Hi,
Does anybody know if it is possible to email a PO out as a PDF without having iSupplier? If so how do I do it.
Many Thanks
Yes, it is possible. The PO is emailed when it is approved. You do not need iSupplier.
See "Purchase Order Communication to Suppliers" (page 1-101) in the Oracle Purchasing User’s Guide. It's very easy to set up and use. If you don't like the format of the standard PO that is emailed, you can use XML Publisher to change it.
Similar Messages
-
No data found in report csv or pdf output on first page load
No data found in report csv output on first page load. Report shows up on page, but no data found in csv or pdf output. I always need to submit the page and then it shows data in downloads. The page contains a form (read-only) with a report that references 4 page items by using something like the following:
and b.employee_no = v('P5_EMPLOYEE_NO')
and c.fisc_year_pk = v('P5_FISC_YEAR_PK')
and b.job_class = v('P5_JOB_CLASS')
and b.organization = v('P5_ORGANIZATION')
Again, report in the page shows up except there is no data in downloads. Can anyone help me solve this problem? I'm running Oracle APEX 4.2.1 in Oracle database 11gR2.
Thanks.Sounds like a classic session state issue.
You need to populate you page items using page rendering computations to ensure they're set to session state.
Or if the download is triggered from a button press, you need to ensure those page items are submitted to session state, perhaps via a PL/SQL action.
Scott -
Cannot View PDF output in Template Viewer
Guys
I am a newbie to the XML Publisher. I installed the following patches for the Publisher.
Trying to view a PDF output via Viewer and getting the following log
Log Message:-
[042407_110204096][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setData(InputStream) is called.
[042407_110204112][][STATEMENT] Logger.init(): *** DEBUG MODE IS OFF. ***
[042407_110204112][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setTemplate(InputStream)is called.
[042407_110204112][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setOutput(OutputStream)is called.
[042407_110204112][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setOutputFormat(byte)is called with ID=1.
[042407_110204112][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setLocale is called with 'en-US'.
[042407_110204112][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.process() is called.
[042407_110204112][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.generate() called.
[042407_110204112][oracle.apps.xdo.template.FOProcessor][STATEMENT] createFO(Object, Object) is called.
[042407_110204112][oracle.apps.xdo.common.xml.XSLT10gR1][STATEMENT] oracle.xdo Developers Kit 10.1.0.3.0 - Production
[042407_110204112][oracle.apps.xdo.common.xml.XSLT10gR1][STATEMENT] Scalable Feature Disabled
[042407_110204159][oracle.apps.xdo.template.fo.FOProcessingEngine][STATEMENT] Using proxy for PDF Generator
[042407_110204237][oracle.apps.xdo.template.FOProcessor][STATEMENT] Calling FOProcessingEngine.process()
[042407_110204237][oracle.apps.xdo.template.fo.datatype.AttrKey][STATEMENT] WARNING: Found undetermined AttrKey: xmlns:xlink
[042407_110204252][][STATEMENT] [ PDF GENERATOR ]---------------------------------------------
[042407_110204252][][STATEMENT] XDO version = Oracle XML Publisher 5.6.2
[042407_110204252][][STATEMENT] java.home = C:\Program Files\Java\j2re1.4.2_06
[042407_110204252][][STATEMENT] XDO_TOP = null
[042407_110204252][][STATEMENT] Config Path = null
[042407_110204252][][STATEMENT] Debug Cfg Path= null
[042407_110204252][][STATEMENT] Font dir = C:\Program Files\Java\j2re1.4.2_06\lib\fonts\
[042407_110204252][][STATEMENT] Locale = en-US
[042407_110204252][][STATEMENT] Fallback font = type1.Helvetica
[042407_110204252][][STATEMENT] [ PDF GENERATOR PROPERTIES ]---------------------------------
[042407_110204252][][STATEMENT] digit-substitution=null(not set)
[042407_110204424][][STATEMENT] font.ALBANY WT J.normal.normal=truetype.C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ALBANWTJ.ttf
[042407_110204424][][STATEMENT] font.ALBANY WT K.normal.normal=truetype.C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ALBANWTK.ttf
[042407_110204424][][STATEMENT] font.ALBANY WT SC.normal.normal=truetype.C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ALBANWTS.ttf
[042407_110204424][][STATEMENT] font.ALBANY WT TC.normal.normal=truetype.C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ALBANWTT.ttf
[042407_110204424][][STATEMENT] font.ALBANY WT.normal.normal=truetype.C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ALBANYWT.ttf
[042407_110204424][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.bold=truetype.C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ADUOJB.ttf
[042407_110204424][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.normal=truetype.C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ADUOJ.ttf
[042407_110204424][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.bold=truetype.C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ADUOKB.ttf
[042407_110204533][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.normal=truetype.C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ADUOK.ttf
[042407_110204533][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.bold=truetype.C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ADUOSCB.ttf
[042407_110204533][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.normal=truetype.C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ADUOSC.ttf
[042407_110204533][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.bold=truetype.C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ADUOTCB.ttf
[042407_110204533][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.normal=truetype.C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ADUOTC.ttf
[042407_110204533][][STATEMENT] font.ANDALE DUOSPACE WT.normal.bold=truetype.C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ADUOB.ttf
[042407_110204533][][STATEMENT] font.ANDALE DUOSPACE WT.normal.normal=truetype.C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ADUO.ttf
[042407_110204533][][STATEMENT] font.CG TIMES.italic.bold=type1.Times-BoldItalic
[042407_110204627][][STATEMENT] font.CG TIMES.italic.normal=type1.Times-Italic
[042407_110204627][][STATEMENT] font.CG TIMES.normal.bold=type1.Times-Bold
[042407_110204627][][STATEMENT] font.CG TIMES.normal.normal=type1.Times-Roman
[042407_110204627][][STATEMENT] font.COURIER NEW.italic.bold=type1.Courier-BoldOblique
[042407_110204627][][STATEMENT] font.COURIER NEW.italic.normal=type1.Courier-Oblique
[042407_110204627][][STATEMENT] font.COURIER NEW.normal.bold=type1.Courier-Bold
[042407_110204627][][STATEMENT] font.COURIER NEW.normal.normal=type1.Courier
[042407_110204627][][STATEMENT] font.COURIER.italic.bold=type1.Courier-BoldOblique
[042407_110204627][][STATEMENT] font.COURIER.italic.normal=type1.Courier-Oblique
[042407_110204627][][STATEMENT] font.COURIER.normal.bold=type1.Courier-Bold
[042407_110204627][][STATEMENT] font.COURIER.normal.normal=type1.Courier
[042407_110204627][][STATEMENT] font.DEFAULT.italic.bold=type1.Helvetica-BoldOblique
[042407_110204627][][STATEMENT] font.DEFAULT.italic.normal=type1.Helvetica-Oblique
[042407_110204783][][STATEMENT] font.DEFAULT.normal.bold=type1.Helvetica-Bold
[042407_110204783][][STATEMENT] font.DEFAULT.normal.normal=type1.Helvetica
[042407_110204783][][STATEMENT] font.GLFALLBACK.normal.normal=truetype.C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ALBANWTJ.ttf
[042407_110204783][][STATEMENT] font.HELVETICA.italic.bold=type1.Helvetica-BoldOblique
[042407_110204783][][STATEMENT] font.HELVETICA.italic.normal=type1.Helvetica-Oblique
[042407_110204783][][STATEMENT] font.HELVETICA.normal.bold=type1.Helvetica-Bold
[042407_110204783][][STATEMENT] font.HELVETICA.normal.normal=type1.Helvetica
[042407_110204783][][STATEMENT] font.MONOSPACE.italic.bold=type1.Courier-BoldOblique
[042407_110204783][][STATEMENT] font.MONOSPACE.italic.normal=type1.Courier-Oblique
[042407_110204783][][STATEMENT] font.MONOSPACE.normal.bold=type1.Courier-Bold
[042407_110204783][][STATEMENT] font.MONOSPACE.normal.normal=type1.Courier
[042407_110204783][][STATEMENT] font.SANS-SERIF.italic.bold=type1.Helvetica-BoldOblique
[042407_110204923][][STATEMENT] font.SANS-SERIF.italic.normal=type1.Helvetica-Oblique
[042407_110204923][][STATEMENT] font.SANS-SERIF.normal.bold=type1.Helvetica-Bold
[042407_110204923][][STATEMENT] font.SANS-SERIF.normal.normal=type1.Helvetica
[042407_110204923][][STATEMENT] font.SERIF.italic.bold=type1.Times-BoldItalic
[042407_110204923][][STATEMENT] font.SERIF.italic.normal=type1.Times-Italic
[042407_110204923][][STATEMENT] font.SERIF.normal.bold=type1.Times-Bold
[042407_110204923][][STATEMENT] font.SERIF.normal.normal=type1.Times-Roman
[042407_110204923][][STATEMENT] font.SYMBOL.normal.normal=type1.Symbol
[042407_110204923][][STATEMENT] font.TIMES NEW ROMAN.italic.bold=type1.Times-BoldItalic
[042407_110204923][][STATEMENT] font.TIMES NEW ROMAN.italic.normal=type1.Times-Italic
[042407_110204923][][STATEMENT] font.TIMES NEW ROMAN.normal.bold=type1.Times-Bold
[042407_110204923][][STATEMENT] font.TIMES NEW ROMAN.normal.normal=type1.Times-Roman
[042407_110204923][][STATEMENT] font.TIMES.italic.bold=type1.Times-BoldItalic
[042407_110205079][][STATEMENT] font.TIMES.italic.normal=type1.Times-Italic
[042407_110205079][][STATEMENT] font.TIMES.normal.bold=type1.Times-Bold
[042407_110205079][][STATEMENT] font.TIMES.normal.normal=type1.Times-Roman
[042407_110205079][][STATEMENT] font.ZAPFDINGBATS.normal.normal=type1.ZapfDingbats
[042407_110205079][][STATEMENT] pdf-changes-allowed=0
[042407_110205079][][STATEMENT] pdf-compression=true
[042407_110205079][][STATEMENT] pdf-enable-accessibility=true
[042407_110205079][][STATEMENT] pdf-enable-copying=false
[042407_110205079][][STATEMENT] pdf-encryption-level=0
[042407_110205079][][STATEMENT] pdf-hide-menubar=false
[042407_110205079][][STATEMENT] pdf-hide-toolbar=false
[042407_110205079][][STATEMENT] pdf-no-accff=false
[042407_110205079][][STATEMENT] pdf-no-cceda=false
[042407_110205079][][STATEMENT] pdf-no-changing-the-document=false
[042407_110205079][][STATEMENT] pdf-no-printing=false
[042407_110205079][][STATEMENT] pdf-open-password=
[042407_110205079][][STATEMENT] pdf-permissions=0
[042407_110205282][][STATEMENT] pdf-permissions-password=
[042407_110205282][][STATEMENT] pdf-printing-allowed=0
[042407_110205282][][STATEMENT] pdf-replace-smartquotes=true
[042407_110205282][][STATEMENT] pdf-security=false
[042407_110205282][][STATEMENT] ------------------------------------------------------
[042407_110205282][][STATEMENT] Rendering page [1]
[042407_110205282][oracle.apps.xdo.common.font.FontFactory][STATEMENT] Type1 font created: Helvetica
[042407_110205282][oracle.apps.xdo.common.font.FontFactory][STATEMENT] TrueType font created: C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ALBANWTJ.ttf(0)
[042407_110205282][oracle.apps.xdo.common.font.FontFactory][STATEMENT] Type1 font created: Times-Roman
[042407_110205298][][STATEMENT] Phase2 time used: 16ms
[042407_110205298][][STATEMENT] Continue rendering page [1]
[042407_110205298][][STATEMENT] Phase2 time used: 0ms
[042407_110205298][][STATEMENT] Continue rendering page [1]
[042407_110205298][][STATEMENT] Phase2 time used: 0ms
[042407_110205298][][STATEMENT] Continue rendering page [1]
[042407_110205469][][STATEMENT] Phase2 time used: 171ms
[042407_110205469][][STATEMENT] Continue rendering page [1]
[042407_110205469][][STATEMENT] Phase2 time used: 0ms
[042407_110205469][][STATEMENT] Continue rendering page [1]
[042407_110205485][][STATEMENT] Phase2 time used: 16ms
[042407_110205485][][STATEMENT] Continue rendering page [1]
[042407_110205485][][STATEMENT] Phase2 time used: 0ms
[042407_110205485][][STATEMENT] Continue rendering page [1]
[042407_110205485][][STATEMENT] Phase2 time used: 0ms
[042407_110205485][][STATEMENT] Continue rendering page [1]
[042407_110205485][][STATEMENT] Generating page [1]
[042407_110205485][][STATEMENT] Phase2 time used: 0ms
[042407_110205485][][STATEMENT] Total time used: 1248ms for processing XSL-FO
[042407_110205578][][STATEMENT] ProxyGenerator creating new page: 1
[042407_110205594][][STATEMENT] Starting Generator.close()
[042407_110205594][oracle.apps.xdo.common.font.FontFactory][STATEMENT] truetype.C:\Program Files\Java\j2re1.4.2_06\lib\fonts\ALBANWTJ.ttf closed.
[042407_110205594][][STATEMENT] Generator.close() took: 0ms
[042407_110205594][][STATEMENT] Total time to process commands from ProxyGenerator tmp file: 109ms
[042407_110205594][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) is called.
[042407_110205781][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) done. All inputs are cleared.
End of Process.
Time: 1.841 sec.
Successfully generated xdo49386.pdf
Spawning viewer...
Error Message:-
Windows cannot find 'C:\PROGRA~1\Oracle\XMLPUB~1\samples\tmp\xdo49386.pdf'. Make sure you typed the name correctly, and then try againHi
Can you find the document under that directory ?
Tim -
Getting space at the bottom in the pdf output
I'm designing a pre-printed Invoice report using BI Pub. The template is in word and when I take pdf output I get space at the bottom, even though there is no space at the bottom in template(rtf).
The template fits propely in pre-printed paper, but when its rendered to pdf, all the the data is moving up creating space at the bottom and messing up the alignment.
I appreicate any help or comments from anyone who encountered this problem earlier.
Thanks.I'm having the same issue on my iPad. So far I've noticed it on one pdf and I'm planning on deleting it and syncing it from my iTunes library again as soon as I get the chance. I'll post an update when I do.
-
Is PDF output of more than one reports region with Apache FOP possible?
Hi,
I'm evaluating the possibilities of PDF output by means of the Apache FOP. I've installed the standalone OC4J, deployed the fop.war and configured my APEX 3.2 installation according to the various guides I found. Now I can generate PDF output of a reports region.
I will have APEX pages containing more than one reports region. Is it possible to generate a PDF document of the whole page, not just of the individual reports regions? If so, then how?
Thanks,
Robert
On a sidenote: Does anyone know where I can find the licensing model and fees for the standalone OC4J? They don't seem to be included in the [price list|http://www.oracle.com/corporate/pricing/technology-price-list.pdf].Hello Sue,
>> The first report on Page 3 successfully opens Page 14 as a popup.
Please show us the code you are using for the popup link (it’s not the template that causes it to open as a popup. The template only styles the page once it rendered).
Regards,
Arie.
♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
♦ Author of Oracle Application Express 3.2 – The Essentials and More -
Report Pdf output getting Junk characters for some boiler Plate fields
Hi All
For Dunning Letter Report registered in Oracle Applications,made changes in Column headings like added customer number as Kunde for German Letter
but in pdf output it's appearing as junk characters even date field is happening like that. It's happening for German, Spanish, Italy and French Letters. Working ok for Netherlands, English.
any input to fix this solution will be great
Thanks
Kamalakar.GMaybe you check the NLS_LANGUAGE-settings on the client where you "edit" the reports-definition.
-
XML Publisher Report not generating the PDF output.
Hi,
I am trying to develop a XML Publisher Report in R12 Vision Instance.
I have developed the rdf report and concurrent program with XML as output format. Ran the concurrent program and I got the XML output. Based on XML output I have created the rtf template. Using both the template and xml output I have created in Data Definition and Template in XML Publisher Administrator Responsibility. Now I am comming to the concurrent program and running the program, here instead of generating the PDF output it is generating again the XML output and concurrent program completing with warning status.
When I am trying to do the same in 11i Vision Instance, Concurrent Program completing with normal status and when trying to view the output it is saying "Unable to Publish output for the Processed Request".
Kindly please help me out in this issue.
Thanks,
Manasa.Hi Mahesh,
Here the concurrent programs are not erroring out. It is completing with Warning status and when we click on View Output the output is coming in XML format instead of PDF, this is in R12 Vision Instance.
In 11i Vision Instance, concurrent program is completing with Normal Status but when we click on View Output it is saying "Unable to Publish output for specified request".
Thanks,
Manasa. -
PDF output does not refresh data in BI Publisher, XML and HTML do refresh
I just upgraded to BI Publisher 10.1.3.4.0 and I noticed that the PDF format of the reports does not reflect recent changes in data, while XML data and HTML output do reflect changes in data immediately.
I'm using BI Publisher to print APEX applications reports. When I change some data in APEX forms, I click again in the Print button and the data remains unchanged. I made some testing inside Oracle BI Publisher, and noticed that XML data and HTML output do reflect changes, but PDF output remains with the old data for some unknown amount of time. I cannot identify a method to force the PDF to refresh, just un-log and log in again several times until the data appears updated. This is serious because when users change data and print again, they expect the changes to be reflected in the new printable report, and may not notice that the data is the old version.
OS is Oracle Enterprise Linux.
Any help on this will be very welcome.
FranciscoOpen the report in Edit Mode Click on the reports and in the properties section Uncheck the
Enable Document Cache Property and your issue should be resolved. -
Hi all,
is it possible to hand an animated GIF to the PDF output (remaining animated)?
FM10 and AcrobatX work together rather fine concerning other animation formats such as SWF or AVI. I am not sure however wether the PDF format supports animated GIFs at all.
RobertAs a side, I've never ever got an embedded avi to covert to pdf. I do it all in the pdf.
-
PDF outputs continually crash after editing an html source file
I have English and multiple localized versions of a RoboHelp webhelp project. I have created several PDF outputs for the localized versions. I can generate the PDFs fine when I don't touch any of the html source files.
However, I had to make a change to one of the html source files to remove a <dl> from the source file. After making the change to the source file in an outside text editor (Notepad ++), I went back to RoboHelp to generate the PDF, and the PDF output crashed.
The reason I was using an outside text editor is that when I tried to edit the <dl> HTML tags in RH, its HTML editor deleted all text within the tags being edited. There was no undo at this point. In anotehr attempt to use the RH Design editor, RH didn’t delete the <dd> or <dt> tags when those tag styles were changed to <h4> and <p>, respectively. RH inserted the new html wrapper inside the existing ones, instead of replacing it.
Also, during the PDF generation process, a Visual Basic error message will appear dozens of times stating that the application was interrupted. I must press OK to continue for each error message.
What gives with the PDF generation failing like this?I hate to say it but it sounds like something you are doing in the external editor is not liked by RoboHelp.
It could just be the way that text editor codes the file. I use EditPad Pro and that has various options for text encoding. My guess is your editor is not set to what RoboHelp expects.
Aftr that what I would do here is create a new one topic project and recreate the problem, with the minimum of text. It may help you spot the code RoboHelp does not like.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
How to generate PDF output from OracleXMLQuery
I want to generate a PDF out put from XML by using JSP. For this i writen jsp and xsl. My jsp code works fine if i include html formated xsl and it displays as a text when i pass pdf formated xls.
Here i am providing my jsp code.
I don't want to use XSQL, please provide me information ASAP.
<%@ page import = "java.sql.*,oracle.xml.sql.query.OracleXMLQuery" %>
<% Connection conn = null;
Statement stmt = null;
ResultSet rset = null;
String dbURL = "jdbc:oracle:thin:@localhost:1521:oracle9i";
try{
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
conn = DriverManager.getConnection(dbURL, "scott", "tiger");
stmt = conn.createStatement ();
rset = stmt.executeQuery ("SELECT * " +
"FROM scott.emp ORDER BY ename");
OracleXMLQuery xq = new OracleXMLQuery(conn, rset); %>
<% xq.setStyleSheet("emptablefo.xsl"); %>
<%= xq.getXMLString() %>
<% } catch (java.sql.SQLException e) { %>
SQL error: <%= e %>
<% }
finally {
if (stmt != null) stmt.close();
if (rset != null) rset.close();
if (conn != null) conn.close();
} %>
Thanks,
Ramana>
if the report output format is xls this code is generating the pdf output
>
looks like pdf is default output in template definition in xml publisher resp
so for r12 use FND_REQUEST.ADD_LAYOUT as example
v_request_id number;
xml_layout boolean;
xml_layout := FND_REQUEST.ADD_LAYOUT('XXCUSTOM','XXCONCNAME','en','00','EXCEL');
v_request_id := fnd_request.submit_request(application => 'XXCUSTOM',
program => 'XXCONCNAME',
description => NULL,
start_time => NULL,
sub_request => FALSE,
argument1 => p_date
);also see http://andyblg.wordpress.com/2012/08/23/run-concurrent-program-twice-with-different-layout-r12/ -
Output Post Processor is unable to generate the PDF output
Hi,
We are using a custom RDF to generate PDF output using a RTF template built using XML. We are facing some problem while running this XML report. The report is completing with warning because of the following reason.
"The concurrent manager has timed out waiting for the Output Post-processor to finish this request."
The problem is not because of the temp space because we printed a sample XML report which is having thousands of pages.
We have tried by changing the value of the profile option "Concurrent: OPP Process Timeout" to 5000, 10000 etc. But still the issue is not resolved.
The report is giving the output if the number of rows are less. It's failing for bulk number of rows.
It would be greatful for us if any one of you can give ideas on these...
Thanks in advance...Hi Sairam
there might be something wrong with your template,
might be improper usage of Conditional and Looping statments,
might be improper usage of nested tables,
just check you template once again
report should work for any set of data(small or large), -
How to generate a PDF output using batch file in 10G
Hello,
I am using .bat file to generate a report PDF output. I have done this many times in 6i but for 10G I am unable to do the same.
Can someone please look at the syntax below and let me know where I am going wrong.
I understand that reports are different for 6i and 10G specially .rep file but I am sure we should be able to generate a PDF file using 10G. Please let me know.
Thanks
IQ
Contents of .bat file follow
ECHO Opening parameter form. Please do not close this window.
C:\
FOR /F "tokens=1 " %%I IN ('time /t') DO (SET _TIME=%%I)
FOR /F "tokens=2 " %%I IN ('date /t') DO (SET _DATE=%%I)
SET EXP_DATE=%_DATE:~6,4%%_DATE:~0,2%%_DATE:~3,2%_%_TIME:~0,2%%_TIME:~3,2%
SET FILENAME=SEND_EMAIL_%EXP_DATE%_%USERNAME%.PDF
CD C:\Users\Documents
RWCONVERTER REPORT=C:\Users\Documents\send_email.rep USERID=scott/tiger@ORCL1 ORIENTATION=LANDSCAPE DESFORMAT=PDF DESTYPE=FILE
DESNAME=C:\Users\\%FILENAME% PRINTJOB =NORwconverter is not used to run reports:
rwconverter (Reports Converter) enables you to convert one or more report definitions or PL/SQL libraries from one storage format to another.
I think you mean rwrun:
rwrun (Reports Runtime) runs a report by starting its own in-process server (not to be confused with the default in-process Reports Server), which runs in the same JVM as the rwrun process.
This bat file has to run on the server. There is no Reports installation on the client anymore.
If you want to run a report from a client, you can make a bat file that calls the report url
See: http://download.oracle.com/docs/cd/E14571_01/bi.1111/b32121/pbr_cla002.htm#i634710 -
Barcode printing in XML report PDF output
Hi All,
I want to print barcode of invoice number / purchase order number in the XML report PDF output.
Anyone please suggest me with your ideas and experience.Hi Bogdan,
The steps mentioned in the doc is what i did in order.
I couldn't understand the step # 13 & 14.
Log in as XML Publisher Administrator
Navigate to Administration --> Font Files --> Create Font File
Available fields are Font Name and File
--> for Font Name, choose any descriptive name
--> file will browse your PC to locate the font file
Navigate to Font Mappings -->Create Font Mapping Set
Mapping name is the name you will give to a set of fonts.
Mapping code is the internal name you will give to this set
Type: 'PDF Form' for PDF templates. 'FO to PDF' for all other template types.
Create Font Mapping (this allows you to add fonts to a set)
Font Family is the exact same name you see in MS Word under Font. If you don't use the same name the font will not be picked up at runtime.
Style and weight must also match how you use the font in the RTF or PDF layout template. Normal and Normal are good defaults.
Language and Territory should remain blank (NULL) unless you have a strong business reason, as these fields can cause the font not to be picked up at runtime.
Navigate to Configuration General -> FO Processing -->Font Mapping Set. This can also be done at Data Definition and Template level, via the corresponding Edit Configuration button on those pages. The hierarchy is Site-> Data Def -> Template.
Select your new mapping set.
Make sure the font is not referenced under File --> Properties --> Custom in the RTF template file.
Under General, set a Temporary Directory. The font will be stored under a /fonts directory at runtime, initially created the first time the font is used.
Upload a template that uses your special font and test using preview or by submitting a concurrent request. -
How to download PDF output forms to presentation server without display
Hi All,
My requirement is to download the Sales Order forms and save it in local system.
I have created a custom program where I am passing a range of Sales Order no, Partner Function, Output type and Application as my input in selection screen.
Logic:
I am calling my Sales Order Abodeform using the FM: 'FP_FUNCTION_MODULE_NAME' and thereby I got the function module name of my form.
Then I am calling the FM:
Input to the FM:
ls_outputparams-nodialog = abap_true.
ls_outputparams-authority = 'X'.
ls_outputparams-getpdf = 'X'.
ls_outputparams-dest = 'LP03'.
ls_outputparams-nopreview = abap_true.
ls_outputparams-reqimm = abap_true.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = ls_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
followed by, CALL FUNCTION (FM name)
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_output_param
user_settings = ' '
is_nast = nast
is_vbdka = vbdka
is_addres = addr_key
IMPORTING
document_output_info = document_output_info
job_output_info = job_output_info
job_output_options = job_output_options
TABLES
it_vbdpa = tvbdpa "Item information
it_vbdpau = tvbdpau "Subitem numbers
it_vedpa = tkomservp "Contract Item Validity
it_vedka = tkomservh "Contract Header Validity
it_vedpn = tkomservpn "Contract Item Cancellation Data
it_vedkn = tkomservhn "Contract Header Cancellation DA
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
then , CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
e_result = ls_result
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
then i am using the below FM to get the OTF data if any available.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
IMPORTING
bin_filesize = lv_binfilesize
bin_file = lv_bin_file
TABLES
otf = ls_output_info-otfdata-> i am not sure which data to pass here. i am getting sy-subrc value as 4.
lines = lt_lines
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
Now I dont no how to link the PDF forms to below method.
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
bin_filesize = v_size
filename = D://x.pdf
filetype = 'BIN'
CHANGING
data_tab = lt_pdf.
Because in smartforms, we will convert the OTF output to PDF and that value is passed to GUI_DOWNLOAD FM as input (lt_pdf) , whereas in adobeforms the output itself is in PDF so i dont how to retreive the values from adobeforms and pass it to the above FM, so that I can save 'N' no. of sales order outputs in one PDF file.
Kindly help me out in this.
Thanks & Regards,
Karthikeyan G.Hi Vishnu,
I read the GUI_DOWNLOAD FM documentation, if I am trying to download binary type of file, It is mandatory to pass file size.
In my case, since I am having PDF file, so i don't no how to get the size of the pdf file.
As you said, if i use Convert_OTF FM, i don't have data to pass to the OTF and LINES tables.
I am having values of PDF in xstring format in ls_output1-pdf, which i got using the below FM.
CALL FUNCTION lv_funcname (FM name)
EXPORTING
/1bcdwb/docparams = ls_docparams
is_vbdka = vbdka
IMPORTING
/1bcdwb/formoutput = ls_output1
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
Kindly tell me what values i need to pass to the FM you mentioned in order to get the size of the file.
Thanks & Regards,
Karthikeyan G.
But still I am not sure, how the pdf output is coming for single input whereas if i give in a range, its failing. In single input, i am not giving binary file size still the output is coming.. but for range its not. Kindly help me out in this.
Maybe you are looking for
-
Difference between generating VO while creating EO and otherwise
Hello All, I wanted to know - Is there any difference between creating a VO while creating an EO (i.e.by checking 'Generate Default View Object') and when If I create an EO first , then seperately create a VO for the same table used in EO; and then a
-
Authorizations for BP in CRM 2007
Hello Experts, The requirement is that certain Users should not have access to BPs starting with 4 series no (eg 400100) and another set of users shouldnt have access to BP starting with 6 series no (eg 600001). These two no. ranges are also linked t
-
Is there anyway to restore a Macbook Pro to factory settings without a disk?
A friend of mine wants to restore his Macbook Pro running SL but he doesn't have any disk anymore. I don't have any disk either but I was able to do a clean install by using Internet Lion Recovery aand an external hard drive.
-
No Additional Applications..?!?!
Anytime I try to upload an application or anything into my phone I get this message.... "No additional applications designed for your device were found." This is even when I try to download apps from this website and put them on my phone... someone p
-
Cross-Company purchasing - Release 4.6C
Hi All, The issue we are experiencing is specifically to do with SAP cross company purchasing, where we specifically want to raise a purchase order in company A against an outside vendor but against a cost centre in company B (no stock transfer invol