XML Publisher Bursting using different locale settings

Hi,
I have a report that shows numeric fields in different format mask if I select different template each time while submitting request. One template file's language is English and its territory is United States. Other template file's language is German and its territory is Germany. English template shows number like 1,500.94 ( "," comma as digit grouping symbol and "." period as decimal symbol) which is fine. German template shows 1.500,94 ( "." period as digit grouping symbol and "," comma as decimal symbol). So everything is great for me until I am using XML Bursting. Even if I specified german templates in bursting control file the output pdf file shows numeric character like English template. (e.g  1,500.94).
Example of bursting control file
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
<xapi:request select="/">
<xapi:delivery>
<xapi:filesystem id="file1" output="${DEST_PATH}.pdf"/>
</xapi:delivery>
<xapi:document output-type="pdf" delivery="file1">
<xapi:template type="rtf" location="xdo://XXCO.XXCO_INVOICE.de.DE/?getSource=true" filter="" >    --->  It gives same output  with en.US
</xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>
Has anyone got any idea what is going on when bursting take care of generating PDF file again after the report is completed ?  Could you please help on this issue ? I will be grateful if I solve this problem. Thanks in advance.
Regards,
Ugur

Hi,
I have solved this issue by using <?xdoxslt:xdo-format-number, '999G990D00', 'da-DK')?> in every number fields instead of using different template file with danish language. Bursting also correctly shows number I wanted to be after this changes. So don't bother using different template file in order to show different digit grouping and decimal symbol. It's very simple this way except page total and carried forward totals. I choose number-separators=',.' option in xdofo:show-carry-forward tags.

