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

Similar Messages

  • 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

  • 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 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 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 Report Bursting Program ends in error

    We have a report that generates the XML output (ACH notification)
    In the after report we have a call to the Bursting program.
    The ACH notification completes with the correct output but the bursting ends in error showing
    Set Bursting parameters..
    Temp. Directory:/tmp
    [101211_072452383][][STATEMENT] Oracle XML Parser version ::: Oracle XDK Java 9.0.4.0.0 Production
    [101211_072452385][][STATEMENT] setOAProperties called..
    Bursting propertes.....
    {user-variable:cp:territory=US, user-variable:cp:ReportRequestID=28081235, user-variable:cp:language=en, user-variable:cp:responsibility=50274, user-variable.OA_MEDIA=http://xxx/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=28081235, user-variable:cp:locale=en-US, user-variable:cp:user=xxx, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=28081236, user-variable:cp:org_id=83, user-variable:cp:reportdescription=xxx ACH Payment Nofitication}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    --Exception
    /tmp/101211_072452427/xdo1_2.pdf (No such file or directory)
    java.io.FileNotFoundException: /tmp/101211_072452427/xdo1_2.pdf (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:523)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    The temp directory variable in the XML Publisher is /tmp which has all the permissions.
    The control file calls the delivery method (email 123 in the example) and uses the following template
    <xapi:document key="" output-type="pdf" delivery="123">
    <xapi:template type="rtf"
    location="XDO://XBOL.ACHPAYNOTIF.en.US/?getSource=true" filter=""/>
    </xapi:document>
    This template is defined for English language and Territory United States.
    I covered everything I could find here and in metalink and still cannot make it work.
    Any ideas?

    Hi;
    Similar issue mention at below notes, Please review:
    NPE Error While Bursting Using XDOBURSTREP in EBS R12 [ID 754790.1]
    Bursting Engine Ends With Java.Lang.Nullpointerexception[Article ID 559443.1]
    XDOBURSTREP - XML Publisher Report Bursting Program Fails with InvalidPropertyValueException[Article ID 603424.1]
    If its not help I suggest rise SR
    Regard
    Helios

  • Bursting Program Ends in Error with nothing in the Log file

    Hi All
    I have a RDF which calls a bursting program in After report trigger, the problem i'm facing is that the bursting program is completing successfully for a set of parameters and when again the program is run for the same set of parameters the bursting program is ending in error, i have checked the log file but nothing in the log file
    below is my log file
    +---------------------------------------------------------------------------+
    XML Publisher: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOBURSTREP module: XML Publisher Report Bursting Program
    +---------------------------------------------------------------------------+
    Current system time is 30-SEP-2013 15:11:15
    +---------------------------------------------------------------------------+
    XML/BI Publisher Version : 5.6.3
    Request ID: 574533
    All Parameters: Dummy for Data Security=N:ReportRequestID=574532:DebugFlag=Y
    Report Req ID: 574532
    Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request information
    Node Name:T1DEVEBSAPP1
    Preparing parameters
    null output =/u01/oracle/CRP2/inst/apps/CRP2_t1devebsapp1/logs/appl/conc/out/o574533.out
    inputfilename =/u01/oracle/CRP2/inst/apps/CRP2_t1devebsapp1/logs/appl/conc/out/o574532.out
    Data XML File:/u01/oracle/CRP2/inst/apps/CRP2_t1devebsapp1/logs/appl/conc/out/o574532.out
    Set Bursting parameters..
    Temp. Directory:/tmp
    [093013_031118656][][STATEMENT] Oracle XML Parser version ::: Oracle XML Developers Kit 10.1.3.130 - Production
    [093013_031118657][][STATEMENT] setOAProperties called..
    Bursting propertes.....
    {user-variable:cp:territory=US, user-variable:cp:ReportRequestID=574532, user-variable:cp:language=en, user-variable:cp:responsibility=20678, user-variable.OA_MEDIA=http://t1devebsapp1.travelzoo.com:8001/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=574532, user-variable:cp:locale=en-US, user-variable:cp:user=SETUPUSER, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=574533, user-variable:cp:org_id=81, user-variable:cp:reportdescription=Travelzoo Invoice Print Selected Invoices-Child, user-variable:cp:Dummy for Data Security=N}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Output file size:
    602
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed
    Current system time is 30-SEP-2013 15:11:41
    +---------------------------------------------------------------------------+
    and the output says..
    "Error!! Could not deliver the output for Delivery channel:null "
    Wondering What might be the issue, any help on this is greatly appreciated.
    -Ragul

    Ram,
    Is this a custom or standard concurrent program?
    Was this working properly before? If yes, what changes have been done recently?
    Did you try to relink the concurrent program executable file and see if this helps? Also, you could enable trace/debug and submit the request again and see if more details are collected in the logs -- See (Note: 296559.1 - FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12).
    Regards,
    Hussein

  • 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

  • XML Publisher Enterprise Edition's report errors

    I have installed XML Publisher Enterprise Edition.when i open it through explorer i can see it's different folder that also have some report as Executive,Financials,HR Manager,Sales Manager,Warehouse Managment.when i try to open reports under these folders as Employee Salary Report under HR it gives error
    "The report cannot be rendered because of an error, please contact the administrator".
    plz help me how i can view these reports.same problem in my own created report.

    Shaun,
    How did get World Sales report work? What did you put on URL? I put:
    http://Sever name:15101/xmlpserver/Sales Manager/World Sales/WorldSales.xml
    It always showed error message to me.
    Please help, Thanks.
    - Jessie

  • Large XML Publisher reports fail with client-error-request-value-too-long

    We are running BI Publisher 5.6.3 with Oracle Applications 11.5.10.2 (ATG.H RUP 5), and are having frequent failures with client-error-request-value-too-long messages on large PDF reports that cause the entire report to not print.
    The exact error message is as follows:
    lp: unable to print file: client-error-request-value-too-long
    Pasta: Error: Print failed. Command=lp -c -dPDX_B6_1LJ5200NEAST /logs/temp/pasta3262_0.tmp
    Pasta: Error: Check printCommand/ntPrintCommand in pasta.cfg
    Pasta: Error: Preprocess or Print command failed!!!
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Program exited with status 1.
    Action: Review your concurrent request log file for more detailed information.
    I have Google'd client-error-request-value-too-long, and found it is a common CUPS issue on Linux. The popular solutions (having /var/spool/cups and /var/spool/cups/tmp) are already in place. Also, the temp files are nowhere near 2 GB (44MB).
    Has anyone had this issue with BI Publisher on Linux?

    Thanks for the link. It looks like the sysadmins have throttled cups to low to allow large bitmapped print jobs:
    grep MaxRequestSize cupsd.conf
    # MaxRequestSize: controls the maximum size of HTTP requests and print files.
    MaxRequestSize 10M
    I am trying to get a more reasonable size limit.

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

  • Sending of email triggered in a background job ends with error.

    Hello all,
    I have created a API which triggers mail to a distribution list using class CL_BCS. When i execute this API in foreground it works fine and the mails are triggered.
    However i am calling this API in a report which will scheduled as a  background job in my application and this job executes for some 5 to 6 hours and after that i trigger the mail. However at this point the job gets cancelled due to an abort message raised in
    one of the CL_BCS methods.
    The method is cl_cam_address_bcs=>create_internet_address which is called in my API and internally this calls many other methods. The abort meessage is thrown from the method instantiate_imp_class of class CL_EXIT_MASTER.
    The ST22 log reads like this:
    Runtime Errors:  LOAD_SWITCHSTATES_MISMATCH
    Short text:  Current switch statuses are incompatible with program switch statuses.
    What happened?
        The current switch statuses that are read for the execution of the
        program "CL_IM_CVI_ADDRESS_UPD_IMPL====CP" are incompatible with the switch
         statuses with which the
        program "CL_IM_CVI_ADDRESS_UPD_IMPL====CP" was generated at the time
         20090902114544.
    Any advice would be greatly helpful.
    Warm Regards,
    Naveen M

    Hi!
    How you determine sender (method set_sender) ? if you use current user, when it runs on background use a backgorund user and it maybe can not determine an email.
    Try force a sender (harcode your user for test when sy-batch eq 'X')
    If it works, you need to determine the user to be used on jobs to solve this problem.
    I hope it helps
    Regards!!!!

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

  • XML Bursting program completing in error

    Hi,
    I am trying to send the output of XML Publisher report to a specific email id. I have created the following XML Bursting File:
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="/XXIDEA_HWSW_BUYERWISE/LIST_G_CIRCLE/G_CIRCLE">
    <xapi:delivery>
    <xapi:email id="emailToMgrID" server="svhj0366.ideaconnect.com" port="25" from="[email protected]" reply-to="[email protected]">
    <xapi:message id="emailToMgrID" to="[email protected]" attachment="true" subject="Dear Manager : "> Please review the attached list of managers </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output-type="xls" delivery="emailToMgrID">
    <xapi:template type="rtf" location="xdo://XXIDEA.XXIDEA_HWSW_BUYERWISE.en.US/?getSource=true" filter="">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    I have added the before report and the after report triggers in the rdf report. However, when I run the report, the XML Bursting program ends in error. The logs print:
    Bursting propertes.....
    {user-variable:cp:territory=US, user-variable:cp:ReportRequestID=89025049, user-variable:cp:language=en, user-variable:cp:responsibility=50435, user-variable.OA_MEDIA=http://oraideaapps.ideaapps.com:8050/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=N, user-variable:cp:parent_request_id=89025049, user-variable:cp:locale=en-US, user-variable:cp:user=IBMAMSTEAM, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=89025952, user-variable:cp:org_id=102, user-variable:cp:reportdescription=IDEA HW SW Buyer Wise report}
    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:315)
         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:161)
    Please help.
    Thanks in advance.
    Regards,
    Anoop

    Hi,
    The reason for the exception is we don't have any data in the file to zip. If you are sending xml data to the data definition check the path in select clause in bursting control file.
    Regards,
    Raavi

Maybe you are looking for