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 =NO

Rwconverter 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

Similar Messages

  • How to generate a PDF report using ADF RichTable?

    Hi,
    I am using JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660. I am displaying my data from db in a JSF Fragment(JSFF) using ADF RichTable component. Actually now I want to generate a PDF report using that data shown in the table on click of a Generate Button. Can anyone please provide me code or sample for that?
    Thanks,
    Vikas

    http://kohlivikram.blogspot.com/2009/04/generate-pdf-report-in-adf.html
    Thanks,
    Navaneeth

  • How to generate a .pdf output for a BLOB column?

    Hi friends,
    (Forms 6i)
    I have a .pdf into a blob column and I want to show that .pdf as my report output...
    Example-> The report only have this query:
    select myblob_ column
    from mytable
    the column in database has the .pdf ... but when I execute the report, it only appears some information when I put the item to show as Text... But obviously it's not the ofriginal pdf...
    If I try to put as OLE2 doesn't appear either anything and if I try to put it as an Image, it appears a message error.
    Any ideas?
    Thanks.
    Jose.

    Hello,
    How has been "uploaded" the PDF file in the BLOB ?
    Regards

  • How to generate a PDF using a webservice?

    Hi all,
    I've got the following code in a webservice that generates a PDF:
    // Create a ServletOutputStream object
    ServletOutputStream oOutput = objResponse.getOutputStream();
    // Set the HTTPResponse objects content type
    objResponse.setContentType(objMyOutputContext.getContentType());
    // Get the length of the output stream
    int outLength = objMyOutputContext.getOutputContent().length;
    // Create a byte array and allocate outLength bytes
    byte[] cContent = new byte[outLength];
    // Populate the byte array by invoking getOutputContext
    cContent = objMyOutputContext.getOutputContent();
    // Write a byte stream back to the web browser. Pass the byte array
    oOutput.write(cContent);
    The problem is that I don't know how to pass the HttpServletResponse object (objResponse) to the WebService so I can obtain the ServletOutputStream which is needed to create the PDF form in a web browser. When I pass this object there's an error because this type of parameter is not serializable.
    Can anyone help? Does anyone know how to serialize this object? Is there any other possibility to generate a PDF form using a webservice with a serializable parameter?
    Thanks

    Hi,
    It sounds good, maybe you can get more info at http://www.adobe.com/devnet/
    Good luck and regards

  • Problem with number-fields in PDF Output Using FOP

    When generating PDF Output using FOP as described in the utilitiy provided in the HTMLDB Studio http://htmldb.oracle.com/pls/otn/f?p=18326:44:12104450162492733947::::P44_ID:1522
    formatted numbers over 1,000 are resolved as characters (because of the comma) and are therefore right justified. This results in alignment issues for numeric columns.
    Does anyone have any ideas on how to work around this.
    Thanks,
    David

    Hello,
    Your probably going to have to edit the xslt to get the result either by stripping out the comma or by setting that column to explicitly align the way you want it.
    Carl

  • How to use batch files to send the load from ODC to UCM?

    Hello all.
    We're trying to do this along this week and, until now, we couldn't figure out how to use batch files containing metada on ODC and commit the output files to UCM.
    So these are our specs:
    VM 1
    ODC - 10gR3
    OS - Windows XP 32 bits SP3
    DB - Oracle DB 11.2
    VM 2
    No ODC
    UCM 11.1.1.6
    OS - Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
    We've opened a ticket with Oracle Support to know how we should do this. The number is SR 3-6108348211.
    Let me try to explain what we want to do:
    1 - we have a batch file with all metadata of many files from UCM
    2 - we want to use this file in ODC, so the application will convert the images and commit them to UCM
    3 - we should see all these files, their metadata, thumbnails and related content in UCM
    4 - this is a batch file example we want to send to ODC:
    @Properties LocalData
    IdcService=CHECKIN_UNIVERSAL
    dRevLabel = 1
    primaryFile=/tra/Relatorio_UHPF-03-04-2008-M-RL-EA.pdf
    dDocName=TRA_33
    dDocTitle=UHPF-03-04-2008-M-RL-EA
    dSecurityGroup=MAM_TRA
    dDocType=Document
    dDocAuthor=luis.neotropical
    dInDate=14/05/08
    xC_CLASSIFICACAO=EA - Educação Ambiental
    xC_DATA=01/04/08
    xC_DATAVALIDADE=30/04/08
    xC_LOCALIZACAOFISICA=N/D
    xC_USUARIO_DEP=LUIS FERNANDO DA CAMARA
    xC_TIPO=RL - Relatório
    xC_USINA=UHPF - USINA HIDRELÉTRICA PASSO FUNDO
    xC_FICHA=MAM - Relatorios Ambientais
    xC_IDDOCMAN=TRADocID=157
    xC_IDANEXODOCMAN=TRAFileID=33
    xC_DESTINOINICIAL=Tractebel
    xC_ORIGEM=Neotropical
    xC_FORMATODOCUMENTO=Digital
    xC_GENERODOCUMENTO=
    xC_DOCPRINCIPAL=Sim
    @end
    <<EOD>>
    5 - So, when we use this batch file on ODC, the file (or image) will be converted, all metadata attached and then sent to UCM.
    But we don't know how to do the link between ODC and UCM. The Oracle Support says it is necessary to do some customization. In the books I could not find any info about how to do, just generic information or how to use ODC.
    Is there a way (without customization) to do that? Can anyone give us a step-by-step guide?
    Thanks for all help and guidance.
    Fernando

    What is the one-sentence requirement or issue you're trying to solve?
    If you only want content to be converted to pdf, then you should already have that with your items checked into UCM (if you have IBR enabled).
    if you really want to feed content into ODC using a batchfile, my first thought would be to create a transformation utility/app that will convert your batchfiles to the expected ODC import server folder job format. then you'll have to move or map the content to match.
    Again, without knowing the exact issue/business requirement you're trying to work through, I'd say a redesign of your ingestion process may be in order.
    If you feed content directly into ODC through any supported ODC method (watch folder, email, scanner, fax, etc), then you'll be able to use everything ootb as you'll be able to auto-commit directly into UCM or add an indexing step and manual commit to UCM.
    ODC is basically a front end for indexing and extra ingestion options to your content repo.
    IPM is basically the same, but it includes some extra process-related details (process metadata, process integrations/bpel/bpm, other system integrations/ebs/crm, etc). I don't feel that IPM would help with the transformation-specific question you've put out there.
    -ryan

  • Layout to be generated as PDF output in a Spool

    Hi ,
    I am generating a layout using smartform. My requirement is layout has to be generated as PDF output in a Spool.
    Please let me know how to write the code  in my driver program to generate the spool or any FMs related to this. 
    Thanks in advance.
    Regards,
    Jyothi
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Jul 14, 2009 12:44 PM

    hi
    use  below sample code  hope this may help u out
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    IMPORTING
              fm_name            = fname
    CALL FUNCTION fname
      IMPORTING
              job_output_info    = impdata..
    i_itcoo[] = impdata-otfdata[].
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
            EXPORTING
              use_otf_mc_cmd         = 'X'
            IMPORTING
              bin_filesize           = binsize
            TABLES
              otf                    = i_itcoo
              doctab_archive         = idocs
              lines                  = t_pdf
            EXCEPTIONS
              err_conv_not_possible  = 1
              err_otf_mc_noendmarker = 2
              OTHERS                 = 3.
    CALL METHOD cl_gui_frontend_services=>file_save_dialog
              CHANGING
                filename = filename
                path     = path
                fullpath = fullpath.
    CALL FUNCTION 'GUI_DOWNLOAD'
              EXPORTING
                bin_filesize = bin
                filename     = fullpath
                filetype     = 'BIN'
              TABLES
                data_tab     = t_pdf 
              EXCEPTIONS
                OTHERS       = 99.
    thank you
    surya

  • 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.

  • 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 form from a webform

    HOW TO GENERATE POPULATED PDF?
    We used to fill out the forms at work longhand (yes, with a pen!)
    Now since we created the form using Acrobat 9 Pro, we just enter the data on computer, and print out the form.
    Acrobat 9 form creator was great - I found it quite easy to use.
    Now, I'd like to automate the process even further.
    Each week we receive response forms from our website (maybe about 20-25).  These response forms have about 10 fields that
    people have completed with their information.Currently I am printing  out the response form and then open up the acrobat form and I enter their information into the pdf (and then print).
    1. Is it possible to automatically populate a pdf from the response form ? (without me having to print out the response form and re-enter the data)
    2. Is it really complicated; is this something I can do with some software/learning or do i need a programmer?
    Thank you kindly for any advice or direction.

    It sounds like you are using the forms in your local shop and that e-mail may work fine. If e-mail submission works fine (not recommended for normal use, but find in a controlled environment where you can be sure each e-mail client is running MAPI), then add a submit button to submit a FDF or XML data file (I like FDF when using forms in Acrobat, Designer only uses XML forms). You can then import the FDF or XML data to the form and print it. You can even manipulate the FDF or XML data and add it to a database of some form, furthering your processing even more.

  • How to generate a PDF 417 Barcode by assigning a dynamic value at runtime?

    PDF 417 Barcode Description given in the Livecycle Designer 8.2
    : PDF 417 Non-Scriptable Barcode. Value must be assigned to this barcode at design time, and this barcode will not update after form object value changes.
    And my question is how to generate a PDF 417 Barcode by assigning a dynamic value at runtime?

    All the information you described points to the problem that reports seems can't generate to a file which already exist. You can verify that by simply doing
    r30run32 C:\AC_REPORT.REP DESTYPE = FILE DESFORMAT = PDF BATCH = YES' desname=c:\temp\ac_report.pdf
    several times. If first time the report is successfully generated in c:\temp\ac_report.pdf, but not the second, third time, then it looks like there is a bug on reports r30run32 executable.
    You may try to find any latest patch for Reports 3.0 to see if patch can solve you problem. But keep in mind Reports 3.0 is de-supported, you are better to move to 6i or 9i reports.
    Thanks,
    -Shaun

  • Jfmerge:Invalid printer Type (98) when generating  a pdf output.

    I am receiving "Invalid Printer Type (98)" error message when i call jfmerge from my servlet to generate a pdf output. Any idea?
    Thx,
    Anupam

    Hi Frazer,
    I am indeed using Central Output Server not the Central Pro. Is there any trial version available for Central Pro? Any information on this will be greatly appreciated.
    Thanks,
    Anupam

  • How to generate an invoice output programmatically?

    I need to generate an invoice output(Sapscript or smartform output) pragrammatically by input an invoice number and then I can obtain its spool number.I have known how to get its spool number already. Now my concern is how to generate an invoice output programmatically. Who can give me some hints here? Thank you very much.

    Hi Sudhir, Thanks for your helps. But I think I may in a wrong way for my issue. Though RSNAST00 cannot process those existed invoices due to their dispatch time (NAST-VSZTP) or status (NAST-VSTAT), while those invoices could still be printout by using VF31, I may NOT SUBMIT RSNAST00 in my function module, instead I should look for other proper print program to be submit. My function module should process those existed invoices as well without changing their NAST date.
    So if you have any suggestion to other print program (maybe some program above RSNAST00), please advice.
    Thanks and have a great long weekend.
    Jack

  • How to generate new perner number using Abap Code in pa0002. what is the fu

    how to generate new perner number using Abap Code in pa0002. what is the function Module used.

    hi
    define internal number ranges for ur implementation then when u run PA 40  do not input any employee number , system will generate the employee number automatically.
    Regards
    sameer

  • How we generate Surrogate Keys without using identify column

    Hi All,
    How we generate Surrogate Keys without using identify column.
    Regards,
    Manish

    There are various options
    1.IDENTITY columns - simplest to implement
    2. Using NEWID(), NEWSEQUENTIALID() functions (if you want to use GUID values as surrogate keys)
    3. SEQUENCE object (if SQL 2012 and above)
    4. Using custom functions to generate keys yourself
    This is an good article which compares use of GUIDs against integers as surrogate keys
    http://blog.jonathanoliver.com/integers-vs-guids-and-natural-vs-surrogate-keys/
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

