Bar codes in XML Publisher

I have a requirement to show Barchodes corresponding to Item Number in my XML publisher template.
Steps Followed:
I have created a form field corresponding to that Item Number and assigned a bar code font to that field. And previewed the same via Oracle template Builder. Bar code section is not populated.
Please clarify why the form field is not getting populated in Case of Bar code fonts.
If there is an alternative, Please suggest ASAP.

Is the data your want to show as a barcode coming out onto the published document now?
If so this is simple "font-change" in the RTF template. You also have to wrap the field with a leading and trailing * (assigned to the barcode front to) so the scanner knows when to start and stop its reading (so to speak)
You will also need to create a custom property that maps where the font file can be found on the server in the RTF templage.
I have some documentation i wrote up i can send you if you provide your email address... i should just put in on a web page...

Similar Messages

  • How can i write the code in xml publisher desktop

    hi all
    How and where can i write the code in xml publisher desktop ???
    shall i know how to write xml code or what ??
    in which part can i write the code if i have more than one query ?

    hi dear
    Thanks for ur replay...
    What i mean is : i used to work on reports builder,so :
    1- i used to create more than query in some reports.
    2- create formulas ,procedures....
    NOW i want to create the same reports by using xml publisher desktop, so how can i do that...
    when i use {color:#ff0000}report wizard{color}, i can not or i don`t know how to use more than one query, create formulas or procedures.
    Please help me.
    Thanks again.

  • How to change amount in Bar chart in XML Publisher

    Hi all,
    I want to change a amount in chart in INR.
    I have created one bar chart for report in which on x-axis i have displayed a Month-Year and on Y-axis i have displayed a Amount.
    But when i insert a chart it will automatically takes amount in Million, but i want to change that amount in INR.
    also i want to display that INR amount above each bar.
    How should i do this ??
    can anyone help me regarding this?
    ITS URGENT....... :)
    Thanks,
    Ganesh

    Thanks...
    What should i do to get rid of this 100M and 100k??
    client want it should display like 10,00000 or 100,000 like this ..
    Thanks
    Ganesh

  • Have messy code when open a xml publisher report in OAF

    Dear all,
    I use xml publisher to generate a pdf report in OAF,but have messy code when open pdf report in my local machine.
    I try to change the pdf to html format,and the report display ok in local machine.
    It's also ok when i run in server.
    So i think may be my project'Character Encoding in Jdeveloper tool is wrong,
    i try to set the character encoding 'UTF-8/UTF8/GBK/GB2312',
    but still have messy code.
    Here is my code:
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    String event = pageContext.getParameter("event");
    if("GenerateReport".equals(event))
    String auctionHeaderId=(String)pageContext.getParameter("auctionHeaderId");
    Serializable[] Parameters = {auctionHeaderId};
    // Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
    DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
    try {
    ServletOutputStream os = response.getOutputStream();
    // Set the Output Report File Name and Content Type
    String contentDisposition = "attachment;filename=EmpReport.pdf";
    response.setHeader("Content-Disposition",contentDisposition);
    response.setContentType("application/pdf");
    // Get the Data XML File as the XMLNode
    XMLNode xmlNode = (XMLNode) am.invokeMethod("auctionHeaderById",Parameters);
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    //Generate the PDF Report.
    TemplateHelper.processTemplate(
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    APP_NAME,
    TEMPLATE_CODE,
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF,
    null,
    pdfFile);
    // Write the PDF Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    catch(Exception e)
    response.setContentType("text/html");
    throw new OAException(e.getMessage(), OAException.ERROR);
    pageContext.setDocumentRendered(false);
    pls help me !
    thanks,
    Tao.

    Can anybody help me?
    Best regards!
    Tao

  • XML PUBLISHER ERROR :Environment will now switch to UTF-8 code-set.

    Hello ,
    I have developed a new XML Publisher report and when I submit request that is coming as Completed Warning Status and the Log file is given Below.
    When I consulted My DBA , he told me everything is fine and it is problem either in template file or rdf
    I dont know what to do
    Can anyone tell me what is the wrong in the following log file
    AAB Custom Application: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXCRCNTRT module: AAB RAC Contracted vehicles
    Current system time is 06-MAY-2009 09:43:37
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_CUSTOMER='2154'
    Environment will now switch to UTF-8 code-set.
    Parts of this log file may not display correctly
    as a result. This is an expected behavior.
    XML_REPORTS_XENVIRONMENT is :
    /f03/applstgd/stageora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /f03/applstgd/stageora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Report Builder: Release 6.0.8.27.0 - Production on Wed May 6 09:43:42 2009
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 8923141 on node STAGEDB at 06-MAY-2009 09:43:52.
    Post-processing of request 8923141 failed at 06-MAY-2009 09:44:18 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    ------------- 2) PRINT   -------------
    Not printing the output of this request because post-processing failed.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 06-MAY-2009 09:44:19
    Thanks and Regards
    Sunil Dutt .S

    The problem was solved as there is a problem in the formatting of template

  • How get and edit xml code of BI Publisher Report

    Hi to all,
    I need to do some costumization to one BI Publisher report. Investigating I found a solution to do my costumization. However this requieres edit the xml code. Can you please let me know how can I get and edit this code?
    Thanks in advance
    regards
    Daniel

    obiee / ebs .... ?
    Investigating I found a solution to do my costumization. However this requieres edit the xml code.
    no need edit seeded code (it's for SR)
    your steps:
    - get seeded code
    - edit
    - create custom report
    Can you please let me know how can I get and edit this code?
    for ebs you can look xml publisher responsibility, find by code

  • Scratch 22: Creating XML Publisher report from scratch in eBS

    Problem:
    How to build a XML Publisher (XMLP) report in eBS from scratch. Thus NOT adapting or converting an existing report.
    Context:
    I have an eBS R12 Vision instance up and running where I want to learn building XMLP reports.
    This is what all tutorials I can find tell me to do:
    Most reports apparently consist of a layout template e.g. TEST.rtf and a data template e.g. TEST.xml. Now in order to generate a new report layout I am supposed to take existing output in XML format and (using ‘Load Data’ function in Template Builder plugin in Word) specify in my layout template where and how I want the actual data to pop up. So far so good.
    But now I want to build the data template from scratch and use it combined with a layout template. So I build the data template but can’t use that for building the layout template. For that I need output, for which I need a layout template.....
    Sounds like Catch 22 to me. How do I break this?
    1. Can I generate an XML-output file from the XML Data Template alone?
    2. Can I build my (RTF) layout template directly based upon the XML Data Template?
    3. Or have I completely lost the plot?
    Oh yes, dunno the first thing about Java and do not have My Oracle Support..
    Edited by: rjvencken on Jul 5, 2012 10:39 AM
    Edited by: rjvencken on Jul 5, 2012 10:51 AM

    1. Can I generate an XML-output file from the XML Data Template alone?
    create data definition with your data template-> create concurrent -> output as xml -> run -> view output and your xml
    I thought the XDODTEXE engine would pick up the (Layout) Template through concurrent program definition CPD short name which in turn points to the Data Definition (and thus Data Template). So does your answer mean I can call straight from CPD to Data Definition? I tried registering my Data Template in the Template Tab but it will not take XML as a type.2. Can I build my (RTF) layout template directly based upon the XML Data Template?
    if you want to use xml publisher desktop then you need xml (with data, not definition)
    So that's not an option I understand. Weird cuz I'd expect this to be technically easier.btw you can create your layout (rtf) without xml (data) and without data template (xml with select statement)
    create filed and past tag definition
    Yes but in that case I'd have an empty report. How would that help me?bouble click on filed:
    "Text Form Field Options" -> "Add Help Text ..." -> "Status Bar" (tab) -> "Type your own:"
    if you use bi publisher desktop plugin
    bouble click on filed:
    "BI Publisher Properties" -> "Advanced" -> "Code"
    or switch to Word Properties
    "BI Publisher Properties" -> "Word Properties" and use above path
    3. Or have I completely lost the plot?
    may be ;)

  • How to print Barcode data in Oracle XML Publisher Report

    Hi,
    We have an rdf report which prints Bar code in the starting page based on a custom procedure from MarkView. It works well with Oracle Reports.
    But since the current report was a matrix report, we are changing it to a Linear report through Oracle XML Publisher Report.
    We have all the things possible in the new Oracle XML Report.. But we are unable to print the Bar code data which is BLOB in the XML Report..
    Can anyone help me on this? We have UAT dates around the corner..
    We have an RTF Template .
    Help asap.
    Thanks
    Abhilash

    Hi Abhishek,
    Bar code Registration Steps in XMLPublisher responsibility:
    1.    Go to responsibility XML Publisher Administrator
    2.    Open Administration
    3.    Open Font Files Tab
    4.    Create Font File
    5.    Give Font Name : XX_BARCODE
    6.    File : Browse Barcode file
    7.    Apply
    8.    Go to Font mapping Tab
    9.    Open Create Font Mapping Set
    10.    Give Mapping Name: XX_BARCODE
    11.    Give Mapping Code: XX_BARCODE
    12.    Type : FO TO PDF
    13.    Apply
    14.    Open Tab Create Font Maping
    15.    Font Family: Code39-Digits(This name should be exactly the font name comes in word)
    16.    Style: Normal
    17.    Weight: Normal
    18.    Target Font Type: Truetype
    19.    Continue
    20.    Font : XX_BARCODE
    21.    Apply
    1.    Go to Template Tab
    2.    Query for your template
    3.    Open Edit Configuration
    4.    Click on FO Processing
    5.    In Font Mapping set Give XX_BARCODE
    RTF Template (word):
    1.Design the RTF template
    2.Insert the barcode against reqd field
    3.Make sure to put an * before and after the barcode so that scanner understands the beginning and end
    Please send your rtf ,xml file if you are still facing issues.
    Rgds,

  • Graph Capabilities in XML Publisher

    Just started evaluating XML Publisher as a possibility for reporting multiple Balanced Scorecard KPIs from E-Business Suite onto one report, as that functionality is NOT provided by Oracle.
    I presume the idea of XML Publisher is to make development of Reports faster and easier, with less technical knowledge required than perhaps using something like Oracle Reports
    To be honest with an initial look I have found it to be quite disappointing, especially in respect to graphing.
    I wanted to create a graph where I could display Multiple Series of Data on the one Bar Graph i.e. Actual, Budget, Forecast, by Period
    The "Wizard" in Release 5.6.0 only allows me to select the "sum" of a single "Measure"
    I have since read further through B13817-05 XML Publisher User Guide, and found you can go to Format, Picture and the Web tab and alter the code in there to change the graph.
    So I have managed to do that by manually adding additional <RowData> items
    However I don't feel that confident in recommending we attempt to use XML Publisher yet for "advanced" reporting, as it seems to have as many peculiarities, issues as Reports Developer, and probably requires a similar level of Expertise/Experience
    I am sure for a basic report, it is quite easy to achieve something quickly and easily, but generally nowadays requirements are not simple
    The resources I have found that seem to relate to graphs are;
    http://www.oracle.com/technology/products/reports/htdocs/faq/graph_faq_with_style.html
    http://www.oracle.com/technology/products/reports/htdocs/getstart/whitepapers/graphdtd/graph_dtd_technote_2.html
    Is there any other resources out there that would be helpful ?
    Jeremy

    Thanks for your reply
    I will check out those possibilities if I have time, as mentioned we are not really developers and were looking for the true benefits marketed for using XML Publisher of reports being "designed using Microsoft Word or Adobe Acrobat "
    Let hope the graphing and other functionality makes it into a release soon

  • Printing scannable Bar Codes on PDF file?

    Hi:
    I am working a PO report (standard) and designing using RTF template to print as PDF output.
    I need to print the item as bar code that needs to be scanned. I downloaded a free font 39 and registered in Admin tab of XML Publisher responsibility. I also installed the font in my local machine and added it in my template.
    When I run the report and view the output, the bar code appears on PDF. When I try to scan the bar code, its not scanning the bar code.
    What is the step that I am missing? Please help ASAP.

    As a first step make sure you're using the correct start/stop characters for your barcode.
    In this case for Code 39 you would need an asterisk * at the start and end of the barcode, make sure to apply the barcode to the asterisk as well.
    sampledatafield
    Edit: If you got the free font from a vendor check the terms of use on it. Some vendors will give you a font that will show you how it should look but it will not be scanable.
    Message was edited by:
    dclarke27

  • XML Publisher CHARTS: mulit-dimensions not plotted correctly

    Hi,
    We're currently assessing the suitability of XMP Publisher and one of the deciding factors is to create a bar chart from an SQL query that retrieves multiple portfolios over a time-frame. For example, three portfolios are selected over a time period like 3 years (but there does not have to be a performance for every month) and their performance is plotted against each month (i.e. 0 - 3 Columns depending if a result exists per month). In the desktop publisher we struggled but managed to change the Graphics code until it could dynamically show the correct legend and the data rows, but alas the data points do not correspond correctly with the X-axis. It seems that when the rows are grouped each value is plotted against each column regardless of the tagged value used for the X-axis.
    Let me try and put it this way, the first month had only 1 portfolio and the next month had all three, but on the graph the first month shows three columns, the records have slipped.
    The code that we used was adapted from a forum entry by Klaus Fabian- "Re: Stacked Bar Chart
    " (Servus Klaus;-)), but we need to find out how to adapt the code so that it plots the data correctly against the X-axis values.
    Help!!!!
    Cheers,
    Robin.
    Here's the code we used
    chart:
    <Graph>
    <Title text="" visible="true" horizontalAlignment="CENTER"/>
    <LocalGridData colCount="{count(xdoxslt:group(.//ROW, 'TODATE'))}" rowCount="{count(xdoxslt:group(.//ROW, 'CODE'))}">
    <RowLabels>
    <xsl:for-each-group select=".//ROW" group-by="CODE">
    <Label><xsl:value-of select="./CODE"/></Label>
    </xsl:for-each-group>
    </RowLabels>
    <ColLabels>
    <xsl:for-each-group select=".//ROW" group-by="TODATE">
    <Label><xsl:value-of select="./TODATE"/></Label>
    </xsl:for-each-group>
    </ColLabels>
    <DataValues>
    <xsl:for-each-group select=".//ROW" group-by="CODE">
    <RowData>
    <xsl:for-each-group select="current-group()" group-by="TODATE">
    <Cell><xsl:value-of select="./PERFORMANCE"/></Cell>
    </xsl:for-each-group>
    </RowData>
    </xsl:for-each-group>
    </DataValues>
    </LocalGridData>
    </Graph>

    Hi,
    I have finally found solution to this issue....
    Two setups are required to display the charts in the concurrent program's PDF output:
    1. We need to edit the variables CLASSPATH and AF_CLASSPATH. These variables should have the complete path added for the xdoparser.zip file on the server.
    2. The DISPLAY variable should be correctly setup to direct the server output.
    Also as per my findings so far, the BI (XML) publisher version 11.1.1.3.0 (or any 11g) does not work with EBS (at least for charts). We need to use BI publisher version which is XML 5.6.3 compatible for EBS. This version is 10.1.3.2.1. (patch 12395372) Now this 10g version does not work on Windows 7 so you need to use Windows XP!
    With this... finally... your charts should be getting displayed in EBS output...
    Cheers!! :-)
    Archana

  • Sales - Quoting Functionality - XML Publisher and XSL.

    Hi ,
    We have changed output in Quoting to use XML Publisher instead of Reports Server.
    How can we view the XML tags to create the XSL file?
    Its possible to see XML output from PO's , SOA's etc when printed vis Concurrent Mgr and Oracle Forms but the raw XML is not available when using in Sales and Printing a Quote ( uses sample xsl in XML Publisher at the moment...Am formatting this.. but have no raw xml).
    Any ideas?
    Cheers
    Stephen

    I know what I can do in RTF and maybe it´s enough:
    1. Ensure you are using both tabs of the help text, you can start in Status Bar and continue with Help Key.
    2. You can also use multiple fields one after another.
    3. If you fill all of that and need more space I would consider moving the function out into its own XSL template and register it as a sub template and reference it from your main template. This is especially useful if you are going to need the same function across multiple templates.
    My problem was why I can´t use XSL-FO - XML in XMLSPY, have´nt anybody tried to go out of the WORD-RTF and code som XSL? Maybe it´s not possible and I have to use WORD-RTF.
    /Daniel

  • Report and bar code directly on the PDF

    Hello,
    I'am doing a report with XML / Publisher, the report must contain a bar code and have a PDF output since OEBS.
    The bar code must appear on the PDF.
    How can I do that ?
    I need to install a font on the Unix server?
    If yes, how ? And how to ensure that XML / Publisher integratess it ?
    Thanks

    Tim,
    Please help.
    The 'Employee W-2 PDF' generates only blank pdf documents. I have check all I know, template, log files, output post processor. Everything looks fine. And my other customized PO printing program woks fine.
    Is there any configuration that I am missing? I am new to BI Publisher.
    We are using 11.5.10.2, 10.2, and 5.6.3.
    Sorry to ask quesiton, here. But I frustrated and nervous for this is our only way for producing W-2s. Thanks

  • XML Publisher and namespace

    I´m using XML Publisher 5.5 with Template Builder. I have created an RTF document that works perfect with XML Publisher. I now want work more complicated with my template using XSL. I have through Template Builder created an XSL-FO style sheet.
    I open the xsl-doc in XMLSPY, assinging an xml-doc and try to preview expecting the result to be the same as using Template Builder but the layout gets all messed up and I get an error that says that the namespace xmlns:xdofo="http://xmlns.oracle.com/oxp/fo/extensions" is invalid.
    The complete start tag:
    <xsl:stylesheet version="2.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:ora="http://www.oracle.com/XSL/Transform/java/"
    xmlns:xdofo="http://xmlns.oracle.com/oxp/fo/extensions"
    xmlns:xdoxslt="http://www.oracle.com/XSL/Transform/java/oracle.apps.xdo.template.rtf.XSLTFunctions"
    xmlns:xdoxliff="urn:oasis:names:tc:xliff:document:1.1">
    Does anybody know where I should point my namespace or what I´m doing wrong?
    Regards,
    Daniel

    I know what I can do in RTF and maybe it´s enough:
    1. Ensure you are using both tabs of the help text, you can start in Status Bar and continue with Help Key.
    2. You can also use multiple fields one after another.
    3. If you fill all of that and need more space I would consider moving the function out into its own XSL template and register it as a sub template and reference it from your main template. This is especially useful if you are going to need the same function across multiple templates.
    My problem was why I can´t use XSL-FO - XML in XMLSPY, have´nt anybody tried to go out of the WORD-RTF and code som XSL? Maybe it´s not possible and I have to use WORD-RTF.
    /Daniel

  • XML Publisher Report Output from OAF Page

    Hi,
    I created a button in a OAF page, and called the XML publisher Report program on click of this button. The concurrent request was ran when check from View Requests. When I click on viewout, the pdf document was open with the option, open, save, cancel. But this is not coming up in the OAF page. when debugged the code, the url is null.
    Please see the below code.
    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)paramOAPageContext.getRootApplicationModule().getOADBTransaction();
    String s1 = oadbtransactionimpl.getAppsContext().getEnvStore().getEnv("TWO_TASK");
    System.out.println("s1 = " + s1);
    String s2 = oadbtransactionimpl.getAppsContext().getEnvStore().getEnv("GWYUID");
    System.out.println("s2 = " + s2);
    String s3 = "BEGIN :1 := fnd_webfile.get_url(fnd_webfile.request_out, :2, :3, :4, 2); end;";
    CallableStatement callablestatement = paramOAPageContext.getApplicationModule(paramOAWebBean).getOADBTransaction().createCallableStatement(s3, 1);
    System.out.println("s3 = " + s3);
    if(requestId != 0)
    try
    Number number = new Number(requestId);
    callablestatement.registerOutParameter(1, 12);
    callablestatement.setInt(2, number.intValue());
    callablestatement.setString(3, s2);
    callablestatement.setString(4, s1);
    callablestatement.execute();
    String s4 = callablestatement.getString(1);
    System.out.println("Before S4 if statement");
    if(s4 == null || s4.equals(""))
    // throw new RuntimeException();
    System.out.println("URL is null");
    System.out.println(" print ouput url - " + s4 );
    // throw OAException.wrapperException(exception);
    oadbtransactionimpl.putValue("OutputURL", s4);
    System.out.println(" print ouput url - " + s4 );
    }

    Look at the links AJ gave.
    Basically what you will do is create a Data Definition and assign a Data Template to it. Create a (document) Template and assign it to your data definition. You will use the XML Publisher Java API classes to pass parameters to your data template and extract the XML data. Then you will use this in conjunction with your document template and the OAF integration region to present the final output to the user.
    All of these things are in the XML Publisher documentation and Javadocs.

Maybe you are looking for