Need to generate a Index xml file for corresponding Report PDF file.

Need to generate a Index xml file for corresponding Report PDF file.
Currently in fusion we are generating a pdf file using given Rtf template and dataModal source through Ess BIPJobType.xml .
This is generating pdf successfully.
As per requirement from Oracle GSI team, they need index xml file of corresponding generated pdf file for their own business scenario.
Please see the following attached sample file .
PDf file : https://kix.oraclecorp.com/KIX/uploads1/Jan-2013/354962/docs/BPA_Print_Trx-_output.pdf
Index file : https://kix.oraclecorp.com/KIX/uploads1/Jan-2013/354962/docs/o39861053.out.idx.txt
In R12 ,
     We are doing this through java API call to FOProcessor and build the pdf. Here is sample snapshot :
     xmlStream = PrintInvoiceThread.generateXML(pCpContext, logFile, outFile, dbCon, list, aLog, debugFlag);
     OADocumentProcessor docProc = new OADocumentProcessor(xmlStream, tmpDir);
     docProc.process();
     PrintInvoiceThread :
          out.println("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>");
               out.print("<xapi:requestset ");
               out.println("<xapi:filesystem output=\"" + outFile.getFileName() + "\"/>");
               out.println("<xapi:indexfile output=\"" + outFile.getFileName() + ".idx\">");
               out.println(" <totalpages>${VAR_TOTAL_PAGES}</totalpages>");
               out.println(" <totaldocuments>${VAR_TOTAL_DOCS}</totaldocuments>");
               out.println("</xapi:indexfile>");
               out.println("<xapi:document output-type=\"pdf\">");
out.println("<xapi:customcontents>");
XMLDocument idxDoc = new XMLDocument();
idxDoc.setEncoding("UTF-8");
((XMLElement)(generator.buildIndexItems(idxDoc, am, row)).getDocumentElement()).print(out);
idxDoc = null;
out.println("</xapi:customcontents>");
     In r12 we have a privilege to use page number variable through oracle.apps.xdo.batch.ControlFile
          public static final String VAR_BEGIN_PAGE = "${VAR_BEGIN_PAGE}";
          public static final String VAR_END_PAGE = "${VAR_END_PAGE}";
          public static final String VAR_TOTAL_DOCS = "${VAR_TOTAL_DOCS}";
          public static final String VAR_TOTAL_PAGES = "${VAR_TOTAL_PAGES}";
Is there any similar java library which do the same thing in fusion .
Note: I checked in the BIP doc http://docs.oracle.com/cd/E21764_01/bi.1111/e18863/javaapis.htm#CIHHDDEH
          Section 7.11.3.2 Invoking Processors with InputStream .
But this is not helping much to me. Is there any other document/view-let which covers these thing .
Appreciate any help/suggestions.
-anjani prasad
I have attached these java file in kixs : https://kix.oraclecorp.com/KIX/display.php?labelId=3755&articleId=354962
PrintInvoiceThread
InvoiceXmlBuilder
Control.java

You can find the steps here.
http://weblogic-wonders.com/weblogic/2009/11/29/plan-xml-usage-for-message-driven-bean/
http://weblogic-wonders.com/weblogic/2009/12/16/invalidation-interval-secs/

