Deposit Advice (XML) - Template Null.

Hi Friends,
After applying few patches, we could generate the Deposit Advice in XML format.
When we migrate the same to another instance, We are facing the following problem.
Request restarted at :26-MAR-2009 16:38:52
032609_043858688][STATEMENT <=============> PDFDocMerger Properties list <=============>PropKey : pdf-security
PropValue : true
032609_043858690][STATEMENT <=============> PDFDocMerger Properties list <=============>PropKey : system-temp-dir
PropValue : /tmp
032609_043858690][STATEMENT <=============> PDFDocMerger Properties list <=============>PropKey : pdf-no-changing-the-document
PropValue : true
032609_043858691][STATEMENT <=============> PDFDocMerger Properties list <=============>PropKey : pdf-encryption-level
PropValue : 0
032609_043858718][STATEMENT /tmp/032609_043858710/0.pdf is created by PDFDocTokenizer.writeNextPDFDoc()
032609_043858736][STATEMENT PDF template is being read and parsed......
032609_043858737][STATEMENT PDFParser uses this tempDir ::: /tmp
032609_043858782][STATEMENT PDFParser.readPDFFile ---> contents size : 5
032609_043858782][STATEMENT Creating new hashtable of type: oracle.apps.xdo.template.pdf.util.FPHashtable
032609_043858794][STATEMENT java.lang.StringIndexOutOfBoundsException: String index out of range: 5
at java.lang.String.charAt(String.java:793)
at oracle.apps.xdo.template.pdf.util.PDFFile.getVersion(PDFFile.java:232)
at oracle.apps.xdo.template.pdf.Xref.initialize(Xref.java:89)
at oracle.apps.xdo.template.pdf.Xref.<init>(Xref.java:72)
at oracle.apps.xdo.template.pdf.PDFParser.initialize(PDFParser.java:261)
at oracle.apps.xdo.template.pdf.PDFParser.<init>(PDFParser.java:160)
at oracle.apps.xdo.template.pdf.PDFParser.<init>(PDFParser.java:151)
at oracle.apps.xdo.common.pdf.util.PDFDocMerger$PDFUtility.<init>(PDFDocMerger.java:1603)
at oracle.apps.xdo.common.pdf.util.PDFDocMerger.mergeDocs(PDFDocMerger.java:431)
at oracle.apps.xdo.common.pdf.util.PDFDocMerger.process(PDFDocMerger.java:378)
at oracle.apps.xdo.common.pdf.util.StreamPDFDocMerger.process(StreamPDFDocMerger.java:120)
at oracle.apps.pay.core.documents.DocPDFMerger.process(DocPDFMerger.java:86)
032609_043858795][STATEMENT This template's PDF version : null
032609_043858797][STATEMENT oracle.apps.xdo.template.pdf.exception.FatalException: The template seems to be in either corrupted one or newer version than PDF1.4
at oracle.apps.xdo.template.pdf.Xref.initialize(Xref.java:294)
at oracle.apps.xdo.template.pdf.Xref.<init>(Xref.java:72)
at oracle.apps.xdo.template.pdf.PDFParser.initialize(PDFParser.java:261)
at oracle.apps.xdo.template.pdf.PDFParser.<init>(PDFParser.java:160)
at oracle.apps.xdo.template.pdf.PDFParser.<init>(PDFParser.java:151)
at oracle.apps.xdo.common.pdf.util.PDFDocMerger$PDFUtility.<init>(PDFDocMerger.java:1603)
at oracle.apps.xdo.common.pdf.util.PDFDocMerger.mergeDocs(PDFDocMerger.java:431)
at oracle.apps.xdo.common.pdf.util.PDFDocMerger.process(PDFDocMerger.java:378)
at oracle.apps.xdo.common.pdf.util.StreamPDFDocMerger.process(StreamPDFDocMerger.java:120)
at oracle.apps.pay.core.documents.DocPDFMerger.process(DocPDFMerger.java:86)
032609_043858800http://oracle.apps.xdo.batch.FileSearchSTATEMENT /tmp/032609_043858710/0.pdf is deleted
032609_043858801http://oracle.apps.xdo.batch.FileSearchSTATEMENT /tmp/032609_043858710 is deleted
032609_043858801][EXCEPTION oracle.apps.xdo.XDOException: oracle.apps.xdo.template.pdf.exception.FatalException: The template seems to be in either corrupted one or newer version than PDF1.4
at oracle.apps.xdo.common.pdf.util.PDFDocMerger.process(PDFDocMerger.java:382)
at oracle.apps.xdo.common.pdf.util.StreamPDFDocMerger.process(StreamPDFDocMerger.java:120)
at oracle.apps.pay.core.documents.DocPDFMerger.process(DocPDFMerger.java:86)
Any help is appreciated.
Thanks
Rama                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

We could fix this issue..
The issue was the value for DBC_FILE in Pay_action_parameters table was wrong. We corrected it and could fix this issue.
Thanks

Similar Messages

  • Data source for deposit advice xml and check writer xml

    Could someone please tell me where I can find the data source for the Deposit Advice XML and Check Writer XML programs. Since these executables are now a spawned process (PYUGEN), I don't know how to get to the data source. I was able before to look at the queries in PAYUSPST.rdf and PAYUSCHK.rdf. Where are these queries located now? Any help is appreaciated.

    Hi All,
    I applyied the patch 6399100 and i got the seeded Check Writer (XML) and Deposit Advice (XML) programs.Im able to run the Check Writer (XML) with Parameter (Check Style :Seeded Archive Check Writer Template ) but where as the im unable to run the Deposit Advice (XML) due to Error msg: "No enties found for list of vales"for the 'Check Style' Parameter.
    And for the above (only for Deposit Advice) i am not able to ecexute the SQL script given in the Doc ID : 459306.1 due to the error msg : cannot insert NULL into ("HR"."PAY_REPORT_CATEGORIES"."REPORT_GROUP_ID") if i see query the select * from apps.pay_report_categories where short_name like 'ARCHIVE%' there is no record exixts for ARCHIVE_DEPOSIT....
    for this we required any other patch/setups.
    And is the "Third Pary Check" will support XML Publisher ??
    Any respose will be greatly appriciated.
    Thanks,
    Madhu
    Message was edited by:
    user589951

  • Data source for Deposit Advice (XML) and Live CheckWrite (XML) reports

    Hello All,
    We need to customize the Deposit Advice (XML) and Live Check Write(XML) reports to accomodate a few business requirements. We already have customizations for these reports in non-XML versions. For Ex: USPAYPST.rdf for Deposit Advice report. As these non-XML RDF reports are going to be unsupported by Oracle soon, we need to customize the XML versions of these report available in R12.1.3.
    As these reports are kicked off by the PYUGEN spawned program, therefore I need information on the data source for these reports as soon as possible.
    Looking forward to your prompt help.
    Thanks,
    Rahul

    Now, I have anew problem here. I modified the USPAYPST.rdf report for Deposit Advice and then changed concurrent program output to XML from Text.
    I attached a RTF template to the concurrent program to have the output in XML.
    When I run Deposit Invoice Report from the SRS window, it finishes off normally and log file says the number of records processed but no output file is generated.
    I also tried looking into the XML generated through View XMl and there too no output file is generated.
    I am confused if the Deposit Advice program can only generate Text output. As PYUGEN is the executable for this report, I have no idea if XML file can even be generated.
    All pointers to this issue are welcome.
    Thanks,
    Rahul

  • Deposit Advice (XML)

    Hi Friends,
    Has anyone implemented Deposit Advice (XML) successfully?
    IF Yes.. then..I have an issue..
    We are trying to implement the Deposit Advice (XML). It is generating inconsistent results. One time it generates the PDF Output and the Other time it will not even generate the XML Tags for the same set of parameter.
    Any help on this is highly appreciated.
    Thanks
    Rama

    Hi Srini,
    I am using the following :
    Responsibility : Custom Responsibility (xxx Batch User)
    Template : XXX_US_Depadv.rtf
    I have attached this rtf to Deposit Advice XML Concurrent Program.
    FYI we have applied all the patches recommended by Oracle.
    Issues I have are :
    1. Inconsistent Behaviour.
    2. two payslips print in one page (one payslip in half page and the header of the other payslip follows. the second payslip continues to the next page.)
    As of now those are the issues.
    Thanks
    Rama

  • Deposit Advice (XML) creates inconsistent results

    When I run Deposit Advice (XML), my results are often inconsistent. For instance, if I expect 100 payslips, I may only receive 25 payslips. Running the program a second time may produce 50 payslips, etc. I will eventually receive the correct number of documents.
    I have an open SR with Oracle and they have a bug in development, but I thought I'd post my questions here anyway. Has anyone else experienced this?
    We originally did troubleshooting for performance problems -- out of memory issues, etc. Those are all ruled out. The resulting XML is properly formed with a good header and good footer records, but it always contains the inconsistent subsets of the detail records.
    Any thoughts on this? Waiting for the development is painful!

    Hi Srini,
    I am using the following :
    Responsibility : Custom Responsibility (xxx Batch User)
    Template : XXX_US_Depadv.rtf
    I have attached this rtf to Deposit Advice XML Concurrent Program.
    FYI we have applied all the patches recommended by Oracle.
    Issues I have are :
    1. Inconsistent Behaviour.
    2. two payslips print in one page (one payslip in half page and the header of the other payslip follows. the second payslip continues to the next page.)
    As of now those are the issues.
    Thanks
    Rama

  • Bursting the seeded Deposit Advice XML (US)

    Does anybody know a way you can add a burst control file to the seeded Deposit Advice XML Data Definition? Or is there a way to a create a new one. I was looking for a one off patch and found one for India HRMS, but nothing for the US. Our company wants to have these advices bursted into groups and printed to a printer. I got the control file finished I just can't figure a way to get it to burst because it's seeded it can't be modified.
    Thanks!

    You can use XDOLoader utility to "force" load your file (but just like any other seeded entities,.. it can be overwritten by patches).
    Or, you could create a copy of the concurrent program after which you can link your custom data definition.
    Regards.

  • Deposit Advice (XML) - adding a new field

    Our requirement is to add a DFF to the Deposit Advice. The PAYUSCDA was customized to add the new DFF. However, it is not appearing in the XML to be included in the template. Appreciate sharing of any information.
    Thanks.

    The search help exit allows you to modify functionality of search help. If you add a new field to the
    parameter list that is not contained on the selection method you can manually populate it within the search
    help exit.
    This  would be performed within the u2018STEP DISPu2019 section. Once within this section all search help
    data has been retrieved and is stored in table RECORD_TAB (record_tab-string) as one long string value.
    Therefore you need to read table SHLP in-order to locate position of value within string.
    Example:
    To find position of personnel number (PERNR) within elemenory search
    help M_PREMN you would use the following code:
    Loop at record_tab.
         read table shlp-fielddescr into wa_shlp
                                       with key tabname   = 'M_PREMN'
                                                fieldname = 'PERNR'.
    You could then use this information in the following way, for
    example, to find a persons organisation unit:
          select  orgeh endda
            up to 1 rows
            from pa0001
            into (ld_orgeh,ld_endda)
           where pernr eq record_tab-string+wa_shlp-offset(8)
                                                      u201Cpernr length is 8
           order by endda descending.
          endselect.
          select single orgtx
            from t527x
            into ld_orgtxt
           where orgeh eq ld_orgeh and
                 sprsl eq sy-langu and
               ( endda ge sy-datum and
                 begda le sy-datum ).
    If you have added a new field to the end of the parameters list
    the next step is to populate it by adding this data to the end of
    the record_tab string:
      concatenate record_tab-string ld_orgtxt into record_tab-string.
      modify record_tab.
    endloop.

  • Deposit Advice XML Issue

    Hello Gurus, I am having an issue with XML Deposit Advice and XML Check Writer. In our deductions, we have City Withheld and Head Tax Withheld. For some employees, the City Withheld is showing as '0' on the Deposit Advice Slip but '6.92' on the SOE. Though the Deposit Slip shows '0' for withheld under deductions, the Net Pay matches with that on the SOE. Can anyone tell me why this is happening? Any help is highly appreciated.
    Thanks, Naveen.

    This is an internal error with Hr/Payroll.
    Thanks, Naveen Gagadam.

  • New Deposit Advice in XML

    We are working on using the new deposit advice with an xml output. We are not able to choose a template when running it. Is this due to the fact that it is a spawned process?
    I tried to associate the template in Onsite Settings in System Administration but am not having any luck.
    Thanks as always!
    Rob

    You can use the following sample code to register the template in Applications.
    [b]DECLARE
    errbuf varchar2(100);
    retcode number;
    lv_conc_prog VARCHAR2(30);
    lv_template_code VARCHAR2(30);
    lv_template_name VARCHAR2(100);
    ln_business_group_id NUMBER;
    BEGIN
    errbuf := 'NO ERRORS';
    retcode := 0;
    /* REGISTER BI PUBLISHER TEMPLATES WITH PAYROLL */
    /* FIRST PARAMETER : PLEASE ENTER THE DATA DEFINITION NAME */
    /* INSTRUCTION : FOR Check Writer (XML) ENTER 'PAYARCHCHQW' AND FOR Deposit Advice (XML) ENTER 'PYUSDEPADVXML' */
    /* SECOND PARAMETER : PLEASE ENTER THE TEMPLATE CODE */
    /* INSTRUCTION : THIS SHOULD MATCH THE TEMPLATE CODE YOU PROVIDED THROUGH 'BI PUBLISHER ADMINISTRATOR RESPONSIBILITY' */
    /* THIRD PARAMETER: PLEASE ENTER THE TEMPLATE NAME */
    /* INSTRUCTION : THIS SHOULD MATCH THE TEMPLATE NAME YOU PROVIDED THROUGH 'BI PUBLISHER ADMINISTRATOR RESPONSIBILITY' */
    /* FOURTH PARAMETER: PLEASE ENTER THE BUSINESS GROUP ID */
    /* INSTRUCTION: THIS SHOULD BE THE BUSINESS GROUP ID FOR WHICH YOU ARE GOING TO RUN THE NEW CONCURRENT PROGRAMS' */
    lv_conc_prog := 'PAYARCHCHQW';
    lv_template_code := 'PAYARCHCHQW';
    lv_template_name := 'Check Writer (XML)';
    ln_business_group_id := '101';
    PAY_US_CUSTOM_TEMPLATE.insert_data(
    errbuf,
    retcode,
    lv_conc_prog,
    lv_template_code,
    lv_template_name,
    ln_business_group_id);
    /* BI PUBLISHER TEMPLATE REGISTERED WITH PAYROLL. THANK YOU.*/
    COMMIT;
    END;

  • Sorting Order of XML Deposit Advices and Checks

    Does anyone know how we can customize the sorting of XML Deposit Advices and Checks ? At present it default sorts on Organization,Person. we would like to sort on Location,Person.
    Any help will be appreceated.
    Regards,

    1. Try to do it in db itself.
    2. If that is not possible, then specify the sort order in RTF like
    <?for-each:GROUP?>
    <?sort:SEGMENT1;'ascending';data-type='number'?> -- Not sure if its Varchar or Number. Change the data type accordingly
    <?sort:LAST_NAME;'ascending';data-type='text'?>
    <?sort:FIRST_NAME;'ascending';data-type='text'?>
    Do check if the performance is not affected by this.

  • ATTN: Oracle US Payroll Customers: XML Check Writer and Deposit Advice rele

    Dear Oracle U.S. HCM Customer,
    The XML Checkwriter/Deposit Advice patch has been released!
    Patch number:
    * R11i: 6399100
    Note: This patch will satisfy the California Overtime Paid in Arrears
    requirement in addition to delivering XML output.
    Please see the readme on Metalink for full details:
    XML Checkwriter/Deposit Advice Readme Rel 11i Note 459306.1
    Note:
    Oracle will de-support the Live Checkwriter and Deposit Advice for US
    and Canada beginning with EOY Phase 1 in September. Archive & XML
    Checkwriter and Deposit Advice will continue to be supported. What this
    means is that new code changes and bug fixes will not be tested on the
    Live Checkwriter and Deposit Advice. Additionally, enhancements made to
    the Archive version will NOT be made for the Live version.

    At OpenWorld, the developers said that XML Checkwriter and Deposit Advice would be available in version 12.6. I don't recall the expected date of release.

  • Working with Flash content in XML template

    My knowledge base of html and DWCS3 is limited. My knowledge of Flash CS3 is better and have built a web site using it.
    This is a newbie DW question. Am working on an XML template, which contained the following folders:
    site_flash folder containing:  main_v8.swf, tfile_main.xml, style.css, index (firefox doc) (+gallery stuff)
    flash folder containing: main_v8.swf, main_v8.fla, tfile_main.xml, AC_RunActiveContent (JSS file) (+gallery stuff)
    I was told by the template people to use the site_flash folder but there are no visuals (Design views), to work with and could not access Flash through DW to alter the files in Flash. When I can get a Design view in DW, all I get is the f symbol. In all the tutorials I've watched on DW, there is a Design view to work with.
    SO, I used the flash folder and adjusted the main layout in the .fla file to suit my needs, and worked on the tfile_main.xml document in DW and they seemed to be 'talking' as my changes were recognized. When I test the file from either Flash or DW, it is perfect. But when I run it from my test folder through the server, the page formatting is off (page pushed down, menu buttons squashed, etc). There is no style.css sheet in the flash folder.
    Am willing to go back and start over with the site_flash folder with CSS page if this will resolve things, but don’t know how to edit the flash layout through DW. I need a Design view…am very weak in the html side of things.
    Test run:  http://www.mackenziemode.com.au/test.html
    Any advice you can give would be helpful.
    The Not-feeling-so-Handy Ma'am  

    In followup to my own frenzied query, in case anyone else is having the same problem, the solution to the 'squashed'
    web site (that's works perfectly on testing outside the browser) is to upload the main.xml file in binary mode.

  • PO XML Template

    Hi,
    My name is James Shieh. Does anyone has a PO XML template out there? I want to take the standard Oracle PO report (rdf file) and make it a XML report. Does anyone has a XML template already setup to go? Please advice.
    Thanks.

    The template is in XSL-FO format rather than RTF format.
    You can use an XML editing tool such as 'XMLSpy' to modify this template and add logos, additional fields, layout as required:
    http://www.altova.com/products/xmlspy/xml_editor.html
    Yes - it is very frustrating that Oracle Development created this template in XSL-FO format rather than using Word or RTF or something that is easier to manipulate! However, XSL-FO isn't that hard to learn if you put in a day or so of background study ;-)

  • Error while trying to update the XML template using XML Publisher Administrator

    Hello Folks,
    We are on R12.1.3
    I changed a condition in a report and trying to upload the new XML template using XML Publisher Administrator.
    when i click the Apply button, it is throwing an error 'Bad Request'
    Navigation : XML Publisher Administrator > Data Definitions > query the report
    Click on the name of the report > click 'Update file' besides Data Template > Choose file > Click Apply
    I am getting the below error
    Bad Request
    Your browser sent a request that this server could not understand.
    Now, i could not upload a new XML template.
    Am I doing anything wrong.
    regards,
    Kris

    user10163762 wrote:
    Thank you Eugen and Hussein.
    The problem is not with the template.
    It seems to be a problem in that particular instance.
    Uploaded it in a different instance.
    However once i run the program, i cannot view the output as the browser window flashes and disappears.
    My colleague says , it is to do with the trusted site to download something from the browser.
    Can you please guide me on how to fix this ?
    http://bit.ly/1k8e2vi
    Thanks,
    Hussein

  • How to sort Data in XML template (rtf) file?

    Hi, I have an oracle 11i custom report (rdf) with an xml output to a PDF. There is a formula column in the report. Now I need the data to be sorted on this formula column. As we cannot sort on formula column, i have decided to find a way to sort it in the data in the XML template. But I don't really know how to sort and also where to specify the sort tag in the rtf file. I appreciate your response.
    Databse version : 9.2.0.8.0
    E-Biz Version : 11.5.10.2
    Oracle Reports Version : 6.0.8.27.0
    Oracle BI version : 10.1.3.2.1
    Note : I posted this question under : XML General forum also. But did not get any response. I assumed that may be thats not the right place to post it as my report is in e-Biz environment.

    Hi
    As long as you don't have your ^field commands grouped inside a ^group the order in the .dat file is not important. Your last command
    ^field BG_DOC_LN__LN_AM
    246624.12
    should populate field BG_DOC_LN_AM wherever you place it on your form. Obviously you need to name the fields according to your ^field commands and not just use tab (move to next field).
    Shout if this was not what you are asking.
    Stale Sodal

Maybe you are looking for

  • How do I get rid of a virus I mistakingly got from a site called 'firstrow.eu'?

    How do I get rid of a virus I mistakingly got from a site called 'firstrow.eu'?

  • Fried USB ports?

    Hi - new user here. Wondering if anyone can shed light on a problem: Just moved house, and have been setting up iMac. However, when I tried plugging in my Belkin USB port expander, and then plugging in applications to that device, the Mac told me the

  • HR Upgrade from 4.6c to ECC 6.0

    Hi,    I am currently about to start a HR Upgrade project from 4.6c to ECC 6.0. Does anyone have  the checklist of activities to be followed during upgrade process or any plan for upgrade process in detail. Anyone involved in upgrades pls do send acr

  • JPEG2000 problem in Flash

    Hi! I export from Photoshop a JPEG2000 file and when I import it in Flash it becomes darker (around 6% darker). And this is a problem because the background color doesn't match. http://i12.tinypic.com/2cqleeh.jpg When I open the same JP2 file in Phot

  • FCPX 10.0.3 "instant edit" problem with OLD MBP and iMac

    The setting ~15Gb of footage from 5D Mark 2 (with half the bitrate through Magic Lantern) ~Short editing project. The problem In the beginning, I used my early 08 MBP I tried importing the footage from CF to an event on my USB drive (I don't have a F