Conditional pdf Output for a report

Hi, depending on the value for one particular filed in my XML, I need to generate the pdf output.
For eg.. If Reqd = 'N', I don't want the XML publisher to generate the pdf output else if the value is 'Y', it should generate the output.
In my current implmenetation, The pdf report is getting generated for all cases.. i need to put the above mentioned check to restrict it .
If you have an idea on how to acheive it, please let me know.
Thanks and Regards
Madhu

Hi,
The first thing you'll need to do is to create a form field before any content in your rtf file.
The form field shall contains the following code in the Add help text:
<?if:REQD='N'?>Restricted content..<?end if?>
<?if:REQD='Y'?>The next form field shall be placed in the bottom of your file, containing:
<?end if?>I hope that helps.
BR
Kenneth
Edited by: Kenneth_ on 2010-09-22 09:05

Similar Messages

  • Issue in PDF output for xml report

    Hi,
    I developed one template in RTF and output in pdf is looks fine.
    I have issue in the output, For some invoices i have more lines,when the line details comes to next page for the same invoice i can able to view only the lines information in the next pages for the same invoice without any header details.
    I need header information too if the lines comes to the next page.
    i given <G_Headers> in the top of the page and <End for each> in the end of the page.
    please how to resolve this issue.
    with regards
    Ram

    There are lot of ways of doing this,
    Simple one is given here.
    If you are using table to display the rows, there is option in word table properties, to repeat the header in each page,
    Repeating table headers
    If your data is displayed in a table, and you expect the table to extend across
    multiple pages, you can define the header rows that you want to repeat at the start
    of each page.
    1. Select the row(s) you wish to repeat on each page.
    2. From the Table menu, select Heading Rows Repeat
    Check out in user guide.

  • How to define PO Output for Communication Report

    Hi,
    I want to edit and add some features in the PO Output for Communication Report with 'POXPOPDF' short name by the xml publisher is there a way i read some where i found a document id Note:387670.1 but i found nothing but i want a detailed description to what i do exactly.
    Any Advice Will Be Approtiated.
    Thanks

    Hi,
    Depends on what you want to "edit and add".
    The document on note 387670.1 https://metalink.oracle.com/metalink/plsql/docs/Document_Printing_White_Paper.pdf has detailed instructions on what you need to do, plus examples.
    Please advise what you are trying to achieve.
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • Excel Output For Standard Report In R12

    Hi Experts,
    My Client wants Excel Output for Standard Reports ( ex:-Open Purchase Order Report (by cost center)_xml)
    I changed the default output to Excel in Template of xml publisher administrator Responsibility.
    Now it is showing the Excel output, but The layout of report is not same as layout which in text output of standard report.
    Please guide me is there any solution to develop the reports layout in ms-excel using xml file rather than rtf template.
    Thanks
    Durga.

    Hi Alex,
    Thanks for your replay.
    Generating the new rtf template which is same as standard layout is difficult task for us. Actually we have 120 reports which have same requirement.
    Is there any other solution for this . please guide me
    Thanks
    Durga
    Edited by: 805567 on Jan 23, 2012 12:33 PM

  • Cancel_flag in PO Output for Communication report

    I'm trying to build logic into an RTF template for the "PO Output for Communication" report to handle cancelled lines. The cancel_flag can be set to "Y" at any of 3 levels - PO Header, PO Line and PO shipment. The field is called the same thing (cancel_flag) at all 3 levels but it doesn't always exist at all 3 levels. What do I call the field in my "IF" statement, so that it is looking at the correct field? Right now, if I am at the line level and I want to check the cancel_flag, if it doesn't exist, it looks at the cancel_flag at the shipment level.

    have to see your for-each statements.
    and you can do it, by using .. to go up one level
    example from current level to go up4 level up ../../../../CUSTOM_FLAG
    ../../../CUSTOM_FLAG three lvl up.
    Need to know the cancel_flag element you said, i can see only one :) in the given xml.

  • Add new font to PO Output for Communication Report

    I'm trying to add a new font (Edwardian Script ITC) to the PO Output Communication report. I have added the font file through XML Publisher Administrator, and I have an RTF template report and a test XSL-FO report both correctly displaying the font. The PO Output for Communication report is not displaying the font and I believe it has something to do with the fact that it is a java concurrent program.
    Any ideas on what additional steps need to be done to get this font to show up on the PO Output for Communication? Has anyone been successful in adding a different font to this report?
    Thanks,
    Suzanne

    My RTF template is showing the font, and my test XSL-FO template is showing the font. The PO Output for Communication XSL-FO template is NOT showing the font.
    I even tested by replacing the PO Output for Communication template file with my test template file. When I do that the font not applied in the PO Output for Communication report, even though it was applied using the same template in a test report.

  • PO Output For Communication Report Customization

    Hi All,
    I'm working on R12 'PO Output For Communication' report, it's xml report with executable as Java Concurrent program. I want to add additional fields to the report, since it's java concurrent program, how can i customize the report. Please help to customize the query of the report, where can i find the query, how to proceed.
    Kindly help at the earliest.
    Thanks

    The program is based on 4 views as below:
    PO_HEADERS_XML
    PO_LINES_XML
    PO_LINE_LOCATIONS_XML
    PO_DISTRIBUTIONS_XML
    for relases you may refer to:
    PO_RELEASES_XML
    You need to modify the above mentioned views to add new fields.
    Actually the field names in the views are converted to XML tag with the same name.
    Thanks,
    PS.

  • Excel Output for Standard Reports using XML Publisher

    Hi All,
    Customer wants to get Excel Output for the existing Standard/Custom Reports using XML Publisher. I followed the following procedure.
    1. Changed the output to XML for Concurrent program ( Trial Balance - Detail )
    2. Used the Existing seeded Template
    3. Ran the Report using EXCEL as the output.
    When I clicked on View Output, I am not able to see the Excel output. I am seeing the HTML tags in the output window. Verified that Viewer Options existed for Excel as follows:
    File Format=Excel, Mime Type=application/vnd.ms-excel.
    When I ran the report with PDF output. I can see the PDF output.
    Ran the HTML output with new Viewer Option ( File Format=HTML, Mime Type=application/vnd.ms-excel) then I can see the output in Browser in the Excel format. I did this test after going through the Metalink Note: Note:316752.1
    My question is.. Do I need always choose the HTML ouput in the options window to trigger the Viewer option for HTML. Customer may not like this idea. He would like to choose the Excel Output and see the output in Excel format either in the Browser or Microsoft Excel.
    Can someone in this situation before help me out.
    Thanks,
    V

    Questions rephrase:
    1. Is the output is same for HTML and Excel options ?
    2. Why the output is viewable with HTML option and not with Excel option ?
    Customer has XML Publisher Version 5.0.1 and in the process of applying 5.6.1
    Thanks,
    V

  • Customize standard PDF layout for PO Report

    Hi,
    I need to customize the layout of standard PO report in R12 instance.
    Navigation Path:Purchasing Vision Operations (USA) -->Buyer Work Center -->Orders
    Under view : My open orders,click on a specific PO number.
    At the detail level,on the top right side Actions seleceted as 'View PDF' and then click on GO button.
    The PO report output opened in a PDF format.Here I need to do some modifications for the customization report.
    So could you please tell me where do I start from.The changes that I did should be shown in the PDF PO report Output.
    One more query is : How can I indentify this PDF PO report output belongs to which concurrent program?
    Appreciate your help.
    Thanks,
    Radhika
    Edited by: user10491126 on Dec 21, 2009 10:27 PM

    Hi,
    Welcome to forum !!!
    Your buyer work center form basically points to standard PO functionality and bring all info in 1 page for buyer. Please check PO Output for Communication process for details.
    One more query is : How can I indentify this PDF PO report output belongs to which concurrent program?
    Ans : I believe "PO Output for Communication" ( it's a request in POXPOPDF module) which generate the PDF, its a Java concurrent program.*
    Hoep this will help.
    Regards :)
    S.P DASH

  • PDF Template for XML Report

    We are trying to create a PDF Template for an XML Publisher Report using Adobe Acrobat Profession Version. The PDF Template works fine for one employee but when the start and end body tags are inserted in the template, the concurrent process to submit this reports completes in warning.
    The OPP Log shows the below details
    [6/30/08 1:26:36 PM] [102436:RT20660155] XML Publisher post-processing action complete.
    [6/30/08 1:26:36 PM] [102436:RT20660155] Completed post-processing actions for request 20660155.
    [6/30/08 2:29:59 PM] [OPPServiceThread0] Post-processing request 20660180.
    [6/30/08 2:29:59 PM] [102436:RT20660180] Executing post-processing actions for request 20660180.
    [6/30/08 2:29:59 PM] [102436:RT20660180] Starting XML Publisher post-processing action.
    [6/30/08 2:29:59 PM] [102436:RT20660180]
    Template code: Test123
    Template app: XBOL
    Language: en
    Territory: US
    Output type: PDF
    [6/30/08 2:29:59 PM] [UNEXPECTED] [102436:RT20660180] oracle.apps.fnd.cp.opp.PostProcessorException: XML Publisher output file not created
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:281)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    I think this is do which how i am creating the PDF Template. When i am not inserting the repearting group tootips then the PDF Template works abosoultey fine for one employee
    the text inserted in the Toottip for the start of the repeating group - @{rep_field="BODY_START"}@
    Tootip for each repeating row @{rep_field="T1_G1"}@ ,@{rep_field="T1_G2"}@ and so on.
    Tootip for end of the repating group @{rep_field="BODY_END"}@

    XML Data
    <?xml version="1.0"?>
    <!-- Generated by Oracle Reports version 6.0.8.11.3 -->
    <MODULE1>
    <LIST_G_HGL>
    <G_HGL>
    <EMPLOYER>HWS</EMPLOYER>
    <BOX_1>YEN</BOX_1>
    </G_HGL>
    <G_HGL>
    <EMPLOYER>HGL</EMPLOYER>
    <BOX_1>YE</BOX_1>
    </G_HGL>
    </LIST_G_HGL>
    </MODULE1>
    Further when i tried using the Template Viewer of XML Publisher Desktop with the above XML File and the template i created in Adobe Acrobat Professional (i am mailing the template to [email protected]) , i got the following error
    [070808_093926007][][STATEMENT] MergerEngine.modify : template forms value is being changed......
    [070808_093926007][][STATEMENT] MergerEngine.modify(String, String, String) block ::: FieldName -> Start , FieldValue ->
    [070808_093926007][][STATEMENT] MergerEngine.modify(String, String, String) block ::: FieldName -> End , FieldValue ->
    [070808_093926038][][STATEMENT] MergerEngine.modify(String, String, String) block ::: FieldName -> EMPLOYER , FieldValue -> HGL
    [070808_093926054][][STATEMENT] MergerEngine.modify : template forms value is changed......
    [070808_093926054][][EXCEPTION] java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
         at java.util.Vector.elementAt(Unknown Source)
         at oracle.apps.xdo.template.pdf.RepeatEngine.getGapBetweenGroups(RepeatEngine.java:449)
         at oracle.apps.xdo.template.pdf.RepeatEngine.<init>(RepeatEngine.java:154)
         at oracle.apps.xdo.template.pdf.RepeatEngine.<init>(RepeatEngine.java:101)
         at oracle.apps.xdo.template.FormProcessor.processRepeatableFields(FormProcessor.java:1742)
         at oracle.apps.xdo.template.FormProcessor.processRepeatableFields(FormProcessor.java:1684)
         at oracle.apps.xdo.template.FormProcessor.process(FormProcessor.java:1445)
         at oracle.apps.xdo.template.FormProcessor.process(FormProcessor.java:1583)
         at oracle.apps.xdo.runner.PDFFormRunThread.runFormProcessor(PDFFormRunThread.java:131)
         at oracle.apps.xdo.runner.PDFFormRunThread.runFormProcessor(PDFFormRunThread.java:73)
         at oracle.apps.xdo.runner.PDFFormRunThread.run(PDFFormRunThread.java:45)
    [070808_093926054][][STATEMENT] <--- before calling createContents() --->
    [070808_093926086][][STATEMENT] <--- before calling addFontInfoToResources() --->
    [070808_093926086][][EXCEPTION] oracle.apps.xdo.template.pdf.exception.FatalException: page Key can't be found to duplicate page......
         at oracle.apps.xdo.template.pdf.RepeatEngine.getDupPageKey(RepeatEngine.java:1421)
         at oracle.apps.xdo.template.pdf.RepeatEngine.composePages(RepeatEngine.java:827)
         at oracle.apps.xdo.template.FormProcessor.processRepeatableFields(FormProcessor.java:1743)
         at oracle.apps.xdo.template.FormProcessor.processRepeatableFields(FormProcessor.java:1684)
         at oracle.apps.xdo.template.FormProcessor.process(FormProcessor.java:1445)
         at oracle.apps.xdo.template.FormProcessor.process(FormProcessor.java:1583)
         at oracle.apps.xdo.runner.PDFFormRunThread.runFormProcessor(PDFFormRunThread.java:131)
         at oracle.apps.xdo.runner.PDFFormRunThread.runFormProcessor(PDFFormRunThread.java:73)
         at oracle.apps.xdo.runner.PDFFormRunThread.run(PDFFormRunThread.java:45)
    End of Process.
    Time: 0.251 sec.
    FO Formatting failed.

  • Regression testing on PDF output files from Reports?

    My current client is looking to do more automated regression testing of the output (content) of their reports, most of which are output from Reports6i into Adobe Acrobat PDF file format. Is anyone currently using or aware of a tool (QARun, WinRunner, etc.) that will do this? (Most of the tools can do a binary comparison of the PDF files that were output, but we need something that will look into the PDF files themselves and tell us where any differences are found in the actual content (text) of the report itself.)
    Thanks in advance for any info anyone can provide!
    - Bill

    Dear Nick,
    Just ensure a printer is configured. This can be done by typing in echo $PRINTER at the $Prompt.
    If it returns null then configurea printer and i fell this should resolve your problem,
    Since it did resolve my problem.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Nick Mavrakis:
    I am having some trouble getting pdf output in the unix environment from Reports 6i.
    If I kick off a defined report file (.rep) from the command line as follows:
    rwrun60 testreport.rep destype=file desformat=pdf desname=testreport.pdf userid=connection_details
    I get the following errors:
    REP-0004: Warning: Unable to open user preference file.
    REP-3300: Fatal error in toolkit.
    UI-9: This function call is out of context
    If I run the command without the file output options (rwrun60 testreport.rep userid=connection_details) then the report opens up on the screen correctly. From here, if I try to generate a pdf file, I get the following error:
    REP-1800: Formatter error.
    The report is defined as character type, and is a simple listing of approximately 50 records from a database table. There are no graphics or any pl/sql defined in the report.
    Has anyone had similar problems in trying to do this?
    Any help is greatly appreciated.
    Cheers
    Nick<HR></BLOCKQUOTE>
    null

  • How to add a logo to 'PO Output for Communication' report

    Dear All,
    There is a Standard Concurrent Program 'PO Output for Communication' in PO module.
    Can you please let me know which rtf template is being used for this report?
    Actually I need to add a company logo to this report, but I am not able to find out the layout where we need to place the logo.
    Thanks in adavance.

    Hi,
    There is a Standard Concurrent Program 'PO Output for Communication' in PO module.
    Can you please let me know which rtf template is being used for this report?
    Actually I need to add a company logo to this report, but I am not able to find out the layout where we need to place the logo.What is the application release?
    Please see these docs.
    POXPOPDF Seeded RTF Templates for the PO Output for Communication [ID 549508.1]
    How to modify XSLFO report to add Logos and also watermark the draft for non approved PO print reports which are possible in XML? [ID 420671.1]
    New Template Not Picked By PO Output For Communication [ID 416578.1]
    POXPOPDF PO Output For Communication Completes In Error when using RTF template [ID 434774.1]
    R12 : PO Output For Communication: Logo File Does Not Show Up in PDF output [ID 1121811.1]
    Thanks,
    Hussein

  • Ditafm-output.ini and PDF output for different situations

    I'm using a DITA 1.2 structured app and templates that I've set up. I'm generally happy with the output that I'm getting now, but I've also come to realize that I have two different situations for PDF output--in situation one, I need to set up for printed books, i.e., facing pages, keeping chapters starting on right-hand pages and so on. Situation two is for electronically-distributed PDFs that are NOT books--files that customers might print themselves, probably not double-sided, so I don't need facing pages with the associated blank pages in the file, and so on.
    I'm using flags in the ditafm-output.ini file to control the pagination for the printed book in my output. Both situations currently use the same output templates, though I may create a single-sided template for situation two. That's easy enough.
    My question, then, is this: It seems to me that I'll need two different ditafm-output.ini files for the two situations. Is there an easy way to switch between them? Output seems separate from the structured application, and I don't need or want two separate apps.
    The best I can think of at the moment is to create a second ditafm-output.ini file with the settings I want for situation two, name it ditafm-output_foo.ini and change it to the "real" name when I need it. This, of course, introduces a potential overwrite disaster. Naturally, I'll keep backups.
    Unless there's a better way??

    That's the only way I can think of using "default" Frame to support multiple output types. To make it less error-prone you might set up batch files that do the copying .. just run the right batch file before you build each type of book.
    OR .. you could use DITA-FMx which lets you define an INI file for each book-build (and provides many more features).
         http://leximation.com/dita-fmx/
    Cheers,
    Scott Prentice
    Leximation, Inc.
    www.leximation.com

  • ALV output for Purchase reports

    Hi Friends,
    How can I have ALV output for my Purchase reports like ME2L, ME2N, ME2M. My scope of Lists do not have ALV output as yet. How do we configure it..?
    Thanks in advance.
    Sarvesh

    which ECC version are you working on? I think versions below 4.7 didnt have ALV (im not sure though)
    Try this  path :
    SPRO->Materials mgmt->purchasing->Reportng->Maintain Purchasing lists->Scope of lists->Define scope of list.
    check if ALV is maintained here.  if not , create ZALV by Copying from ALLES or make your own new one ZALV  , and inside ZALV  , make sure to Tick the  "Use ALV grid Control"  in the last  tab "settings for ALV  grid control"

  • No XML output for a report Oracle 11.5.10.2 RDBMS 10.2.0.5.0

    I created a very simple rdf and ran it without problems.
    I then generated an .xml file and loaded this into into the template builder using xml publisher.
    I created the rtf and using xml Publisher administrator created a template and data definition for my report (TESTRDF)
    "The xml page cannot be displayed
    Cannot view xml input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    The following tags were not closed: TESTRDF5, LIST_G_VENDOR_NAME. Error processing resource 'http://cc002101.smart.star.net...
    Here is an example of the xml
    "- <LIST_G_VENDOR_NAME>
    - <G_VENDOR_NAME>
    <VENDOR_NAME>Vendor </VENDOR_NAME>
    <INVOICE_NUM>141</INVOICE_NUM>
    <AMOUNT_PAID>184</AMOUNT_PAID>
    <INVOICE_AMOUNT>184</INVOICE_AMOUNT>
    <VENDOR_NUMBER_>1</VENDOR_NUMBER_>
    <VENDOR_ID>1</VENDOR_ID>
    <INVOICE_ID>1</INVOICE_ID>
    <WFAPPROVAL_STATUS>NOT REQUIRED</WFAPPROVAL_STATUS>
    <INVOICE_DATE>20-DEC-07</INVOICE_DATE>
    <DOC_SEQUENCE_VALUE>109624</DOC_SEQUENCE_VALUE>
    <HR_DETAILS_>HR changed </HR_DETAILS_>
    <ORGANISATION_ID_>102</ORGANISATION_ID_>
    <APPROVAL_GROUP_ />
    </G_VENDOR_NAME>
    "

    I would recommend checking the content of the file on the server. The problem with displaying an XML file through the browser is that it won't always display it properly, for example if there is a character id doesn't recognise.
    Having opened up the original file, yuo should be able to see the issue more easily.