Similar Messages

  • Issue in XML Publisher Bursting

    Hi,
    I am using XML Publisher bursting feature to send the output of report as email to the customer.
    I have uploaded Data Template and Bursting control file in XML Publisher Data Defination and ran the report.
    The report output generating but the bursting feature is not working.
    I couldn't able to figure out what is the exact problem b'coz I m not getting any error.
    Is there any setup need to be done? or what might be the reason behind this?
    Please suggest.
    I am using following code in bursting control file,
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" >
    <xapi:request select="/BURSTTEST/LIST_G_APPLICATION_ID/G_APPLICATION_ID">
    <xapi:delivery>
    <xapi:email server="[email protected]" port="25" from="[email protected]" reply-to ="[email protected]">
    <xapi:message id="123" to="[email protected]" attachment="true" subject="Profile Option Details">
    Please review the attachment for this message.
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="Profile Option Details Report" output-type="excel" delivery="123"><!--Deliver to printer and email -->
    <xapi:template type="rtf" location="xdo://XXCUST.Profile.en.00/?getSource=true"><!--Default template to be used -->
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    Thanks & Regards,
    Sagarika

    Hi Kavipriya,
    Thanks
    I set defaultPackage of data template header and the XML Bursting program get fired.
    But XML Bursting program erroring out and I m getting following error.
    How to resolve this please suggest.
    [110410_054027569][][EXCEPTION] java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:394)
         at oracle.apps.xdo.oa.cp.CPUtil.setProperty(CPUtil.java:67)
         at oracle.apps.xdo.oa.cp.CPUtil.getSessionProperties(CPUtil.java:45)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:84)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    XML/BI Publisher Version : 5.6.3
    Request ID: 4842838
    All Parameters: Dummy for Data Security=N:ReportRequestID=4842836:DebugFlag=Y
    Report Req ID: 4842836
    Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request information
    Node Name:AMSGURBLUAPP009
    Preparing parameters
    null output =/u01/oracledb/VIS/inst/apps/VIS_amsgurbluapp009/logs/appl/conc/out/o4842838.out
    inputfilename =/u01/oracledb/VIS/inst/apps/VIS_amsgurbluapp009/logs/appl/conc/out/o4842836.out
    Data XML File:/u01/oracledb/VIS/inst/apps/VIS_amsgurbluapp009/logs/appl/conc/out/o4842836.out
    Set Bursting parameters..
    Temp. Directory:/home/devuser
    [110410_054030111][][STATEMENT] Oracle XML Parser version ::: Oracle XML Developers Kit 10.1.3.130 - Production
    [110410_054030138][][STATEMENT] setOAProperties called..
    Bursting propertes.....
    {user-variable:cp:territory=IN, user-variable:cp:ReportRequestID=4842836, user-variable:cp:language=en, user-variable:cp:responsibility=20639, user-variable.OA_MEDIA=http://amsgurbluapp009.in.ibm.com:8004/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=4842836, user-variable:cp:locale=en-IN, user-variable:cp:user=OPERATIONS, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=4842838, user-variable:cp:reportdescription=MAN Invoice Burting Test, user-variable:cp:Dummy for Data Security=N}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    --Exception
    ZIP file must have at least one entry
    java.util.zip.ZipException: ZIP file must have at least one entry
         at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:534)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Thanks & Regards,
    Sagarika

  • XML Publisher Bursting

    Hi All,
    I want to generate xmlp report with bursting email.
    For this I created 1.  data template file
      <dataTemplate name="XXX_XXX_XX" version="1.0">
      <dataQuery>
    <sqlStatement name="Q_MAIN">
    <![CDATA[
    select * from XXXXXX
      ]]>
      </sqlStatement>
      </dataQuery>
      <dataStructure>
      <group name="G_MAIN" source="Q_MAIN">
        <element name="Op_Code" value="op_code" />   
        <element name="Op_Code_Description" value="op_code_desc" />
    <element name="GL_Account" value="almo_gl_account" />
        <element name="pro_Description" value="pro_desc" />
        <element name="Cost_Type" value="cost_type" />
    </group>
    </dataStructure>
    </dataTemplate>
      2.Bursting control file 
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="/xxxxxxxxxxx/LIST_G_MAIN/G_MAIN">
    <xapi:delivery>
    <xapi:email id="123" server="Ip address" port="25" from="[email protected]" reply-to="[email protected]">
    <xapi:message id="123" to="[email protected]" attachment="true" subject="Employee details ">
    Dear Sir/Madam
            Please find your details attached.
    Regards,
    </xapi:message>       
    </xapi:email>
    </xapi:delivery>
    <xapi:document  output="xxxx.xlsx" output-type="excel" delivery="123">
    <xapi:template type="rtf" location="/usr/tmp/xxxxx.rtf">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    3. created data definition in xmlp administrator
    4.uploaded data template and bursting file in to data definition.
    5.set configuration general-->Temporary directory:/tmp in XMLP administration
    6.Uploaded my .rtf file into server /usr/tmp
    7.created template and uploaded the data definition
    8.Registered the CP and Submitted the Concurrent program
    CP submitted successfully and getting the output as required but it not generating the email and in log it is not showing any error.
    ans I verified OPP log file in that also it is not showing any error.
    what could be the reason for not getting an email??
    Did I miss any thing to generate the email??
    If any body knows this
    Please help me to generate the email
    Thanks

    Please go through with following documents,
    Why External Email Addresses Not Received Emails Sent With XML Publisher Bursting When SMTP Server Using Authentication (Doc ID 1495017.1)
    How To Setup xdodelivery.cfg (Doc ID 804283.1)
    Overview of Available Patches for Oracle XML Publisher embedded in the Oracle E-Business Suite (Doc ID 1138602.1)
    BI Publisher - Troubleshooting Oracle Business Intelligence (XML) Publisher For The Oracle E-Business Suite (Doc ID 364547.1)
    Thanks

  • XML Publisher Bursting error....

    Hi,
    We are trying to burst an XML Publisher report via email in Oracle Applications R12(12.0.6).The XML Publisher Bursting Program is erroring out with yhe following error,
    XML/BI Publisher Version : 5.6.3
    --Exception
    For input string: "Y"
    java.lang.NumberFormatException: For input string: "Y"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:447)
         at java.lang.Integer.parseInt(Integer.java:497)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:142)
    Given, below is the call to bursting program,
    n_request_id := fnd_request.submit_request('XDO'
    ,'XDOBURSTREP'
    ,NULL
    ,NULL
    ,FALSE
    ,p_request_id
    ,'Y'
    Please suggest how to resolve this error.
    Regards,

    The following link may help
    BI Publisher Bursting Submission Error -URGENT
    Best Regards,
    Mahi

  • How to catch XML Publisher bursted file from Workflow

    Hello,
    I have to catch xml publisher bursted file in oracle workflow and send it as the content of mail (not like attachment).
    Does anyone know if this is possible and how can I do it?
    Any help is appreciated, thanks in advance!
    Regards
    Ive

    oracle seeded XDO regions is available to integrate concurrent program in the page.
    You got to extend this RN oracle.apps.xdo.oa.common.DocumentViewerRn.xml
    And oracle.apps.xdo.oa.common.DocumentHelperAPI, should help you to download or View from the page
    Its straight forward , given in the doc i guess.
    Let me pull the metalink note for this.

  • XML Publisher Bursting Program - limitation of email addresses

    In the XML Publisher Bursting program we were able to add only 3 email addresses(containing 87 characters) the email was sent successfully.
    When we tried to concatenate with another email address (it went up to 115 characters), the email was not sent to any of the email addresses (but the bursting program completed with normal status)
    Is there any limitation in adding the email address in the tag
    <xapi:message id="123" to="[email protected],[email protected],[email protected]" attachment="true" subject="${MAIL_SUBJECT}">${BURST_MAIL_BODY}</xapi:message>
    we also tried changing the bursting control file as below but still we did not receive mail to any of the email addresses
    <xapi:Delivery>
    <xapi:filesystem output="${FILE_SYS_OUTPUT}" />
    - <xapi:email server="${HOST_NAME}" port="25" from="${BURST_MAIL_ADD}" reply-to="">
    <xapi:message id="123" to="[email protected],[email protected],[email protected]" attachment="true" subject="${MAIL_SUBJECT}">${BURST_MAIL_BODY}</xapi:message>
    <xapi:message id="123" to="[email protected],[email protected],[email protected]" attachment="true" subject="${MAIL_SUBJECT}">${BURST_MAIL_BODY}</xapi:message>
    <xapi:message id="123" to="[email protected]
    subject="${MAIL_SUBJECT}">${BURST_MAIL_BODY}</xapi:message>
    </xapi:email>
    - <!--
    PDF generation for mails
    -->
    - <xapi:Document key="${MOT_SO_NUMBER}" output-type="pdf" delivery="123">
    <xapi:template type="rtf" location="${TEMP_LOC}" />
    </xapi:Document>
    Is there any other solution to add more number of email addresses in the bursting program?

    The following link may help
    BI Publisher Bursting Submission Error -URGENT
    Best Regards,
    Mahi

  • How to Create a XML Publisher Portlet using OmniPortlet

    Hi,
    Please help me. I have a project that needs to create an XML Publisher portlet using omni portlet. Is there any complete documents here or anyone can give more details on this? Appreciate to those will help..
    Thanks,
    Russel

    Hello Srini,
    Thank you very much for the reply but I'm not into OBIEE... I want the required query to be processed and the output to be shown in xml layout to load into RTF document. The rest I can manage.. but please let me know how to get the .xml output with out using the report builder or the apps environment(concurrent prg submission)..
    Please let me know if any... urgent
    Thanks in advance
    Krishna

  • Does the creative cloud use different proxy settings as my works internet security (NHS) is potentially blocking connections?

    Does the creative cloud use different proxy settings as my works internet security (NHS) is potentially blocking connections?
    Can only update apps through my home internet connection.
    Any advice would be helpful.

    Quick update. Added to a previously filed bug. Looks like it's assigned now so maybe we'll see a fix for this soon.
    https://bugzilla.mozilla.org/show_bug.cgi?id=563169

  • How to print output of XML Publisher report in different trays of a printer

    Hi All,
    I have a requirement in XML Publisher Report. I need to print all pages other than last one in one tray of a printer and the last page has to be printed in another tray of the same printer.
    Can anyone help me out...
    Thank You..

    I do not think it is possible to send all the pages to one tray and send only the last page to a different tray. However, you may review the following notes:
    Note: 357402.1 - How to Print the Output to a Different Paper Size Using XML Publisher Delivery Manager?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=357402.1
    Note: 394130.1 - How To Enable Printer Options Such As Duplex Printing Or Tray Selections For Bitmap Concurrent Programs
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=394130.1

  • XML Publisher bursting job ends in error

    The job XML Publisher Report Bursting Program ends with the error message:
    052511_025327027][][EXCEPTION] oracle.xml.parser.v2.XMLParseException: '--' is not allowed in comments.
    at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:205)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:277)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:227)
    at oracle.apps.xdo.common.config.ConfigReader.read(ConfigReader.java:437)
    at oracle.apps.xdo.common.config.ConfigReader.read(ConfigReader.java:416)
    at oracle.apps.xdo.batch.bursting.FileHandler.setTempDir(FileHandler.java:281)
    at oracle.apps.xdo.batch.bursting.FileHandler.<init>(FileHandler.java:45)
    at oracle.apps.xdo.batch.BurstingProcessorEngine.setTempDir(BurstingProcessorEngine.java:788)
    at oracle.apps.xdo.batch.BurstingProcessorEngine.process(BurstingProcessorEngine.java:905)
    at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:293)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    We are trying to generated a PDF file with bursting which is coming as 0 bytes.
    We verified the xdo.cfg file, but could not find any special characters.
    The classpath setting for parser is:
    /<instance name>/applmgr/common/java/xmlparserv2-904.zip.
    Any help in this regard is highly appreciated.

    Pl post details of OS, database and EBS versions. Did this ever work before ? If so, what changes have been made ?
    Can you post the contents of the xdo.cfg file ?
    Document Processor Errors With "oracle.xml.parser.v2.XMLParseException: '--' is not allowed in comme          (Doc ID 388388.1)
    HTH
    Srini

  • XML Publisher Bursting - FTP Status Check

    "XML Publisher Report Bursting Program" completes successfully even if EMAIL or FTP fails in the bursting process.
    See the output file below, last FTP fails but the program completed fine.
    Is there a way to check the Status and mark the program error so that we know it's not FTP'ed correctly.
    OUTPUT FILE_
    - <DOCUMENT_STATUS>
    <KEY />
    <OUTPUT_TYPE>excel</OUTPUT_TYPE>
    <DELIVERY>email</DELIVERY>
    <OUTPUT>/u01/autosys/MRP_20130322090315.xls</OUTPUT>
    <STATUS>success</STATUS>
    <LOG />
    </DOCUMENT_STATUS>
    - <DOCUMENT_STATUS>
    <KEY />
    <OUTPUT_TYPE>excel</OUTPUT_TYPE>
    <DELIVERY>ftp</DELIVERY>
    <OUTPUT>/p05/oracle/tmp/032213_095834975/XX_BURSTING_12.xls</OUTPUT>
    <STATUS>success</STATUS>
    <LOG />
    </DOCUMENT_STATUS>
    - <DOCUMENT_STATUS>
    <KEY />
    <OUTPUT_TYPE>excel</OUTPUT_TYPE>
    <DELIVERY>ftp</DELIVERY>
    <OUTPUT>/p05/oracle/tmp/032213_095834975/XX_BURSTING_19.xls</OUTPUT>
    *<STATUS>fail</STATUS>*
    *<LOG>Error!! Could not deliver the output for Delivery channel:null . Please check the Log for error details..</LOG>*
    </DOCUMENT_STATUS>

    Hi Manu,
    Please check below MOS ids and your issue may be resolved.
    Bursting Programs Are Failing With Error "Could not deliver the output for Delivery channel:null" [ID 1241535.1]
    Email Bursting Error 'Could Not Deliver The Output ...' [ID 1354542.1]
    "Error!! Could not deliver the output for Delivery channel:null" - BI Publisher Bursting Error [ID 1272488.1]
    mark if this helps you.
    Regards,
    Kishore

  • Reg:How to get XML publisher output in different language like German,frenc

    Hi all,
    I am using data source from Oracle RDF. and i created Layout using RTF template. I too registered that in oracle apps to get output in English by choosing territory (US) and Language (english).
    My doubt, Is the same way to get the out for other countries like france, italy, germany by choosing territory and language will registering multiple layout for that single datasource. Plz clarify my doubt with your suggestion.
    If not, Explain the steps to get multiple layout o/p for multiple language.
    I am beginner to xml publisher report creation.
    Need all expert's help. So that this will help people like me when they are start working in xml publisher.
    Thanks in advance..
    Raj

    Hi all,
    Can we have .xlf file like below to handle german, french, italy and danish. I am having Single RTF file which is in en-GB format. want to translate this RTF layout to all 4 language. Please guide me.
    sample code:-
    <?xml version = '1.0' encoding = 'utf-8'?>
    <xliff version="1.0">
    <file source-language="en-GB" target-language="fr-FR" datatype="XDO" original="orphan.xlf" product-version="orphan.xlf" product-name="">
    <header>
    <prop-group name="ora_reconstruction">
    <prop prop-type="TemplateCode">XX_STD_PROD</prop>
    <prop prop-type="extractorVersion">5.6.3_120.1</prop>
    </prop-group>
    </header>
    <body>
    <trans-unit id="2b7f43c_3" maxbytes="4000" maxwidth="23" size-unit="char" translate="yes">
    <source>PURCHASE ORDER NO.</source>
    <target>N ° de commande.</target>
    <note>Text located: body/table/table/table footer</note>
    </trans-unit>
    </body>
    </file>
    <file source-language="en-GB" target-language="it-IT" datatype="XDO" original="orphan.xlf" product-version="orphan.xlf" product-name="">
    <header>
    <prop-group name="ora_reconstruction">
    <prop prop-type="TemplateCode">XX_STD_PROD</prop>
    <prop prop-type="extractorVersion">5.6.3_120.1</prop>
    </prop-group>
    </header>
    <body>
    <trans-unit id="2b7f43c_3" maxbytes="4000" maxwidth="23" size-unit="char" translate="yes">
    <source>PURCHASE ORDER NO.<source>
    <target>ORDINE D'ACQUISTO NO.</target>
    <note>Text located: body/table/table/table footer</note>
    </trans-unit>
    </body>
    </file>
    <file source-language="en-GB" target-language="de-DE" datatype="XDO" original="orphan.xlf" product-version="orphan.xlf" product-name="">
    <header>
    <prop-group name="ora_reconstruction">
    <prop prop-type="TemplateCode">XX_STD_PROD</prop>
    <prop prop-type="extractorVersion">5.6.3_120.1</prop>
    </prop-group>
    </header>
    <body>
    <trans-unit id="2b7f43c_3" maxbytes="4000" maxwidth="23" size-unit="char" translate="yes">
    <source>PURCHASE ORDER NO.</source>
    <target>Bestell-Nr.</target>
    <note>Text located: body/table/table/table footer</note>
    </trans-unit>
    </body>
    </file>
    <file source-language="en-GB" target-language="da-DK" datatype="XDO" original="orphan.xlf" product-version="orphan.xlf" product-name="">
    <header>
    <prop-group name="ora_reconstruction">
    <prop prop-type="TemplateCode">XX_STD_PROD</prop>
    <prop prop-type="extractorVersion">5.6.3_120.1</prop>
    </prop-group>
    </header>
    <body>
    <trans-unit id="2b7f43c_3" maxbytes="4000" maxwidth="23" size-unit="char" translate="yes">
    <source>PURCHASE ORDER NO.</source>
    <target>INDKØBSORDRE NR.</target>
    <note>Text located: body/table/table/table footer</note>
    </trans-unit>
    </body>
    </file>
    </xliff>
    Thanks in advance
    --Ben                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Using different locale with date format

    Hi guys,
    I'm trying to print of the same date represented in its different locale but can't seem to get it right. I want the
    dates and times to be represented appropriately (e.g., ?Feb? should be represented as ?f?vr.? in a
    localized for France). I've also tried to use SimpleDateFormat but had no luck there either.
    Locale[] locales = { new Locale("fr", "FR"), new Locale("zh", "CN"),
                 new Locale("it", "IT") };
    for (int i = 0; i < locales.length; i++) {
                  //print date in the different locales
                  try {
                       changeLanuage(locales);
              }catch(IOException e) {
                   System.out.println("ERROR:");
              System.out.println()
    public void changeLanuage(Local loc)
    String dateString = "Sun Jan 27 01:56:00 GMT 2008"
    // Get the default MEDIUM/MEDIUM DateFormat
    String sdate = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM).format(new Date());
    System.out.println(sdate);
    try {
    Date date;
    date = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM,loc).parse(sdate);
    String output;
    output = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL,loc).format(date);
    outputStream.write(output);
    }catch(ParseException pe) {
    System .out.println("ERROR: for lanuage could not parse date in string \"" +
    dateString + "\"");
    pe.printStackTrace();
    Running the code, at the terminal i get the following output.Apr 3, 2008 5:00:03 PM
    ERROR: for lanuage could not parse date in string "Mon Jun 12 10:50:00 BST 2006"
    java.text.ParseException: Unparseable date: "Apr 3, 2008 5:00:03 PM"
         at java.text.DateFormat.parse(DateFormat.java:335)
         at readParser.changeLanuage(readParser.java:275)
         at readParser.main(readParser.java:412)
    If anyone can see what the problem is and how i can overcome it, i would greatly appreciate it if said so.
    Thanks a Lot                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    okay i've attempted date --> format but this getting the same exception throw at run time.
    outputStream.write(present+" "+s.next()+"");
    String dateString = "Mon Jun 12 10:50:00 BST 2006"
    try {
         //parse with default format
          Date dtTmp = new SimpleDateFormat("MMM d, yyyy  H:mm:ss a",loc).parse(dateString);
          String strOutDt = new SimpleDateFormat("yyyy-MM-dd").format(dtTmp);
         outputStream.write(strOutDt+"DONE");
    }catch(ParseException pe) {
         System .out.println("ERROR: for lanuage could not parse date in string \"" +
         dateString + "\"");
         pe.printStackTrace();
    }Any suggestions/help would be great, thanks
    ERROR: for lanuage could not parse date in string "Mon Jun 12 10:50:00 BST 2006"
    java.text.ParseException: Unparseable date: "Mon Jun 12 10:50:00 BST 2006"
         at java.text.DateFormat.parse(DateFormat.java:335)
         at readParser.changeLanuage(readParser.java:261)
         at readParser.main(readParser.java:397)

  • Xml publisher report using RTF in Excel is coming as wrap text?

    Hi,
    I am working on XML publisher report, I have converted standard report to xml publisher , to generate the report in excel.
    But the output is coming as Wrap text, is there a way to get the output directly without wrap ?
    Thanks
    Dev

    Hi Dev,
    You can try below ways
    1>change the setting in table properties to fit table cell as per contents.
    2>or create a table and inside that create one more inner table and add your fields.
    3>or Create .XLS layout it will come properly.
    Thanks

  • Multiple attachments in single mail using XML publisher bursting

    Hi all
    I am sending the PDF generated to a particular mail recipient using the bursting options.
    There is requirement in which I have to attach two different PDF's to the mail. These multiple attachments should go in a single mail. Please let me know how we can achieve this.
    Thanks in adv,
    Srini
    Edited by: 796646 on Mar 4, 2011 2:35 PM

    Suresh,
    just copy your question and paste it in search box.. press enter
    there are too many posts already on this.
    still a little help for you, with explanation:
    [code snipet with documentation|http://wiki.sdn.sap.com/wiki/display/Snippets/MultipleAttachmentsExplanation]

Maybe you are looking for