Similar Messages

  • I receive an Untitled page when at a website and click on a file to load , for example a pdf file.

    When at a website, I click on a file, for example a pdf file to open. A new tab comes up calling it a untitled page, file never opens. I have version 3.6.3, vista OS.
    == This happened ==
    Not sure how often
    == within last couple of months

    same with 3.6.6

  • How to generate Excle file for a report runningin a Batch job

    Hello All,
    Can we generate Excle file for a report running in a Batch job.
    Kindly send reply to     [email protected]
    Thanks in Advance.
    Cheers,
    Sundeep

    Dear Sundeep,
    I'm providing you with the following piece of code ... Its working fine for me ... hopefully it suits your requirement ...
    D A T A D E C L A R A T I O N *
    TYPES: BEGIN OF TY_EXCEL,
    CELL_01(80) TYPE C,
    CELL_02(80) TYPE C,
    CELL_03(80) TYPE C,
    CELL_04(80) TYPE C,
    CELL_05(80) TYPE C,
    CELL_06(80) TYPE C,
    CELL_07(80) TYPE C,
    CELL_08(80) TYPE C,
    CELL_09(80) TYPE C,
    CELL_10(80) TYPE C,
    END OF TY_EXCEL.
    DATA: IT_EXCEL TYPE STANDARD TABLE OF TY_EXCEL,
    WA_EXCEL TYPE TY_EXCEL..
    E V E N T : S T A R T - O F - S E L E C T I O N *
    START-OF-SELECTION.
    Here you populate the Internal Table.
    Display - Top of the Page.
    PERFORM DISPLAY_TOP_OF_PAGE.
    E V E N T : E N D - O F - S E L E C T I O N *
    END-OF-SELECTION.
    SET PF-STATUS 'GUI_STATUS'.
    E V E N T : A T U S E R - C O M M AN D *
    AT USER-COMMAND.
    CASE SY-UCOMM.
    WHEN 'EXPORT'.
    Exporting the report data to Excel.
    PERFORM EXPORT_TO_EXCEL.
    ENDCASE.
    *& Form DISPLAY_TOP_OF_PAGE
    text
    --> p1 text
    <-- p2 text
    FORM DISPLAY_TOP_OF_PAGE .
    SKIP.
    WRITE: /05(128) SY-ULINE,
    /05 SY-VLINE,
    06(127) 'O R I C A'
    CENTERED COLOR 1,
    132 SY-VLINE.
    WRITE: /05(128) SY-ULINE,
    /05 SY-VLINE,
    06(127) 'Shift Asset Depreciation - Period/Year-wise Report.'
    CENTERED COLOR 4 INTENSIFIED OFF,
    132 SY-VLINE.
    WRITE: /05(128) SY-ULINE.
    E X C E L O P E R A T I O N
    CLEAR: IT_EXCEL[],
    WA_EXCEL.
    PERFORM APPEND_BLANK_LINE USING 1.
    WA_EXCEL-cell_02 = ' XYZ Ltd. '.
    APPEND WA_EXCEL TO IT_EXCEL.
    CLEAR: WA_EXCEL.
    WA_EXCEL-cell_02 = 'Shift Asset Depreciation - Period/Year-wise Report.'.
    APPEND WA_EXCEL TO IT_EXCEL.
    PERFORM APPEND_BLANK_LINE USING 1.
    ENDFORM. " DISPLAY_TOP_OF_PAGE
    *& Form APPEND_BLANK_LINE
    text
    -->P_1 text
    FORM APPEND_BLANK_LINE USING P_LINE TYPE I.
    DO P_LINE TIMES.
    CLEAR: WA_EXCEL.
    APPEND WA_EXCEL TO IT_EXCEL.
    enddo.
    ENDFORM.
    *& Form EXPORT_TO_EXCEL
    text
    --> p1 text
    <-- p2 text
    FORM EXPORT_TO_EXCEL .
    DATA: L_FILE_NAME(60) TYPE C.
    Create a file name
    CONCATENATE 'C:\' 'Shift_Depn_' SY-DATUM6(2) '.' SY-DATUM4(2)
    '.' SY-DATUM+0(4) INTO L_FILE_NAME.
    Pass the internal table (it_excel which is already populated )
    to the function module for excel download.
    CALL FUNCTION 'WS_EXCEL'
    exporting
    filename = L_FILE_NAME
    tables
    data = IT_EXCEL
    exceptions
    unknown_error = 1
    others = 2.
    if sy-subrc <> 0.
    message e001(ymm) with 'Error in exporting to Excel.'.
    endif.
    ENDFORM. " EXPORT_TO_EXCEL
    *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    When you click the button - Export to Excel ( GUI-Status) you'll be able to export the content of the Internal Table to an Excel file .......
    Regards,
    Abir
    Don't forget to award points *

  • How to make Adobe as your default viewer for all your PDF file instead of the Preview given? Thanks

    How to make Adobe as your default viewer for all your PDF file instead of the Preview given? Thanks

    you need to "Get Info" on the file first. Select it, right click and select 'Get Info' in the menu.
    In the window that pops up, near the bottom, the "Open With" drop down menu needs changed. If the drop down menu does not present the one you want, select "Other" and find it.

  • Distiller will suddenly close/crash the *SECOND* time I open a file for converting to PDF.

    The subject heading says it all: Distiller will suddenly close/crash the *SECOND* time I open a file for converting to PDF.
    But I think I have a clue why this is happening. Typically, I use Distiller to convert EPS or PS files into PDFs. Also, almost without fail, I embed the required fonts (exclusively Type 1) directly into the EPS/PS files (using the required PFA format) so no local fonts on my computer are needed to be looked for by Distiller to be embedded in the resulting PDF; they're already in the EPS/PS files.
    But yesterday, I attempted to convert some EPS/PS files to PDFs using Distiller in which I had NOT embedded the Type 1 fonts (in PFA format, of course) in the source EPS/PS files. The first such conversion would work (in which I select "Open" and choose an EPS/PS file for conversion), but after that initial conversion, the *SECOND* time I clicked on "Open" (open file), Distiller would immediately close/crash.
    I then searched the web for answers, and discovered some people were having trouble getting Distiller to initialize if any of their computer system fonts were read-only. So, I went back to my EPS/PS files and embedded the required Type 1 (PFA format) fonts into them, and then—magically—Distiller worked without a hitch: I could open and convert any number of them in succession, with Distiller never closing/crashing.
    So, I concluded the reason that Distiller had been crashing upon the second attempted opening of a file (again, simply by pressing the "open" button to search for a file to convert, *not* after selecting a file) must have had something to do with Distiller scanning my computer's installed fonts when there was no embedded PFA font to reference, and a read-only font on my system was causing the problem. However, I looked in the two logical places where my fonts should be located (c:\psfonts and c:\windows\fonts), but found *no* font files' attributes set to "read-only" So, I'm stumped.
    I'm using Distiller Pro 10.1.1316 (acrodist.exe) on a Win 8.1 machine. I've found similar posts, going back to 2004, about Distiller immediately crashing after opening when some fonts are read-only; I haven't yet found a post about anyone successfully using Distiller to convert one EPS or PS file to PDF, and then having the program crash when the "Open" button is pressed subsequently. Any clues, anyone?

    Never heard about the crash and that does not sound normal. Be sure to do the updates to Acrobat in case that resolves the issue. You might also check the font settings in the settings file and check to ignore the error if the font can not be embedded and Distiller should use what it considers to be the closest system font.

  • Need Help ASAP  my State tax form is in a PDF file and the attachment in my email says Please wait

    Need Help ASAP  my State tax form is in a PDF file and the attachment in my email says Please wait...
    I tried downloading updates like it said to but it still will not display the document.  How do I print the PDF file ASAP

    Can you give us a LOT more info?
    What email client? What version of Reader (I can only assume you even have Reader at this point)?
    Please wait? I'm sure it says more than that, right?
    Have you tried simply saving the PDF (it IS a PDF correct?) to your desktop and opening it from there?
    Did you get this form from the IRS or did it come from somewhere else? If the IRS again, what version of Reader?
    Help us help you.

  • Hi , my problem is that i can only create absolute links to other pdf-files in a main pdf-file. how can i switch to or create relative links. Thanks for help!

    Hi , my problem is that i can only create absolute links to other pdf-files in a main pdf-file. how can i switch to or create relative links. Thanks for help!

    I’m using version 11.0.10. So where the Menu resides in a folder ready to be burnt on to a CD, that same folder is where the links point to.
    Thanks

  • Firefox 4.0 support for printing embedded PDF files in iFrames via JavaScript

    I recently upgraded to Firefox 4.0 and can no longer print embedded PDF documents contained in an iFrame.
    My company's web application has several pages which load PDF files from a Servlet into an iFrame. The pages in question all have "Print" buttons which when clicked executes a JavaScript function to obtain reference to the iframe containing the PDF, place it into focus() (e.g., frames['pdfdoc'].focus();), and invoke print() (e.g., frames['pdfdoc'].print();). There are no errors, or exceptions caught when the JavaScript function is invoked, but the "Print" button is no longer operational.
    Does Firefox 4.0 no longer support iFrames? The issue goes away if I revert back to ver 3.6.16

    I have same issue for printing embedded PDF files in iFrames via JavaScript in Firefox 5.0.
    In previous versions it was working fine. But not in Firefox 4.0/5.0.
    Is there any solution for this problem?

  • Which folder i have to put my .jsp file for web report?

    for web report(not the paper report) i put my .jsp files in the
    \reports\j2ee\reports_ids\web
    folder
    this is for the DS(Developer Suite)
    i'm trying to move this file to different machine where AS(Application Server)
    is installed.
    but couldn't find above path. where do i have to put .jsp file for
    web report?
    or do i have to modify in the registry? if so, where?
    Thanks

    Hello,
    Take a look to the thread :
    where to add new jsp reports directory location in path
    "...You have to keep jsp files under document root that is OH/j2ee/OC4J_BI_Forms/applications/reports/web directory. You can create sufbolders under this directory and keep jsp files. ..."
    Regards

  • Does Reader for iPad store PDF files for viewing later when offline?

    Does Reader for iPad store PDF files for viewing later when offline?
    I'm asking because I have my portfolio as a PDF and I want to take my iPad with me to interviews, where I won't have Internet access, to show my portfolio.
    Cheers,
    Matt.

    Awesome, I had hoped adobe were on the ball with this, but it's worth finding out beforehand.
    Thanks!

  • How can i don't save a flash file for a temporary internet files

    i already use html file in meta tag...
    but still saving file ..
    so how can i don't save a flash file for a temporary internet files??

    i don't understand.
    post your message in your native language.  i can use the forum translation tool to (usually) understand your question.

  • Make File for C,Pro*C, Files in Solaris Server

    HI,
    I would like to know how to write a Make File for C,Pro*C Files in Sun Solaris Server.
    Thanks,
    Vijaya.

    The man page for make
    % man make
    has a brief description of using make.
    The Programming Utilities Guide has a more detailed description:
    [http://docs.sun.com/app/docs/doc/805-4035/6j3r2rqnc?a=view]
    For a tutorial, you can get the O'Reilly book "Managing Projects with make"
    [http://www.amazon.com/Managing-Projects-make-Andrew-Oram/dp/0937175900/ref=sr_1_2?ie=UTF8&s=books&qid=1222458409&sr=1-2]
    [http://search.barnesandnoble.com/Managing-Projects-with-Make/Steve-Talbott/e/9780937175187/?itm=5]
    O'Reilly publishes a similar book specifically for the Gnu version of make, "Managing Projects with make", available from the usual sources.
    Sun Studio comes with dmake, which has extensions that allow distributing a project build over multiple computers, and running multiple steps in parallel on the same computer. The manual for it is here:
    [http://docs.sun.com/app/docs/doc/819-5273/aexaz?l=en&q=dmake+doc&a=browse]
    Pro*C is not a Sun product. It is from Oracle, and you should ask Oracle for advice on using it.
    Edited by: clamage45 on Sep 26, 2008 1:52 PM

  • Which Acrobat or Adobe product is best to subscribe to for converting Word files (all types) to pdf files and visa versa?

    Which Acrobat or Adobe product is best to subscribe to for converting Word files (all types) to pdf files and visa versa?
    Thank you!

    Probably PDF Pack: Reliably Create PDFs, Convert PDFs, & Merge PDFs Online | Adobe PDF Pack

  • Acrobat XI PRO: Create a Table of Contents (TOC) automatically in top, after I have combined several pdf.files into a single pdf.file

    Hey
    I have now tried for hours, but now I give up!
    MY WISH -
    Create a Table of Contents (TOC) automatically after I have combined several pdf.files into a single pdf.file.
    I have already bookmarks, shown on the screen (see screenshot below) but I want those bookmark to be visualised in a separate TOC in the top of the combined files.
    This new TOC (which I have inserted) shall be printable and serve as a cover page in a binder.
    I have seen other cheap pdf.programs in the market (e.g. PDF Converter Professional 7.3) which are able to make the above things, easy, fast and nice.
    Regards
    Ole Bünger, Kristianstad Sweden

    Somewhat roundabout way but this should work:
    Is there easy way to print bookmarks Acrobat Pro 9.5

  • How do i combine multiple pdf file into a single pdf file?

    how do i combine multiple pdf files into a single pdf file?

    The thread was started in early March and it's Mid-April, I know this very well. The OP of this thread posted a very common and simple question or maybe he/she would have resolved this. For an Adobe Acrobat user it's not at all difficult to combine multiple PDF files into one. But to combine PDF files full version of Adobe Acrobat is mainly required, otherwise PDF files can't be combined. For example, I'm using Adobe Acrobat 9 Pro. These simple steps are mainly required to combine PDF files:
    Open Adobe Acrobat.
    Click on Combine and click on Merge files into a single PDF.
    A window will be appearing, click on Add Files and select the PDF files you want to combine.
    Arrange the selected files in any order with the help of Move Up and Move Down button.
    Now click on Combine File and the selected PDF files will be combined within a few seconds.
    A new PDF file will be created. Click on Save As and name this new PDF file. Then, click on Save.
    A new PDF file will be created and all the selected PDF files are combined in it. The steps shown above might be different in other versions of Adobe Acrobat. Other than this, some third-party PDF merge software are also available. Most of them are available with a demo version for free evaluation. I've heard much about SysInfoTools PDF Merge software on other forums and directories and it's demo version is freely available. One may check its demo version if Adobe Acrobat (full version) is not available.
    Regards

Maybe you are looking for

  • How to configure internet domain name for P6 website using weblogic

    After installing and configuring weblogic for P6 you get the following address https://servername:7002/console/login/LoginForm.jsp to access P6 website.  Anyone know how to configure a purchase domain such as www.mydomain.com have it redirect to http

  • Mandatory input field in View

    Hi All, Mandatory input field in group In my web dynpro application i have marked the input field "required" and in output it shows with red asterisks... In my view i have 2 group elements with different fields. I am using method *check_mandatory_att

  • How to disable the printer's color management in Photoshop CS5 with Mavericks?

    Hi there, does anyone know how to disable the printer's color management in Photoshop CS5 with Mavericks? There doesn't seem to be an option. Could you help? Many thanks

  • 2960-X uplink bugs

    I have a site that has 2960-X stacks with a mixture of 15.0(2)EX3 and 15.0(2)EX4 IOS versions.  The stacks are of the 1G uplink variety and are connected to a 4510R+E via WS-X4612-SFP-E modules.  The uplinks are configured as LACP channels.  Since in

  • Cannot remove reserved GDT blocks

    I cannot seem to remove the reserved GDT blocks from my root partition. I used the following command: # tune2fs -O ^resize_inode /dev/sda2 and `tune2fs -l /dev/sda3` shows: Filesystem volume name: ROOT Last mounted on: / Filesystem UUID: 3257b590-798