Passing Printer as a parameter in the bursting control file

One of our requirements is to print our report on different printers based on the user input. To acheive this, I am passing printer name as one of the parameter in our concurrent process. In the bursting java process, I set the properties as
Properties prop= new Properties();
prop.put("user-variable:PRINTER_NAME","ipp://146.141.12.128/printers/lp1");
dp.setConfig(prop);
dp.process();
In the control file, I am pasing print delivery as :
<xapi:print id="printer1" printer="$(PRINTER_NAME)" copies="1" />
The system throws an error 'java string out of expection' and takes PRINTER_NAME as null in the print delivery. The same thing works perfeclty for E-Mail server if I pass name of the e-mail server in parameter and in the java and control file..I make the following changes:
Properties prop= new Properties();
prop.put("user-variable:SERVER_NAME","cns.wits.ac.za");
dp.setConfig(prop);
dp.process();
<xapi:delivery>
<xapi:email server="$(SERVER_NAME)" port="25"
from="[email protected]" reply-to ="">
<xapi:message id="123" to="${EMAIL}"
Can anybody please help me with this..Has anybody tried passing printer as a parameter in the control file..

Try curly brackets i.e. ${PRINTER_NAME} instead of $(PRINTER_NAME).
Regards
Ashish

Similar Messages

  • How to get the  bursting control file in xml publisher

    Hi All
    I am using oracle Apps r12 and Bi publisher 10g.
    I have followed these steps for Xml Bursting reports
    http://apps2fusion.com/apps/21-technical/251-xmlp-concurrent-program-revisited-with-bursting.
    I have created Data definition and now i need to attach the Bursting Control file.
    Whether the system will generate Burst control file after creating data definition or we need to create a control file.
    Thanks & Regards
    Srikkanth.M

    You need to create a control file and upload it.
    You can also refer this blog for detailed steps http://garethroberts.blogspot.com/2008/03/bi-publisher-ebs-bursting-101.html

  • How to pass printer name as a parameter to Bursting control file

    We are on 11.5.10.2 using XML Publisher 5.6.3. We ahve a requirement, where we need to print our invoices to different printers.
    How do we pass the printer name as a parameter to Bursting control file. Can the bursting control file be created to use the printer parameter.
    If it can, can you please provide some examples.
    - Vasu -

    Hi.
    I have created Formula column and it is coming in xml data.
    Like this way
    <CP_TAX_NO>CZ27813941</CP_TAX_NO>
    <CP_CUST_TAX_REG>CZ680527617</CP_CUST_TAX_REG>
    <CF_PRINTER_NAME>ABC_hp4250</CF_PRINTER_NAME>
    <C_REQ_ID>12310217</C_REQ_ID>
    </ISOPTWSHRDPAK>
    But while i passed it bursting directory, it is not printing, if i hardcode over there then it is printing.
    Bursting file code
    <xapi:delivery>
         <xapi:print id="printer1" printer="ipp://localhost:631/printers/${CF_PRINTER_NAME}" copies="1" />
    </xapi:delivery>
    In bursting program file It is display like :
    [1]printer-uri:ipp://localhost:631/printers/null
    If i pass hardcode value instead of cf_printer_name then it is working fine
    [1]printer-uri:ipp://localhost:631/printers/ABC_hp4250
    Pls suggest what to do?

  • Multiple template language in Bursting Control File

    Hello,
    I have created a tempalte in English language. I have used translation for French and Polish Language using .xlf file
    How to call them in the Bursting control file?
    I am calling the French language as
    <xapi:template type="xsl-fo"
    location="xdo://XXNCV.XXNCV_AR054_03.fr.00"
    </xapi:template>
    But it still shows the English output.
    Please help. Thanx in advance.
    my email is [email protected]

    Hi, just thought I'd mention I managed to get the bursting and translation working via an xlf file and bursting control file, e.g.
    <xapi:template type="xsl-fo"
    location="xdo://xxxAR.xxx_XML_PRINT.en.US"
    locale="fr-US"
    translation="/usr/tmp/xxx_XML_PRINT_fr_US.xlf"
    filter=".//G_INVOICE_HEADER[PRINTING_OPTION='PRI']" >
    </xapi:template>
    Unfortunately, parameter passing doesn't seem to work when bursting translations, e.g. Page: &1 of &2; I've logged this in an SR.

  • Format of email body in bursting control file

    Hi,
    I am hoping this is a simple question for someone that is not as new as I am to bursting...
    What is the new line character I should be using to format the outgoing email body within the bursting control file.
    At present, the entire email body appears as one paragraph regardless of whether I have included new lines or not. I am no doubt missing something simple given that it is 5.20pm on a Friday.
    Any help is appreciated.
    Kind regards,
    Wes

    Version 11.5.10.2
    XML/BI Publisher Version : 5.6.3
    i have put the log file here for your reference
    XML/BI Publisher Version : 5.6.3
    Request ID: 1691733
    All Parameters: ReportRequestID=1691732:DebugFlag=Y
    Report Req ID: 1691732
    Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request information
    Node Name:COLFARMT
    Preparing parameters
    null output =/u3010/app/oracle/UAT/common/admin/out/UAT1_colfarmt/o1691733.out
    inputfilename =/u3010/app/oracle/UAT/common/admin/out/UAT1_colfarmt/o1691732.out
    Data XML File:/u3010/app/oracle/UAT/common/admin/out/UAT1_colfarmt/o1691732.out
    Set Bursting parameters..
    Temp. Directory:/u0350/app/apps/UAT/xx/1.0/log
    [033108_044049404][][STATEMENT] Oracle XML Parser version ::: Oracle XDK Java 9.0.4.0.0 Production
    Start bursting process..
    [033108_044049410][][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log
    [033108_044049474][][STATEMENT] BurstingProcessor ::: Property Key ---> burstng-source
    [033108_044049475][][STATEMENT] Inside burstingConfigParser
    [033108_044049482][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: startDocument is entered <========================
    [033108_044049688][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: startDocument is entered <========================
    [033108_044050177][][STATEMENT] template File/u0350/app/apps/UAT/xx/1.0/data/PurchaseOrder.rtf
    [033108_044050245][][STATEMENT] Logger.init(): *** DEBUG MODE IS OFF. ***
    [033108_044050731][][STATEMENT] [ PDF GENERATOR ]---------------------------------------------
    [033108_044050732][][STATEMENT] XDO version = Oracle XML Publisher 5.6.3
    [033108_044050732][][STATEMENT] java.home = /usr/j2sdk1.4.2_08/jre
    [033108_044050732][][STATEMENT] XDO_TOP = null
    [033108_044050732][][STATEMENT] Config Path = null
    [033108_044050732][][STATEMENT] Debug Cfg Path= null
    [033108_044050733][][STATEMENT] Font dir = /usr/j2sdk1.4.2_08/jre/lib/fonts/
    [033108_044050733][][STATEMENT] Locale = en
    [033108_044050733][][STATEMENT] Fallback font = type1.Helvetica
    [033108_044050733][][STATEMENT] [ PDF GENERATOR PROPERTIES ]----------------------------------
    [033108_044050736][][STATEMENT] digit-substitution=null(not set)
    [033108_044050736][][STATEMENT] font.ALBANY WT J.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTJ.ttf
    [033108_044050736][][STATEMENT] font.ALBANY WT K.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTK.ttf
    [033108_044050737][][STATEMENT] font.ALBANY WT SC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTS.ttf
    [033108_044050737][][STATEMENT] font.ALBANY WT TC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTT.ttf
    [033108_044050737][][STATEMENT] font.ALBANY WT.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANYWT.ttf
    [033108_044050737][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOJB.ttf
    [033108_044050737][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOJ.ttf
    [033108_044050738][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOKB.ttf
    [033108_044050738][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOK.ttf
    [033108_044050738][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOSCB.ttf
    [033108_044050738][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOSC.ttf
    [033108_044050739][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOTCB.ttf
    [033108_044050739][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOTC.ttf
    [033108_044050739][][STATEMENT] font.ANDALE DUOSPACE WT.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOB.ttf
    [033108_044050739][][STATEMENT] font.ANDALE DUOSPACE WT.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUO.ttf
    [033108_044050739][][STATEMENT] font.CG TIMES.italic.bold=type1.Times-BoldItalic
    [033108_044050739][][STATEMENT] font.CG TIMES.italic.normal=type1.Times-Italic
    [033108_044050740][][STATEMENT] font.CG TIMES.normal.bold=type1.Times-Bold
    [033108_044050741][][STATEMENT] font.CG TIMES.normal.normal=type1.Times-Roman
    [033108_044050741][][STATEMENT] font.COURIER NEW.italic.bold=type1.Courier-BoldOblique
    [033108_044050741][][STATEMENT] font.COURIER NEW.italic.normal=type1.Courier-Oblique
    [033108_044050741][][STATEMENT] font.COURIER NEW.normal.bold=type1.Courier-Bold
    [033108_044050741][][STATEMENT] font.COURIER NEW.normal.normal=type1.Courier
    [033108_044050742][][STATEMENT] font.COURIER.italic.bold=type1.Courier-BoldOblique
    [033108_044050742][][STATEMENT] font.COURIER.italic.normal=type1.Courier-Oblique
    [033108_044050742][][STATEMENT] font.COURIER.normal.bold=type1.Courier-Bold
    [033108_044050742][][STATEMENT] font.COURIER.normal.normal=type1.Courier
    [033108_044050742][][STATEMENT] font.DEFAULT.italic.bold=type1.Helvetica-BoldOblique
    [033108_044050742][][STATEMENT] font.DEFAULT.italic.normal=type1.Helvetica-Oblique
    [033108_044050743][][STATEMENT] font.DEFAULT.normal.bold=type1.Helvetica-Bold
    [033108_044050743][][STATEMENT] font.DEFAULT.normal.normal=type1.Helvetica
    [033108_044050743][][STATEMENT] font.HELVETICA.italic.bold=type1.Helvetica-BoldOblique
    [033108_044050743][][STATEMENT] font.HELVETICA.italic.normal=type1.Helvetica-Oblique
    [033108_044050743][][STATEMENT] font.HELVETICA.normal.bold=type1.Helvetica-Bold
    [033108_044050743][][STATEMENT] font.HELVETICA.normal.normal=type1.Helvetica
    [033108_044050743][][STATEMENT] font.MONOSPACE.italic.bold=type1.Courier-BoldOblique
    [033108_044050744][][STATEMENT] font.MONOSPACE.italic.normal=type1.Courier-Oblique
    [033108_044050744][][STATEMENT] font.MONOSPACE.normal.bold=type1.Courier-Bold
    [033108_044050744][][STATEMENT] font.MONOSPACE.normal.normal=type1.Courier
    [033108_044050744][][STATEMENT] font.SANS-SERIF.italic.bold=type1.Helvetica-BoldOblique
    [033108_044050744][][STATEMENT] font.SANS-SERIF.italic.normal=type1.Helvetica-Oblique
    [033108_044050744][][STATEMENT] font.SANS-SERIF.normal.bold=type1.Helvetica-Bold
    [033108_044050745][][STATEMENT] font.SANS-SERIF.normal.normal=type1.Helvetica
    [033108_044050745][][STATEMENT] font.SERIF.italic.bold=type1.Times-BoldItalic
    [033108_044050745][][STATEMENT] font.SERIF.italic.normal=type1.Times-Italic
    [033108_044050745][][STATEMENT] font.SERIF.normal.bold=type1.Times-Bold
    [033108_044050745][][STATEMENT] font.SERIF.normal.normal=type1.Times-Roman
    [033108_044050745][][STATEMENT] font.SYMBOL.normal.normal=type1.Symbol
    [033108_044050746][][STATEMENT] font.TIMES NEW ROMAN.italic.bold=type1.Times-BoldItalic
    [033108_044050746][][STATEMENT] font.TIMES NEW ROMAN.italic.normal=type1.Times-Italic
    [033108_044050746][][STATEMENT] font.TIMES NEW ROMAN.normal.bold=type1.Times-Bold
    [033108_044050746][][STATEMENT] font.TIMES NEW ROMAN.normal.normal=type1.Times-Roman
    [033108_044050746][][STATEMENT] font.TIMES.italic.bold=type1.Times-BoldItalic
    [033108_044050746][][STATEMENT] font.TIMES.italic.normal=type1.Times-Italic
    [033108_044050747][][STATEMENT] font.TIMES.normal.bold=type1.Times-Bold
    [033108_044050747][][STATEMENT] font.TIMES.normal.normal=type1.Times-Roman
    [033108_044050747][][STATEMENT] font.ZAPFDINGBATS.normal.normal=type1.ZapfDingbats
    [033108_044050747][][STATEMENT] pdf-changes-allowed=0
    [033108_044050749][][STATEMENT] pdf-compression=true
    [033108_044050749][][STATEMENT] pdf-enable-accessibility=true
    [033108_044050749][][STATEMENT] pdf-enable-copying=false
    [033108_044050749][][STATEMENT] pdf-encryption-level=0
    [033108_044050749][][STATEMENT] pdf-font-embedding=true
    [033108_044050749][][STATEMENT] pdf-hide-menubar=false
    [033108_044050750][][STATEMENT] pdf-hide-toolbar=false
    [033108_044050750][][STATEMENT] pdf-no-accff=false
    [033108_044050750][][STATEMENT] pdf-no-cceda=false
    [033108_044050750][][STATEMENT] pdf-no-changing-the-document=true
    [033108_044050750][][STATEMENT] pdf-no-printing=false
    [033108_044050750][][STATEMENT] pdf-open-password=
    [033108_044050751][][STATEMENT] pdf-permissions=0
    [033108_044050751][][STATEMENT] pdf-permissions-password=
    [033108_044050751][][STATEMENT] pdf-printing-allowed=0
    [033108_044050751][][STATEMENT] pdf-replace-smartquotes=true
    [033108_044050751][][STATEMENT] pdf-security=false
    [033108_044050751][][STATEMENT] ------------------------------------------------------
    [033108_044051077][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica
    [033108_044051091][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Times-Roman
    [033108_044051237][][STATEMENT] WARNING: Old RTF version detected, nested table disabled
    [033108_044052301][][STATEMENT] WARNING: Old RTF version detected, nested table disabled
    [033108_044052383][oracle.apps.xdo.template.rtf.RTF2XSLParser][STATEMENT] Time spent: 1665
    [033108_044052394][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica closed.
    [033108_044052394][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Times-Roman closed.
    [033108_044052649][][STATEMENT] Logger.init(): *** DEBUG MODE IS OFF. ***
    [033108_044052649][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor constructor is called.
    [033108_044052901][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor has been initialized without default config.
    [033108_044052901][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setTemplate(String) is called with '/u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo2.tmp'.
    [033108_044052916][][STATEMENT] Logger.init(): *** DEBUG MODE IS OFF. ***
    [033108_044052916][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setData(String) is called with '/u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo0.tmp'.
    [033108_044052920][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setOutput(String)is called with '/u0350/app/apps/UAT/xx/1.0/log/033108_044049420/PurchaseOrder 6023571.pdf'.
    [033108_044052948][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setOutputFormat(byte)is called with ID=1.
    [033108_044052950][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.generate() called.
    [033108_044052950][oracle.apps.xdo.template.FOProcessor][STATEMENT] createFO(Object, Object) is called.
    [033108_044053858][oracle.apps.xdo.common.xml.XSLT10gR1][STATEMENT] oracle.xdo Developers Kit 10.1.0.3.0 - Production
    [033108_044053859][oracle.apps.xdo.common.xml.XSLT10gR1][STATEMENT] Scalable Feature Disabled
    [033108_044055032][oracle.apps.xdo.template.fo.FOProcessingEngine][STATEMENT] Using proxy for PDF Generator
    [033108_044055064][oracle.apps.xdo.template.FOProcessor][STATEMENT] Calling FOProcessingEngine.process()
    [033108_044055065][][STATEMENT] Using optimized xslt
    [033108_044055100][oracle.apps.xdo.template.fo.datatype.AttrKey][STATEMENT] WARNING: Found undetermined AttrKey: xmlns:xlink
    [033108_044055108][][STATEMENT] [ PDF GENERATOR ]---------------------------------------------
    [033108_044055108][][STATEMENT] XDO version = Oracle XML Publisher 5.6.3
    [033108_044055108][][STATEMENT] java.home = /usr/j2sdk1.4.2_08/jre
    [033108_044055109][][STATEMENT] XDO_TOP = null
    [033108_044055112][][STATEMENT] Config Path = null
    [033108_044055112][][STATEMENT] Debug Cfg Path= null
    [033108_044055112][][STATEMENT] Font dir = /usr/j2sdk1.4.2_08/jre/lib/fonts/
    [033108_044055112][][STATEMENT] Locale = en
    [033108_044055112][][STATEMENT] Fallback font = type1.Helvetica
    [033108_044055112][][STATEMENT] [ PDF GENERATOR PROPERTIES ]----------------------------------
    [033108_044055115][][STATEMENT] digit-substitution=null(not set)
    [033108_044055115][][STATEMENT] font.ALBANY WT J.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTJ.ttf
    [033108_044055116][][STATEMENT] font.ALBANY WT K.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTK.ttf
    [033108_044055116][][STATEMENT] font.ALBANY WT SC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTS.ttf
    [033108_044055116][][STATEMENT] font.ALBANY WT TC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTT.ttf
    [033108_044055116][][STATEMENT] font.ALBANY WT.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANYWT.ttf
    [033108_044055116][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOJB.ttf
    [033108_044055116][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOJ.ttf
    [033108_044055116][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOKB.ttf
    [033108_044055130][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOK.ttf
    [033108_044055130][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOSCB.ttf
    [033108_044055131][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOSC.ttf
    [033108_044055137][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOTCB.ttf
    [033108_044055137][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOTC.ttf
    [033108_044055137][][STATEMENT] font.ANDALE DUOSPACE WT.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOB.ttf
    [033108_044055138][][STATEMENT] font.ANDALE DUOSPACE WT.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUO.ttf
    [033108_044055138][][STATEMENT] font.CG TIMES.italic.bold=type1.Times-BoldItalic
    [033108_044055138][][STATEMENT] font.CG TIMES.italic.normal=type1.Times-Italic
    [033108_044055138][][STATEMENT] font.CG TIMES.normal.bold=type1.Times-Bold
    [033108_044055138][][STATEMENT] font.CG TIMES.normal.normal=type1.Times-Roman
    [033108_044055138][][STATEMENT] font.COURIER NEW.italic.bold=type1.Courier-BoldOblique
    [033108_044055138][][STATEMENT] font.COURIER NEW.italic.normal=type1.Courier-Oblique
    [033108_044055138][][STATEMENT] font.COURIER NEW.normal.bold=type1.Courier-Bold
    [033108_044055138][][STATEMENT] font.COURIER NEW.normal.normal=type1.Courier
    [033108_044055139][][STATEMENT] font.COURIER.italic.bold=type1.Courier-BoldOblique
    [033108_044055139][][STATEMENT] font.COURIER.italic.normal=type1.Courier-Oblique
    [033108_044055139][][STATEMENT] font.COURIER.normal.bold=type1.Courier-Bold
    [033108_044055139][][STATEMENT] font.COURIER.normal.normal=type1.Courier
    [033108_044055139][][STATEMENT] font.DEFAULT.italic.bold=type1.Helvetica-BoldOblique
    [033108_044055139][][STATEMENT] font.DEFAULT.italic.normal=type1.Helvetica-Oblique
    [033108_044055139][][STATEMENT] font.DEFAULT.normal.bold=type1.Helvetica-Bold
    [033108_044055139][][STATEMENT] font.DEFAULT.normal.normal=type1.Helvetica
    [033108_044055139][][STATEMENT] font.HELVETICA.italic.bold=type1.Helvetica-BoldOblique
    [033108_044055140][][STATEMENT] font.HELVETICA.italic.normal=type1.Helvetica-Oblique
    [033108_044055140][][STATEMENT] font.HELVETICA.normal.bold=type1.Helvetica-Bold
    [033108_044055140][][STATEMENT] font.HELVETICA.normal.normal=type1.Helvetica
    [033108_044055140][][STATEMENT] font.MONOSPACE.italic.bold=type1.Courier-BoldOblique
    [033108_044055140][][STATEMENT] font.MONOSPACE.italic.normal=type1.Courier-Oblique
    [033108_044055140][][STATEMENT] font.MONOSPACE.normal.bold=type1.Courier-Bold
    [033108_044055140][][STATEMENT] font.MONOSPACE.normal.normal=type1.Courier
    [033108_044055140][][STATEMENT] font.SANS-SERIF.italic.bold=type1.Helvetica-BoldOblique
    [033108_044055140][][STATEMENT] font.SANS-SERIF.italic.normal=type1.Helvetica-Oblique
    [033108_044055141][][STATEMENT] font.SANS-SERIF.normal.bold=type1.Helvetica-Bold
    [033108_044055141][][STATEMENT] font.SANS-SERIF.normal.normal=type1.Helvetica
    [033108_044055141][][STATEMENT] font.SERIF.italic.bold=type1.Times-BoldItalic
    [033108_044055141][][STATEMENT] font.SERIF.italic.normal=type1.Times-Italic
    [033108_044055141][][STATEMENT] font.SERIF.normal.bold=type1.Times-Bold
    [033108_044055141][][STATEMENT] font.SERIF.normal.normal=type1.Times-Roman
    [033108_044055141][][STATEMENT] font.SYMBOL.normal.normal=type1.Symbol
    [033108_044055141][][STATEMENT] font.TIMES NEW ROMAN.italic.bold=type1.Times-BoldItalic
    [033108_044055141][][STATEMENT] font.TIMES NEW ROMAN.italic.normal=type1.Times-Italic
    [033108_044055142][][STATEMENT] font.TIMES NEW ROMAN.normal.bold=type1.Times-Bold
    [033108_044055142][][STATEMENT] font.TIMES NEW ROMAN.normal.normal=type1.Times-Roman
    [033108_044055142][][STATEMENT] font.TIMES.italic.bold=type1.Times-BoldItalic
    [033108_044055142][][STATEMENT] font.TIMES.italic.normal=type1.Times-Italic
    [033108_044055142][][STATEMENT] font.TIMES.normal.bold=type1.Times-Bold
    [033108_044055142][][STATEMENT] font.TIMES.normal.normal=type1.Times-Roman
    [033108_044055142][][STATEMENT] font.ZAPFDINGBATS.normal.normal=type1.ZapfDingbats
    [033108_044055142][][STATEMENT] pdf-changes-allowed=0
    [033108_044055142][][STATEMENT] pdf-compression=true
    [033108_044055143][][STATEMENT] pdf-enable-accessibility=true
    [033108_044055143][][STATEMENT] pdf-enable-copying=false
    [033108_044055143][][STATEMENT] pdf-encryption-level=0
    [033108_044055143][][STATEMENT] pdf-font-embedding=true
    [033108_044055143][][STATEMENT] pdf-hide-menubar=false
    [033108_044055143][][STATEMENT] pdf-hide-toolbar=false
    [033108_044055143][][STATEMENT] pdf-no-accff=false
    [033108_044055143][][STATEMENT] pdf-no-cceda=false
    [033108_044055143][][STATEMENT] pdf-no-changing-the-document=true
    [033108_044055144][][STATEMENT] pdf-no-printing=false
    [033108_044055145][][STATEMENT] pdf-open-password=
    [033108_044055145][][STATEMENT] pdf-permissions=0
    [033108_044055145][][STATEMENT] pdf-permissions-password=
    [033108_044055145][][STATEMENT] pdf-printing-allowed=0
    [033108_044055145][][STATEMENT] pdf-replace-smartquotes=true
    [033108_044055145][][STATEMENT] pdf-security=false
    [033108_044055145][][STATEMENT] ------------------------------------------------------
    [033108_044055220][][STATEMENT] Rendering page [1]
    [033108_044055238][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica
    [033108_044055238][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Times-Roman
    [033108_044055246][][STATEMENT] Phase2 time used: 83ms
    [033108_044055531][][STATEMENT] Continue rendering page [1]
    [033108_044055585][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica-Bold
    [033108_044055799][][STATEMENT] Generating page [1]
    [033108_044055843][][STATEMENT] Rendering page [2]
    [033108_044056064][][STATEMENT] Generating page [2]
    [033108_044056096][][STATEMENT] Rendering page [3]
    [033108_044056271][][STATEMENT] Generating page [3]
    [033108_044056303][][STATEMENT] Rendering page [4]
    [033108_044056407][][STATEMENT] Phase2 time used: 876ms
    [033108_044056443][][STATEMENT] Continue rendering page [4]
    [033108_044056483][][STATEMENT] Generating page [4]
    [033108_044056512][][STATEMENT] Rendering page [5]
    [033108_044056613][][STATEMENT] Generating page [5]
    [033108_044056635][][STATEMENT] Rendering page [6]
    [033108_044056653][][STATEMENT] Phase2 time used: 210ms
    [033108_044056654][][STATEMENT] Continue rendering page [6]
    [033108_044056654][][STATEMENT] Phase2 time used: 1ms
    [033108_044056654][][STATEMENT] Continue rendering page [6]
    [033108_044056656][][STATEMENT] Phase2 time used: 2ms
    [033108_044056666][][STATEMENT] Continue rendering page [6]
    [033108_044056676][][STATEMENT] Generating page [6]
    [033108_044056681][][STATEMENT] Rendering page [7]
    [033108_044056731][][STATEMENT] Phase2 time used: 65ms
    [033108_044056731][][STATEMENT] Continue rendering page [7]
    [033108_044056731][][STATEMENT] Phase2 time used: 0ms
    [033108_044056732][][STATEMENT] Continue rendering page [7]
    [033108_044056732][][STATEMENT] Phase2 time used: 0ms
    [033108_044056733][][STATEMENT] Continue rendering page [7]
    [033108_044056733][][STATEMENT] Generating page [7]
    [033108_044056735][][STATEMENT] Phase2 time used: 3ms
    [033108_044056736][][STATEMENT] Total time used: 1668ms for processing XSL-FO
    [033108_044057034][][STATEMENT] ProxyGenerator creating new page: 1
    [033108_044057111][][STATEMENT] ProxyGenerator creating new page: 2
    [033108_044057189][][STATEMENT] ProxyGenerator creating new page: 3
    [033108_044057242][][STATEMENT] ProxyGenerator creating new page: 4
    [033108_044057301][][STATEMENT] ProxyGenerator creating new page: 5
    [033108_044057331][][STATEMENT] ProxyGenerator creating new page: 6
    [033108_044057343][][STATEMENT] ProxyGenerator creating new page: 7
    [033108_044057382][][STATEMENT] Starting Generator.close()
    [033108_044057388][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica closed.
    [033108_044057388][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica-Bold closed.
    [033108_044057388][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Times-Roman closed.
    [033108_044057389][][STATEMENT] Generator.close() took: 6ms
    [033108_044057389][][STATEMENT] Total time to process commands from ProxyGenerator tmp file: 643ms
    [033108_044057389][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) is called.
    [033108_044057412][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) done. All inputs are cleared.
    [033108_044057477][][STATEMENT] initConfig(): config file used :null
    [033108_044057478][][STATEMENT] initCustomFactories(): loading custom delivery channels :{}
    [033108_044057478][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] initConfig(): loading default properties :{}
    [033108_044057479][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] createRequest(): called with request type :smtp_email
    [033108_044057522][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] createRequest(): exiting
    [033108_044057577][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Adding an attachment ...[filename]=[PurchaseOrder 6023571.pdf], [content-type]=[application/pdf], [index]=[-1], [disposition]=[inline]
    [033108_044057585][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character set for MIME headers : UTF-8
    [033108_044057586][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character encoding for MIME headers : B
    [033108_044057588][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Exiting addAttachment()
    [033108_044057589][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): Called
    [033108_044057589][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] setDefaultServerProperties(): No default server found for this request type: smtp_email
    [033108_044057589][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] setDefaultServerProperties(): properties defined in this request.
    [TEMP_DIR:String] [u0350/app/apps/UAT/xx/1.0/log/033108_044049420]
    [ASYNC_CHECK_INTERVAL:Integer] [60000]
    [HOST:String] [colfarmt.hpa.org.uk]
    [SMTP_TO_RECIPIENTS:String] [[email protected]]
    [SMTP_ENCODING:String]
    [SMTP_CONTENT_FILENAME:String] [messageBody.txt]
    [SMTP_CONTENT_TYPE:String] [text/html;charset=UTF-8]
    [SMTP_SUBJECT:String] [Purchase Order No: 6023571]
    [BUFFERING_MODE:Boolean] [true]
    [SMTP_CC_RECIPIENTS:String] [[email protected]]
    [SMTP_FROM:String] [[email protected]]
    [TEMP_FILE_PREFIX:String] [dlvr]
    [PORT:Integer] [(java.lang.Integer]
    [RETRY:Integer] [0]
    [SMTP_ATTACHMENT:Attachment] [(oracle.apps.xdo.delivery.smtp.Attachment]
    [RETRY_INTERVAL:Integer] [60000]
    [TEMP_FILE_SUFFIX:String] [.tmp]
    [SMTP_ATTACHMENT_FIRST:Boolean] [(java.lang.Boolean]
    [SMTP_CHARSET:String] [UTF-8]
    [ASYNC_TIMEOUT:Integer] [86400000]
    [033108_044057590][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): BUFFERING_MODE is ON.
    [033108_044057590][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): TEMP_DIR found, start document buffering : /u0350/app/apps/UAT/xx/1.0/log/033108_044049420
    [033108_044057590][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] backupDocument(): Starting document buffering.
    [033108_044057602][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] backupDocument(): Creating temporary file for buffering : /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/dlvrbrfaxe1m4B55646.tmp
    [033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] backupDocument(): 63 bytes have been written to the temporary file.
    [033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] filterDocument(): Starting document preprocessing.
    [033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] filterDocument(): No native command found for preprocessing, exiting.
    [033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] backupDocument(): Finished document buffering.
    [033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): Start reading the buffered document file. : /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/dlvrbrfaxe1m4B55646.tmp
    [033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): Calling DeliveryRequestHandler.submitRequest()
    [033108_044057604][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler][STATEMENT] submitRequest(): called
    [033108_044057604][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler][STATEMENT] submitRequest(): This request has never been submitted before.
    [033108_044057607][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] Start parsing HTML file...(filename:messageBody.txt)(current dir:null)
    [033108_044057607][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] Reached the end of InputStream.
    [033108_044057608][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Adding an attachment ...[filename]=[messageBody.txt], [content-type]=[text/html;charset=UTF-8], [index]=[-1], [disposition]=[null]
    [033108_044057608][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character set for MIME headers : UTF-8
    [033108_044057608][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character encoding for MIME headers : B
    [033108_044057608][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Exiting addAttachment()
    [033108_044057609][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT]
         Dear Sir/Madam,
         Please review the attached PO 6023571
    [033108_044057666][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler][STATEMENT] submitRequest(): Character set for MIME headers : UTF-8
    [033108_044057666][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler][STATEMENT] submitRequest(): Character encoding for MIME headers : B
    [033108_044058067][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler][STATEMENT] submitRequest(): exiting
    [033108_044058067][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): Finished calling DeliveryRequestHandler.submitRequest()
    [033108_044058067][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): Process done successfully. Exiting submit()
    [033108_044058085][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: endDocument is entered <========================
    [033108_044058086][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: endDocument is entered <========================
    Bursting process complete..
    Generating Bursting Status Report..
    [033108_044058202][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo0.tmp is deleted
    [033108_044058203][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo1.tmp is not deleted
    [033108_044058226][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo2.tmp is deleted
    [033108_044058226][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo3.tmp is not deleted
    [033108_044058238][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo4.tmp is deleted
    [033108_044058262][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/PurchaseOrder 6023571.pdf is deleted

  • Selective Bursting-Use of Bursting control file

    Hi,
    I need some infromation on selective bursting of XMl data. I am bursting the Oracle EBS invoice print program based on whether the preference is email or printer. I could handle this easily in the bursting control file. The xml was filtered based in the email on the customer site and sent to proper delivery channel.
    Can the bursting control file be modified in such a way that for the customers that have an email address the invoice gets bursted to the correct email address(which it does now) and the other invoices (customers with no email address) becomes one pdf file(either on the filesystem or gets emailed using another delivery channel)
    My control file goes something like this
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- $Header: BURSTING_FILE_XEXP_EXP_DK_RAXINV.xml 115.5 2010/07/22 17:35:53 xdouser noship $ -->
    <!-- dbdrv: none -->
    --First Request for emailing the invoices based on G_INVOICE*+
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="/EXP_DK_RAXINV/LIST_G_ORDER_BY/G_ORDER_BY/LIST_G_INVOICE/G_INVOICE">
    <xapi:delivery>
    <xapi:email server="server address" port="25" from="fromemail">
    <xapi:message id="123" to="${CF_EMAIL}" cc="${CF_CC_ADDRESS}" attachment="true" attachment-type="pdf" content-type="text/html" subject="${CF_EMAIL_SUBJECT}">
    </xapi:message>
    </xapi:email>
    <xapi:print id="printer1" printer="ipp://localhost:631/printers/KBH1S1-PRT" copies="1"/>
    </xapi:delivery>
    <xapi:document output="${CF_FILE_NAME}" output-type="pdf" delivery="123">
    <xapi:template type="rtf" location="xdo://XEXP.EXP_DKK_RAXINV.da.DK/?getSource=true" filter=".//G_INVOICE[CF_EMAIL!='abc']"></xapi:template>
    </xapi:document>
    </xapi:request>
    --New request to filter other invoices to group into into one file*+
    <xapi:request select="/EXP_DK_RAXINV/LIST_G_ORDER_BY">
    <xapi:delivery>
    <xapi:email server="serveraddress" port="25" from="fromemail">
    <xapi:message id="23" to="testemail address" cc="${CF_CC_ADDRESS}" attachment="true" attachment-type="pdf" content-type="text/html" subject="${CF_EMAIL_SUBJECT}">
    </xapi:message>
    </xapi:email>
    <xapi:print id="printer1" printer="ipp://localhost:631/printers/KBH1S1-PRT" copies="1"/>
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="23">
    <xapi:template type="rtf" location="xdo://XEXP.EXP_DKK_RAXINV.da.DK/?getSource=true" filter=".//G_INVOICE[CF_EMAIL='abc']"></xapi:template>-- this filter part does not work*
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    Is there any way of achieving this.
    Thanks in advance

    Example here:
    http://garethroberts.blogspot.com/2010/08/ebs-bursting-filter-on-xml-elements.html
    Regards,
    Gareth

  • Dynamic location for RTF file in Bursting Control File

    Hi
    I have a query that determines the directory location of the RTF file on the server. (eg. query returns /u01/apps/erpd2/inst/apps/erpd2_mcdeagaix821/temp/XMCI_B2CR009_RFS.rtf
    Instead of hard-coding this location as:
    <xapi:template type="rtf" location="/u01/apps/erpd2/inst/apps/erpd2_mcdeagaix821/temp/XMCI_B2CR009_RFS.rtf">
    </xapi:template>
    I change the above to
    <xapi:template type="rtf" location="${RTF_LOC}">
    </xapi:template>
    and fetch RTF_LOC at the bursting level in the Data template.
    After specifying the location as a token in the bursting control file, the Bursting program errors out. It does not even go to the post-processing stage.
    I have fetched the Outbound SMTP server name in a similar fashion and specified the same as a token in the Bursting XML. It works fine. Also, when I hard-code the same RTF location in the bursting file, it works! Just specifying it as a token errors out the bursting process.
    Pls advise.
    Ritu

    Hi Ritu,
    I am probably too late to help you, but here is an answer for completeness. I had the same problem as you, I needed to make my template selection dynamic.
    The bursting control file below was not working until I applied patch 8594771 (BURSTING DOES NOT SUPPORT ESCAPE CHARACTERS LIKE "FIRST LAST <[email protected]>" )
    I managed to find this patch by running the XML Publisher Report Bursting Program with debug=Yes and got the message "java.util.zip.ZipException: ZIP file must have at least one entry". Searching on Oracle Support for this message delivered patch number 8594771
    Here is my control file:
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="/XX_DUNNING/LIST_G_SITE_USE_ID1/G_SITE_USE_ID1/LIST_G_CORRESPONDENCES/G_CORRESPONDENCES">
    <xapi:delivery>
    <xapi:email server="localhost" port="99"
    from="[email protected]"
    reply-to="[email protected]">
    <xapi:message id="email1" to="${CF_EMAIL_ADDRESS}" cc="${CF_CC_EMAIL_ADDRESS}"
    attachment="true"
    subject="${LIST_G_CUSTOM_LETTER_HEADER/G_CUSTOM_LETTER_HEADER/HEADER_TEXT}">
    ${LIST_G_CUSTOM_LETTER_FOOTER/G_CUSTOM_LETTER_FOOTER/FOOTER_TEXT}
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="email1">
    <xapi:template type="xsl-fo" location="${TEMPLATE_NAME}"
    filter=".//G_CORRESPONDENCES[DUNNING_METHOD='Email']">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    location="xdo://XX.${LETTER_NAME}.en.00" also worked
    Regards,
    Ruth Miller

  • How to call translation template from bursting control file.

    Hi All,
    Greetings!!!!!!!!!!!!!
    Need help on calling translation template from the bursting control file.
    While calling the translation template from bursting control file it ends in error. Following is the error
    [063010_063059160][][EXCEPTION] The URL ( xdo://XXX.XXXPOXPRPOL.fr.CA/?getSource=true ) is invalid.
    But same control file is working for standard tempalte.
    Here is the sample control file.
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:request select="/XXXPRPOLXML/LIST_G_MANUAL_PO_NUM_TYPE/G_MANUAL_PO_NUM_TYPE/LIST_G_HEADERS/G_HEADERS">
    <xapi:delivery>
    <xapi:email id="123" server="nasmtp.us.XXX.com" port="25" from="${C_ORIGINAL_BUYER_EMAIL}" reply-to ="">
    <xapi:message id="123" to="${C_VENDOR_CONTACT_EMAIL}" cc="" bcc=""
    attachment="true"
    subject="Purchase Order ${POH_PO_NUM} revision ${POH_REVISION_NUM} from XXX">
    ${POH_VENDOR_CONTACT_NAME},
    ${C_MAIL_SUBJECT}
    PO number ${POH_PO_NUM} revision ${POH_REVISION_NUM}
    Please reply to ${C_ORIGINAL_BUYER_EMAIL} - ${POH_ORG_ID}
    Thank you,
    ${POH_BUYER}
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="${POH_PO_NUM}-rev${POH_REVISION_NUM}" output-type="pdf" delivery="123">
    <xapi:template type="rtf" location="xdo://XXX.XXXPOXPRPOL.en.US/?getSource=true" filter=".//G_HEADERS[C_VENDOR_CONTACT_EMAIL !=''and POH_ORG_ID = 54]"></xapi:template>
    <xapi:template type="rtf" location="xdo://XXX.XXXPOXPRPOL.fr.CA/?getSource=true" filter=".//G_HEADERS[C_VENDOR_CONTACT_EMAIL !='' and POH_ORG_ID = 161]"></xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    Please let me know how to call a translation template from bursting.
    Thanks
    Rajesh

    Got the solution...
    This is how we have to call a translation template from bursting file.
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:request select="/XXXPRPOLXML/LIST_G_MANUAL_PO_NUM_TYPE/G_MANUAL_PO_NUM_TYPE/LIST_G_HEADERS/G_HEADERS">
    <xapi:delivery>
    <xapi:email id="123" server="nasmtp.us.XXX.com" port="25" from="${C_ORIGINAL_BUYER_EMAIL}" reply-to ="">
    <xapi:message id="123" to="${C_VENDOR_CONTACT_EMAIL}" cc="" bcc=""
    attachment="true"
    subject="Purchase Order ${POH_PO_NUM} revision ${POH_REVISION_NUM} from XXX">
    ${POH_VENDOR_CONTACT_NAME},
    ${C_MAIL_SUBJECT}
    PO number ${POH_PO_NUM} revision ${POH_REVISION_NUM}
    Please reply to ${C_ORIGINAL_BUYER_EMAIL} - ${POH_ORG_ID}
    Thank you,
    ${POH_BUYER}
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="${POH_PO_NUM}-rev${POH_REVISION_NUM}" output-type="pdf" delivery="123">
    <xapi:template type="xsl-fo" location="xdo://XXX.XXXPOXPRPOL.fr.CA" filter=".//G_HEADERS[C_VENDOR_CONTACT_EMAIL !='' and POH_ORG_ID = 161 and CLANGUAGE2 = 'fr']"></xapi:template>
    <xapi:template type="rtf" location="xdo://XXX.XXXPOXPRPOL.en.US/?getSource=true" filter=".//G_HEADERS[C_VENDOR_CONTACT_EMAIL !='' and POH_ORG_ID = 54 or POH_ORG_ID = 56 or (POH_ORG_ID = 161 and CLANGUAGE2 = 'en')]"></xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    where
    XXX - Application shortname
    XXXPOXPRPOL - Template Code
    Hope this helps!!!!!!!!!!!!!!!!!!!!!
    Regards
    Rajesh

  • Issue in Printing, using Bursting control file

    Hello All,
    We are using bursting control file to print and email. Email option is working fine. But when it comes to printing, it is printing "PDF file not printed. 128MB of memory is required to enable direct PDF printing" in the printout.
    We are using CUPS and below is the path we are using for printing,
    ipp://localhost:631/printers/YG_MAIN
    When we try to run the same program manually, by giving the printer name and number of copies to 1, then we are able to see the pdf output. Other normal bi publisher reports are also working fine, w.r.t that printer. We are facing this issue only when we are running xml bursting program, with print option.
    Any suggestions please..
    Here is the full bursting control file,
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:globalData location="stream">
    </xapi:globalData >
    <xapi:request select="/XX_IMB/LIST_G_PAT/G_PAT">
    <xapi:delivery>
    <xapi:email id="123" server="XXXXXX.com" port="25" from="[email protected]">
    <xapi:message id="123" to="${DESTINATION}" attachment="true" content-type = "text/html" subject="Test email"> Please find the attachement</xapi:message>
    </xapi:email>
    <xapi:print id="print1" printer="ipp://localhost:631/printers/${DESTINATION}" copies="1"/>
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="123">
    <xapi:template type="xsl-fo" location="xdo://XXCUS.XX_MAIN.en.US" filter=".//G_PAT[DESTINATION_TYPE='Email']">
    </xapi:template>
    </xapi:document>
    <xapi:document output-type="pdf" delivery="print1">
    <xapi:template type="xsl-fo" location="xdo://XXCUS.XX_MAIN.en.US" filter=".//G_PAT[DESTINATION_TYPE='Print']">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>

    BI Publisher bursting to CUPS printer doesn't use PASTA, so output doesn't get converted from PDF to Postscript which it does when you run it through concurrent manager.
    You can put an entry in the $XDO_TOP/resource/xdodelivery.cfg as follows (replace for your printer):
    <pre>
    <server name="MYPRINTER" type="ipp_printer" default="true">
    <uri>ipp://mycupsserver.mydomain:631/printers/MYPRINTER</uri>
    <filter>/usr/local/bin/pdf2ps -paper A4 {infile} {outfile}</filter>
    </server>
    </pre>
    Regards,
    Gareth

  • Bursting control file for Printer not working in WINDOWS ENVIRONMENT

    Hi,
    We are trying to print xml publisher report output (PDF) using bursting control file. Is not wokring.
    We are using ebs (R12.1.1) on Windows environment.
    Any pre-requisite setup (ie. cups config) should be done before printing using control file. Please guide me i am not having knowledge in printer setup and printer part..
    Thanks in advance
    --Ben                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Hussein,
    Yes, I am able to print seed concurrent report (o/p -text) to that printer (method:- giving the printer name and copies by clicking " Option " in SRS window.. )
    When i do the same for xml publisher publisher report to the same printer , its not working using bursting control file.
    I too made the test in xml publisher report without bursting control file , there i faced another new issue. Let me explain
    1. We are using RDF as data source . here o/p :-" XML "
    2. We are using RTF as layout. In template definition, i chose the default o/p type as :- "HTML"
    3. When i submit the request, i choose the printer which is working fine for printing seeded report. (method:- giving the printer name and copies by clicking " Option " in SRS window.. )
    4. My printer getting prints HTML tag, instead of desired o/p. I wondered after seeing the printout.
    5. I cross checked by clicking view output, its showing me the exact html output as per RTF layout.
    Dont know wat happening ??? Help me out.
    i did the same for changing default output type in template definition to RTF,PDF.. its printing source code of the output type instead of printing output.
    Thanks & Regards,
    --Ben                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Bursting Control file, Error!! Could not deliver the output for Delivery

    Hi,
    I am using bursting control file to send report output to email in R12.1.3.
    If the report output is having data, it is working fine. if there is no data it is getting errored out with the below message.
    "Error!! Could not deliver the output for Delivery channel:null "
    In the report output i put "No data found", when i click on view output the output in application is showing as "NO DATA FOUND" in PDF .
    "Bursting VMC Approved Purchase Orders for a period (XML Publisher Report Bursting Program)" got above error.
    my requirement is if there is no data, still i require the output to email.
    Thanks in Advance
    Adina.

    Hi,
    I am facing the same situation and want the bursting program to finish in normal even when there is no data.
    Can you please let me know how you resolved this?
    Thanks
    RG

  • How to set UTL_FILE parameter in the INIT.ORA file

    Dear all,
    How can i set UTL_FILE parameter in the INIT.ORA file.
    Also let me know how to create a directory over there.I am new to this area.
    Where exactly i can locate these details and create directory.
    Regards,
    Bala.

    post this in database forum

  • Regarding UTL_FILE parameter in the INIT.ORA file

    Dear all,
    How can i set UTL_FILE parameter in the INIT.ORA file.
    Also let me know how to create a directory over there.I am new to this area.
    Where exactly i can locate these details and create directory.
    Regards,
    Bala.

    Dear all,
    How can i set UTL_FILE parameter in the INIT.ORA
    file.
    Also let me know how to create a directory over
    there.I am new to this area.
    Where exactly i can locate these details and create
    directory.
    Regards,
    Bala.Taken note of yingkuan's comments about directory objects - which don't need a utl_file_dir entry - if you really still need to know (on e-business suite or some other product that needs them) then UTL_FILE_DIR is an initialisation parameter which takes a comma separated list of directories on the database server and to which the oracle software owner (usually oracle on *nix systems and system on windows) has read/write access. To set it therefore you'll need to identify or create your directory and then either
    a) add the line UTL_FILE_DIR=/path/to/dir1, /path/to/dir2
    to your init.ora if you are using one or use
    b) ALTER SYSTEM SET UTL_FILE_DIR=/path/to/dir1, /path/to/dir2 SCOPE=SPFILE;
    if you are using a server parameter file.
    You should be able to find this and more information in the documentation for your version of Oracle.
    Niall Litchfield
    http://www.orawin.info/

  • Re:Bursting control file with multiple sub templates

    Hi
    Can any one let me know how to create a bursting control file for multiple sub templates. I.e I have one main template which will invoke other templates. the normal bursting control file which i have created is sending
    an output with no data , but i can see an output in the concurrent program.
    Thanks in advance.

    Add it as parameter in your xml file.

  • XPath Exception on Bursting Control File Template Filter Expression

    I am getting the following exception for this bursting control file in EBS 11.5.10.2 on the template filter expression:
    oracle.xml.parser.v2.XPathException: Unknown expression at EOF: (./XXCUS_DIST_CODE='P')[1].
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
         <xapi:request select="/XXCUS_RAXINV/LIST_G_DIST/G_DIST">
              <xapi:delivery>
                   <xapi:email server="${XXCUS_EMAIL_SERVER}" port="${XXCUS_EMAIL_PORT}" from="[email protected]">
                        <xapi:message id="einv" to="[email protected]" bcc="[email protected]" content-type="text/html" attachment="true" subject="Invoice ${LIST_G_INVOICE/G_INVOICE/TRX_NUMBER}">
    <![CDATA[
    <html>
    <body>
    Message
    </body>
    </html>
    ]]>
                        </xapi:message>
                   </xapi:email>
              </xapi:delivery>
              <xapi:document output="Invoice_${LIST_G_INVOICE/G_INVOICE/CUSTOMER_NUMBER}_${LIST_G_INVOICE/G_INVOICE/TRX_NUMBER}" output-type="pdf" delivery="einv">
                   <xapi:template type="xsl-fo" location="xdo://XXCUS.XXCUS_COMMON_RAXINV.en.US/?getSource=true" filter="./XXCUS_DIST_CODE='E'" />
              </xapi:document>
         </xapi:request>
         <xapi:request select="/XXCUS_RAXINV/LIST_G_DIST/G_DIST">
              <xapi:delivery>
                   <xapi:print id="print" printer="${XXCUS_PRINTER_NAME}" />
              </xapi:delivery>
              <xapi:document output-type="pdf" delivery="print">
                   <xapi:template type="xsl-fo" location="xdo://XXCUS.XXCUS_COMMON_RAXINV.en.US/?getSource=true" filter="./XXCUS_DIST_CODE='P'" />
              </xapi:document>
         </xapi:request>
    </xapi:requestset>According to the docs, you can use any valid XPath expression. Any idea on what might be wrong here? I am trying to exclusively print or email based on the data. Currently, it prints AND emails all documents regardless of the value of XXCUS_DIST_CODE.
    Thanks,
    Kurz

    Error lies on this line --- filter="./XXCUS_DIST_CODE='P'"
    you need to use it like this --
    Suppose you want condition on name in following XML Struction
    <STUDENT>
    <Name> Jatin </NAME>
    </STUDENT>
    the it should be ...
    filter=".//<STUDENT>[NAME = 'Jatin']"
    Not in your case ui suppose it should be filter=".//XXCUS_RAXINV/LIST_G_DIST/G_DIST[XXCUS_DIST_CODE='P']".
    Hope it solves the problem.

Maybe you are looking for

  • IPad Air WiFi (5GHz) issues after iOS 8 upgrade

    Same problem with my ipad air with ios 8.02, lost connectivity with 5Ghz band. It works for about 5 seconds, then hangs in Safari, email, etc. When I connect to 2.4 ghz band, it all works fine. Please fix this. Thank you.

  • Profile value per_person_id is not listed for $PROFILE$ block

    Hi All, I have reqirement to retrive the person_id to default Employee number in Personal analysis descriptive flex filed segment. When i tried using $PROFILES$.PER_PERSON_ID or fnd_profile.value('PER_PERSON_ID') is not working for me. Then i have ch

  • Looking for a good pair of (full or midsized/not ear bud) headphones

    Hey guys, just want to know if you can direct me to a good pair of headphones for my 3gs as the standard apple ones arent so good. Thanx

  • Help needed to invoke MSOffice and Java application

    Hi Everybody, I created a macro for MS Word and automated it to a new button in file menu. And I am able to invoke the word file in my java application (with the new button I added and able to run the macro). Now my problem is, if I am running my jav

  • Change storage type in transfer order

    For next empty bin strategy, the transfer order proposes next empty bin in a given storage type. Via tx LT1E , it is possible to change a storage bin and quantity in the transfer order and confirm the same. However, Our requirement is to change the s