IF and SUBSTR in XML Publisher

Hi
I am developing a XML RTF template for a report.
All I am trying to do is, if first 4 letters of the data of xml tag ITEM = 'Summ'
then print a constant word 'Notes'
<?if: xdofx:substr(ITEM,1,4)=’Summ’?> Notes<?end if?>
I have been trying hard. IF and SUBSTR is not at all going along. Always throwing some error. Can some one please help me to resolve this issue
Thanks

Hi,
I have a similar requirement, however instead of static text in the example i.e ITEM I am trying to get a substring from a tag value directly. Ex - Tag Value <eod>23-10-2009<eod>. I am trying to pick up the value 10 in the particular example and trying to compare with 1, which would be false and hence I need to print as false. I cannot use a hardcoded value since the value between the tags <eod> is dynamic and I need to use that itself.
Can you please provide me with the sytax which can achieve this?
Regards,
Praseed

Similar Messages

  • Advantage and disadvantage of xml publisher, report builder and discoverer

    Hi,
    anyone can explain advantage and disadvantage of xml publisher, report builder and discoverer?
    thanks in advance!

    The best way i found was to put a equals and then double quotes... this only works for excel however it will allow you to cut and paste (ie to use the value to search in Oracle) and also to do vlookups.
    In a bit more detail:
    - I used word to generate my default table
    - this created a field INVOICE_NUM
    - in the cell in the table i put = " before the INVOICE_NUM field and then put the closing " afterwards.
    The theory is that excel will concatenate the values together... because it has quotes around it, it will treat it as a string rather than simply a value.
    For any other formats this will not work.
    I'm guessing most people have moved on and resolved this some other way, but just thought I'd share the wealth!

  • Can XML Publisher add a digital certificate (cert.pfx) via the xdo.cfg file or do I need to upgrade and use BI Publisher instead?

    Hi Guys
    I need to add a digital certificate to a clients customer statements and invoices. XML Publisher 5.6.3 has been used originally to design the templates as RTF. I have the following questions please...
    1. Can an RTF template be used or do I need to convert it to a pdf template?
    2. Can XML publisher even be used or do I need to get the DBAs to install BI Publisher. XML Publisher doesn't even have the signature properties in the admin screens that BI Publisher has.
    Below is a copy of the xdo.cfg file which currently does not add the pfx file...
    <config version="1.0.0"  xmlns="http://xmlns.oracle.com/oxp/config/">
    <properties>
       <property name="system-temp-dir">/tmp</property>
       <property name="pdf-security">false</property>
       <property name="pdf-open-password">testpass</property>
       <property name="pdf-permissions-password">testpass</property>
       <property name="pdf-encryption-level">1</property>
       <property name="pdf-no-printing">true</property>
       <property name="pdf-no-changing-the-document">true</property>
       <property name="signature-enable">true</property>
       <property name="signature-pkcs12-path">/app/oracle/product/appldev/apps/apps_st/appl/xdo/12.0.0/resource/digcert.pfx</property>
       <property name="signature-pkcs12-password">testpass</property>
       <property name="signature-field-location">top-left</property>
       <property name="signature-reason">taxreasons</property>
       <property name="signature-signed-at">Cape Town</property>
       <property name="signature-display-style">detailed</property>
    </properties>
    </config>
    Any help will be greatly appreciated.

    thanks for the summary of the many posts and threads describing all of these steps.

  • Generating pdf report via concurrent manager and xml publisher

    I have report (rdf) which works fine in eBusiness Suite but I’d like to create translatable reports with reach layout (comparing with the Report Builder) based on the functionalities of the XML publisher. I’ve made all necessary steps (first change the output format for that report in concurrent manager from pdf to xml, submit the report to get xml file, which I’ve used in Microsoft Word Template Builder to make layout in rtf file, and create data and template in XML Publisher Administrator in eBusiness Suite).
    When I’ve submitted that report from concurrent manager, after the concurrent manage finished his job I got the warning message.
    Also the output file is not generated and in log file there is a message: One or more post-processing actions failed. Consult the OPP service log for details.
    Concurrent manager works fine, but there are problem when concurrent manager send the xml output of the report to XML Publisher which have to create pdf layout based on rtf template.
    I think there might be a problem with report complexity, while I’ve used layout formatting, api calls to eBusiness Suite, parameters, placeholders, attached library etc.
    If it is impossible to get new report based on xml publisher template, what is the purpose of xml publisher if it is so limited, while every eBusiness Suite Report is so complex.
    I hope there will be a person on this forum with the same problem, otherwise I’ll give up at all from XML Publisher, at least until it come a better version of that tool which it seems to be in early development phase and not ready for the market yet.

    All of the complex report logic is handled in your Oracle Report (rdf) file.
    If your Oracle report is working OK, then this report should be generating XML.
    After running your report, go to the View Requests window. Highlight your request, and click the Diagnostics button. Then click the 'View XML' button. If you see XML data, then you should be OK.
    When I faced a similar issue, it was because the '1 step' process didnt work for the particular report I was using. The '1 step' process doesn't work for every report. Which report are you using?
    If the report is submitted via a form (not the concurrent manager request form), then you probably need to use 2 steps to produce the desired output.
    For more information, see the following thread:
    Enhancment to avoid 2 step check printing
    HTH,
    Mark K

  • XML PUBLISHER report in Excel out put problem

    Hi Experts,
    I have developed one XML report which output type is EXCEL in Oracle Application.
    I am getting some -ve value in the report so I need to do the trailing sign
    Menace for example I got a value -8645 I need to display the value like (8645).
    This functionality is working in PDF output but in EXCEL out put it is not working.
    Could any body please help me on this..
    Its Urgent .
    Thanks in Advance.

    Check this metalink notes, did you got any error..?
    Note: 364547.1 - Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=364547.1
    Note: 359875.1 - Cannot View Xml Publisher Report Output In Excel Format
    Note: 358296.1 - How To Produce Requests In Formats Of HTML, RTF, and Excel From XML Publisher
    Note: 850685.1 - Wrong Output Format In Xml Publisher Output
    Note: 727031.1 - XML Publisher Requests Always Get Defaulted to Output Format as PDF Whatever the Template Type is Set To
    Note: 337343.1 - Unable to View Excel Output File Created by XML Publisher
    Note: 401328.1 - Default Layout Format for XML Publisher Concurrent Request Is Always PDF
    Re: XML Publisher Server on EBS 11.5.10.2

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

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

  • XML publisher report thru fnd_request.submit_request

    Hi All,
    I have oracle application 11.5.10.2 and created many XML publisher reports in RTF format (RDF as a source of XML output) . Now i want to run these reports thru fnd_request.submit_request and generate report output in PDF.
    I have successfully submitted request with required report parameters and request successfully complete without any error but concurrent program does not generate any report output.
    If i run this report as a text output then i get report output thru fnd_request.submit_request.
    Can any one tell me about solution?
    Thanks
    XMLP User

    Try to post your query in the 'XML Publisher' forum, you might get more help:
    BI Publisher

  • XML Publisher Help

    Hi,
    We currently have a payslip report that has been developed using Oracle reports, but for this to run we have to change our NLS_LANG setting from UTF8 to WE8ISO8859P1.
    The problem with this is to apply patches Oracle have told us we need to have the NLS_LANG set to UTF8.
    As a result Oracle have said that:
    The only available workaround for generating PDF on a UTF8 character set instance is to install and utilize the XML Publisher product or upgrade to E-Business Suite to Release 12.
    We don't have any plans to upgrade to Release 12, so I am looking to use XML Publisher. I have a couple of questions:
    Is this an add-on?
    Where is the best place to obtain navigation guides and tutorials to teach myself this?
    I have had a look at some of the pre-defined templates already and I am not sure how to create my own rtf file so that my required fields are passed to the template.
    Any help would be greatly appreciated
    Many Thanks
    Martin

    Hi Shruti,
    You can start with the BI publisher page on OTN http://www.oracle.com/technology/products/xml-publisher/index.html.
    Check out the tutorials (Oracle by Example). There's lot of good information out there. Check out the BI publisher guide here:http://www.oracle.com/technology/products/xml-publisher/xmlpdocs.html
    Search the forum or post questions about any specific questions you may have about formatting numbers and dates.
    Hope this helps.
    Thanks!

  • Migration of our reports from Streamserve to XML publisher in Oracle EBS

    Dear All,
    I am working for a company using Oracle Applications 11.5.10.2 and we have several critical reports developped with Streamserve V3 (Customer Invoice , Sales Order Acknowledgment, Shipping Advice, PO layout, ...).
    For various reasons we plan to abandon Streamserve and migrate to XML publisher or BI publisher whose functionalities seem to cover most of our needs.
    However, my knowledge of XMLP/BIP is quite basic and I need some information on how to implement the reports.
    I will be very glad and grateful if someone accepts to share his/her experience by answering a few questions :
    1) What are the main differences between the XML publisher version included in APPS 11.5.10.2 and the standalone version of BI publisher ?
    2) In most of our reports the language depends on the third party (vendor, customer, carrier, ...) so in the same report batch we can have some documents to be printed in English, while some other should be in French.
    Is it possible to achieve that with XMLP or is the language to be chosen when submitting the concurrent request ?
    3) As for languages, the delivery of the document (email or printed paper) depends also on the third party.
    Is it possible in a same batch to have some documents emailed and other not ?
    4) The bursting engine seems to be the main solution to manage the way documents are delivered.
    a) How can we automatically launch it after the main request completion ? (most of our reports are scheduled to run periodically)
    b) Is it possible to make bursting with a dynamically generated control file ?
    c) What if the bursting engine does not couver all our needs ? Is there a way to develop our own deliver logic ? If so, where to find a step by step procedure to achieve that ? (knowing that we are newbies in Java language)
    5) Some of our reports must be generated in PCL rather than PDF. I think that is not native in XMLP so what may be the workaround ?
    Thanks in advance for your very helpfull answers.
    Best regards
    Karim Helali
    Paris, France

    Thank you Steven for your quick reply.
    Here are my comments/precisions :
    1) What we would like to konw is what are the functionnalities included only in that standalone version. This way we can decide if it is worth paying the quite expensive extra licence for BIP or if the EBS version of XMLP is enough for us.
    I tried out to find this quite basic information without success. If anyone can indicate an oracle reference document
    2) I know that the language is chosen via the template. Also, when you submit an XMLP concurrent request in EBS you have to choose which template to apply for the layout. So it looks like it is not posssible within a unique concurrent request to generate documents in more than one language. Is it so or am I missing something ?
    3) Regarding documents multiple delivery management, I undertsand that we can do it either with bursting engine or with specific JAVA code implementing XMLP APIS. Even we are newbies in JAVA, we can deal with that. But I am quite puzzled as I find nowhere a document that explains how to develop that and especially how to integrate this within EBS.
    Let me explain you our current logic with Streamserve and let me know how this can be implemented within XMLP :
    - a report is setup in EBS as Executable type = SqlPlus / Output Type=PDF
    - the SQLPLUS scripts takes into account the user request's parameters and generate an XML(like) file including all the data
    - at the end the SQLPLUS calls a specific shell that runs the Streamserve step : the XML file is passed to the specific streamserve binary report wich generates several outputs (global PDF for the concurrent request output + global PCL flow sent to the printer queue + 0-n physical file(s) for archiving + 0-n email(s) sent ...)
    - The language and delivery modes are not unique within a batch: they are decided per document in the streamserve binary report (based on third party setup included in the XML data file). So we don't need to launch a report batch per language or delivery mode.
    I think such process should be possible using XMLP java APIS but I am quite stuck as I don't know how to start. Has anyone implemented such a global process in EBS with XML ?
    Thanks again
    Karim Helali

  • XML Publisher Version Mismatch Issue

    Hi,
    I am using XML Publisher 5.62 and deploying in XML Publisher 4.5 Server, for a standard Invoice report using XML Publisher.
    The requirement is that i have to have a logo and some invoice header details repeating for every page ,then ofcourse followed by the invoice's line info.
    The report runs fine in my Desktop Version of XML Publisher(5.62) if i put the code in this way
    [ Word's header Area]
    <?for-each@section:G_INVOICE?>
    [ LOGO_IMAGE ]
    [ Word's Normal Text Area]
    [  Invoice Header fields(those which need to repeat in every page of this particular invoice for lines that span multiple pages...eg Billing & Shipping Adsress)  ]
    <?start:body?>
    [Some Invoice Header fields which are to be displayed only once]
    [Lines Table Column heading]
    <?for-each:G_LINES[LINE_TYPE='LINE']?>
    [Line value Columns]
    <?end for-each?>
    [Invoice Line Summation Feilds ]
    <?end body?>
    <?end for-each?>
    But the same report when i run on the Server (with @section in header)header
    displays erratically .
    The Word Header Area (Logo Image) is repeated as many times as there are invoices
    And the Invoice Headers are same for all Pages even for different invoices(It shows the first Invoice's column values for all other invoices)
    Can somebody suggest someway which will make this work in XML Publisher 4.5
    Thanks

    Hi
    Check if this helps.
    http://blogs.oracle.com/xmlpublisher/2007/05/wherere_my_checkboxes.html
    Regards
    Nishka

  • Creating user in XML Publisher

    Dear friends,
    Is it possible to check for username and password from database instead of creating it from XML Publisher.I directly want to create dynamic xml from my jsp page and after checking valid user name and password,it will show the report.I am told that i don't have to login from XML Publisher home.It will internally check user name from database.
    Thanks in advance

    see Validating user name and password in XML Publisher.
    Marcos

  • XML Publisher Datasource XML Data Template

    Hello,
    I am trying to create function (Program Units) in my XML Data template, I get the following ERROR.
    XX Custom Application: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXTESTNEW module: XX TEST Report-New
    Current system time is 13-JUL-2012 15:34:09
    0.197: [GC 0.197: [DefNew: 1777K->191K(1984K), 0.0042507 secs] 1777K->242K(6080K), 0.0043329 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    0.330: [GC 0.330: [DefNew: 1983K->44K(1984K), 0.0054729 secs] 2034K->282K(6080K), 0.0055303 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
    0.536: [GC 0.536: [DefNew: 1836K->192K(1984K), 0.0053814 secs] 2074K->591K(6080K), 0.0054403 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
    0.695: [GC 0.695: [DefNew: 1984K->138K(1984K), 0.0036150 secs] 2383K->711K(6080K), 0.0036667 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    0.969: [GC 0.969: [DefNew: 1930K->92K(1984K), 0.0050182 secs] 2503K->802K(6080K), 0.0050735 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
    1.453: [GC 1.453: [DefNew: 1884K->192K(1984K), 0.0049133 secs] 2594K->1247K(6080K), 0.0049730 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
    1.493: [GC 1.493: [DefNew: 1962K->58K(1984K), 0.0025240 secs] 3018K->1301K(6080K), 0.0025808 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    1.501: [GC 1.501: [DefNew: 1847K->93K(1984K), 0.0014896 secs] 3090K->1337K(6080K), 0.0015390 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    1.507: [GC 1.507: [DefNew: 1860K->70K(1984K), 0.0006978 secs] 3103K->1313K(6080K), 0.0007453 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    1.514: [GC 1.514: [DefNew: 1849K->103K(1984K), 0.0004474 secs] 3093K->1346K(6080K), 0.0004883 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    1.595: [GC 1.596: [DefNew: 1895K->138K(1984K), 0.0020285 secs] 3138K->1437K(6080K), 0.0020863 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    1.673: [GC 1.673: [DefNew: 1930K->64K(1984K), 0.0014510 secs] 3229K->1496K(6080K), 0.0015049 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    1.759: [GC 1.759: [DefNew: 1856K->98K(1984K), 0.0014301 secs] 3288K->1530K(6080K), 0.0014835 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    1.827: [GC 1.827: [DefNew: 1890K->89K(1984K), 0.0010782 secs] 3322K->1572K(6080K), 0.0011340 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    1.880: [GC 1.880: [DefNew: 1881K->133K(1984K), 0.0011918 secs] 3364K->1616K(6080K), 0.0012450 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    1.936: [GC 1.936: [DefNew: 1925K->113K(1984K), 0.0012641 secs] 3408K->1670K(6080K), 0.0013197 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    1.990: [GC 1.990: [DefNew: 1905K->191K(1984K), 0.0022812 secs] 3462K->1976K(6080K), 0.0023401 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    XDO Data Engine Version No: 5.6.3
    Resp: 23202
    Org ID : 43
    Request ID: 22637028
    All Parameters:
    Data Template Code: XXTESTNEW
    Data Template Application Short Name: XX
    Debug Flag: N
    2.161: [GC 2.161: [DefNew: 1983K->192K(1984K), 0.0036382 secs] 3768K->2170K(6080K), 0.0036949 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    Calling XDO Data Engine...
    2.289: [GC 2.289: [DefNew: 1984K->192K(1984K), 0.0036540 secs] 3962K->2475K(6080K), 0.0037115 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    [071312_033411511][][EXCEPTION] java.lang.NullPointerException
         at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:334)
         at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:266)
         at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:140)
         at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:193)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:245)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:282)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    2.394: [GC 2.394: [DefNew: 1365K->143K(1984K), 0.0025966 secs]2.397: [Tenured: 2451K->2381K(4096K), 0.0798821 secs] 3648K->2381K(6080K), 0.0825759 secs] [Times: user=0.08 sys=0.01, real=0.08 secs]
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
         at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
         at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(DataTemplateParser.java:1796)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:331)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:286)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:348)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Heap
    def new generation total 1984K, used 250K [0xcc400000, 0xcc620000, 0xccb10000)
    eden space 1792K, 13% used [0xcc400000, 0xcc43ea98, 0xcc5c0000)
    from space 192K, 0% used [0xcc5c0000, 0xcc5c0000, 0xcc5f0000)
    to space 192K, 0% used [0xcc5f0000, 0xcc5f0000, 0xcc620000)
    tenured generation total 6104K, used 4381K [0xccb10000, 0xcd106000, 0xd0400000)
    the space 6104K, 71% used [0xccb10000, 0xccf57598, 0xccf57600, 0xcd106000)
    compacting perm gen total 12288K, used 7039K [0xd0400000, 0xd1000000, 0xd8400000)
    the space 12288K, 57% used [0xd0400000, 0xd0adfc88, 0xd0adfe00, 0xd1000000)
    ro space 8192K, 80% used [0xd8400000, 0xd8a73430, 0xd8a73600, 0xd8c00000)
    rw space 12288K, 59% used [0xd8c00000, 0xd9330510, 0xd9330600, 0xd9800000)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 13-JUL-2012 15:34:11
    Please see the following Data Template, I have copied the folloing
    <report name="anyname" DTDVersion="9.0.2.0.0">
    <data>
    <dataSource name="Q_1">
    <select>
    select 1 EMPLOYEE_ID, 'FIRST_NAME' FIRST_NAME,'LAST_NAME' LAST_NAME, 1 DEPARTMENT_ID ,2 SALARY, 2 COMMISSION_PCT from dual
    </select>
    <group name="G_EMPLOYEES">
    <dataItem name="EMPLOYEE_ID"/>
    <dataItem name="FIRST_NAME"/>
    <dataItem name="LAST_NAME"/>
    <dataItem name="HIRE_DATE"/>
    <dataItem name="SALARY"/>
    <dataItem name="COMMISSION_PCT"/>
    <dataItem name="DEPARTMENT_ID"/>
    <formula name="CF_REMUNERATION" source="cf_1formula"
    datatype="number" width="20" precision="10"/>
    </group>
    </dataSource>
    <summary name="CS_REPORT_LEVEL_SUMMARY" function="sum" width="20"
    precision="10" reset="report" compute="report"/>
    </data>
    <programUnits>
    <function name="cf_1formula" returnType="number">
    <textSource>
    <![CDATA[
    function CF_1Formula return Number is
    begin
    return (:salary + nvl(:commission_pct,0));
    end;
    ]]>
    </textSource>
    </function>
    </programUnits>
    </report>
    Note:
    I have taken this from the following documentation.
    http://docs.oracle.com/cd/E12839_01/bi.1111/b32121/pbr_xml003.htm
    Regards
    Ed

    Hi,
    To me it seems that format is used in BI Publisher usined iN OBI and not Oracle XML Publisher.
    Why dont you try to get the value in sql itself like (:salary + :pct_cimssion) as abcd

  • Concurrent Request report with XML Publisher

    I have Concurrent program (report) which I modified to work with XML Publisher. I change the output format to XML at the concurrent program page. Then I create the data defenition and template at XML Publisher administrator. Then I uploaded and assign the RTF template as the default template for this concurrent program.
    Now I can run this report and get the output in XML report publisher .
    But when I am running directly as concurrent request , I dont get any output. What am I doing wrong?
    **Please Help*George Thomas*
    I posted initially at a wrong place and I am re-posting here. my apology

    Duplicate thread ..
    Concurrent Request with XML Publisher
    Re: Concurrent Request with XML Publisher

  • Concurrent Request with XML Publisher

    I have Concurrent program (report) which I modified to work with XML Publisher. I change the output format to XML at the concurrent program page. Then I create the data defenition and template at XML Publisher administrator. Then I uploaded and assign the RTF template as the default template for this concurrent program.
    Now I can run this report and get the output in XML report publisher .
    But when I am running directly as concurrent request , I dont get any output.  What am I doing wrong?
    Please Help
    George Thomas

    Any errors/warning messages in the log file with/without trace enabled?
    Similar issue is reported in the following bug, but it looks like the solution is not available for public access.
    Bug 6320244 - NOT ABLE TO SEE OUTPUT OF THE XML PUBLISHERR REPORT
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=BUG&p_id=6320244

Maybe you are looking for