Maybe you are looking for

  • My hard drive S.M.A.R.T. status is reading 'Failing' for my 27' iMac. Does this mean that I need to take my iMac to the Apple Store?

    Ok, the whole story in a nut shell. My computer was lagging pretty badly and so I turned it off and on again, obviously. But when I turned it back on, I couldn't get to the login screen, the computer would just freeze at the white loading screen with

  • PDF Portfolio Templates

    The instructions given with this software download don't match the real options available to me "File\Create....... Instructions: To Install Your PDF Portfolio To install a custom layout, select File > Create > PDF Portfolio. In the "Create PDF Portf

  • Serial no. invalid problem and problem with creating PDF file using adobe acrobat x pro

    I tried to download adobe X pro on my new computer and entered the serial No, bu the program said the number is invalid. Actually the number is valid, confirmed by the info listed in my account. please help! also I downloaded the trial version now, b

  • Reports for MM/Projects/PM

    Hi Sap Gurus Please help i would like to get a report that will show me PR number/ PO number/ Priject spent per plant our company is a manufacturing industry, they have new projects erc Regards Susan

  • Paint equivalent to MS Paint

    I recently bought iMac 14.1. I would like to know is there paint for mac equivalent to MS Paint. before that I worked only in windows environment which looks more friendly environment. Earlier I used to take snapshot from website and modify it in Pai