Maybe you are looking for

  • Question about use of HypFindMember in HFM (It doesn´t work)

    Hello to all. I posted this message in Financial Consolidation forum, but there suggested me to better post this message in the Essbase forum. Hope someone can help me with this issue. I'm just a beginner in this matter. I'm trying the HypFindMember

  • Database Links Help

    I want to create a dynamic PL/SQL Portlet which displays an image based on a value in a remote database. Can someone explain how to use Database Links in Oracle Portal and then how to create the public synonym so it can be accessed in the SQL? I've t

  • Is there a way to calculate a date field based on aother date field in sharepoint list?

    In a SharePoint list, I have a 'Start of Use Date' and need to ensure the 'Review Date' is no more than 14 months after the 'Start of Use Date', but can't figure out the formula.  Can you help?

  • Client 000, 001 and 066

    Hi everyone, Pretty new to SAP. I am struggling to find answers to the following questions: How do you use client 000, 001 and 066? Apart from initial installation and support (066) can theses clients be used in development, testing and production en

  • TS3991 Cannot create or save files in Apps that use file sync to iCloud

    Frustrating problem!!! Any Apps (third party AND Apple) that have the option to sync data and/or documents to iCloud will not function properly on OS X 10.8.3. Generally I am waiting for release of 10.8.4 to see whether this solves the problem, howev