Using XSL-FO for Interactive Report PDF printout

I am using XSL-FO, Apache FOP and use FO Designer to produce a PDF from SQL Based Report (not IR). This is working fine.
How can use the same concept for Interactive Report. I can not see how to make IR to use XSL-FO and Apache FOP.
It looks that IR is only working for BI Publisher. Am I right?

Interactive Reports currently only support the built-in default XSL-FO layout, i.e. there are only limited customization options available. Report Queries (see Shared Components) and Classic Reports can either use the default XSL-FO Layout, or can be associated with RTF or XSL-FO based templates. We plan to extend printing support for Interactive Reports in a future version of Oracle Application Express to provide similar features as is currently available for Report Queries and Classic Reports.
Regards,
Marc

Similar Messages

  • User Interface Template for Interactive Report Region

    In 3.2, where do we set the user interface template for Interactive Reports region?
    No matter what out of the box theme I switch to, the Interactive Reports region shows the same. What and where do I change the template so that alternating rows use two different colors?

    There is no template for Interactive Reports like for a "normal" report. You need to modify the CSS and supply your own for this to happen.
    I believe most things are tagged with #apexir - firebug with Firebox is invaluable. This thread may help:
    Re: changing the look and feel of interactive report.

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

  • Pointers to Sample report for Interactive Reporting

    Hi All,
                Can any one provide me Pointers to Sample report for Interactive Reporting( which uses Hotspots, Hide, At-User Command).
    Thanks in advance.
    Regards,
    Navin.

    Hi
    see the sample report
    REPORT ZTEJ_INTAB1 LINE-SIZE 103 LINE-COUNT 35(5) NO STANDARD PAGE
    HEADING.
    *TABLES DECLARATION
    TABLES : KNA1, VBAK, VBAP.
    *SELECT OPTIONS
    SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.
    *INITIALIZATION
    INITIALIZATION.
    CUST_NO-LOW = '01'.
    CUST_NO-HIGH = '5000'.
    CUST_NO-SIGN = 'I'.
    CUST_NO-OPTION = 'BT'.
    APPEND CUST_NO.
    *SELECTION SCREEN VALIDATION
    AT SELECTION-SCREEN ON CUST_NO.
    IF CUST_NO-LOW < 1 OR CUST_NO-HIGH > 5000.
    MESSAGE E001(ZTJ1).
    ENDIF.
    *BASIC LIST SELECTION
    START-OF-SELECTION.
    SELECT KUNNR NAME1 ORT01 LAND1 INTO
    (KNA1-KUNNR, KNA1-NAME1,KNA1-ORT01,KNA1-LAND1)
    FROM KNA1
    WHERE KUNNR IN CUST_NO.
    WRITE:/1 SY-VLINE,
    KNA1-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
    16 SY-VLINE,
    KNA1-NAME1 UNDER 'NAME',
    61 SY-VLINE,
    KNA1-ORT01 UNDER 'CITY',
    86 SY-VLINE,
    KNA1-LAND1 UNDER 'COUNTRY',
    103 SY-VLINE.
    HIDE: KNA1-KUNNR.
    ENDSELECT.
    ULINE.
    *SECONDARY LIST ACCESS
    AT user-command.
    IF SY-UCOMM = 'IONE'.
    PERFORM SALES_ORD.
    ENDIF.
    IF SY-UCOMM = 'ITWO'.
    PERFORM ITEM_DET.
    ENDIF.
    *TOP OF PAGE
    TOP-OF-PAGE.
    FORMAT COLOR 1.
    WRITE : 'CUSTOMER DETAILS'.
    FORMAT COLOR 1 OFF.
    ULINE.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'CUSTOMER NO.',
    16 SY-VLINE,
    18 'NAME',
    61 SY-VLINE,
    63 'CITY',
    86 SY-VLINE,
    88 'COUNTRY',
    103 SY-VLINE.
    ULINE.
    FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR SECONDARY LISTS
    TOP-OF-PAGE DURING LINE-SELECTION.
    *TOP OF PAGE FOR 1ST SECONDARY LIST
    IF SY-UCOMM = 'IONE'.
    ULINE.
    FORMAT COLOR 1.
    WRITE : 'SALES ORDER DETAILS'.
    ULINE.
    FORMAT COLOR 1 OFF.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'CUSTOMER NO.',
    16 SY-VLINE,
    18 'SALES ORDER NO.',
    40 SY-VLINE,
    42 'DATE',
    60 SY-VLINE,
    62 'CREATOR',
    85 SY-VLINE,
    87 'DOC DATE',
    103 SY-VLINE.
    ULINE.
    ENDIF.
    FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR 2ND SECONDARY LIST
    IF SY-UCOMM = 'ITWO'.
    ULINE.
    FORMAT COLOR 1.
    WRITE : 'ITEM DETAILS'.
    ULINE.
    FORMAT COLOR 1 OFF.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'SALES ORDER NO.',
    40 SY-VLINE,
    42 'SALES ITEM NO.',
    60 SY-VLINE,
    62 'ORDER QUANTITY',
    103 SY-VLINE.
    ULINE.
    ENDIF.
    FORMAT COLOR 3 OFF.
    *END OF PAGE
    END-OF-PAGE.
    ULINE.
    WRITE :'USER :',SY-UNAME,/,'DATE :', SY-DATUM, 85 'END OF PAGE:',
    SY-PAGNO.
    SKIP.
    *& Form SALES_ORD
    *& FIRST SECONDARY LIST FORM
    FORM SALES_ORD .
    SELECT KUNNR VBELN ERDAT ERNAM AUDAT INTO
    (VBAK-KUNNR, VBAK-VBELN, VBAK-ERDAT, VBAK-ERNAM, VBAK-AUDAT)
    FROM VBAK
    WHERE KUNNR = KNA1-KUNNR.
    WRITE:/1 SY-VLINE,
    VBAK-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
    16 SY-VLINE,
    VBAK-VBELN UNDER 'SALES ORDER NO.' HOTSPOT ON,
    40 SY-VLINE,
    VBAK-ERDAT UNDER 'DATE',
    60 SY-VLINE,
    VBAK-ERNAM UNDER 'CREATOR',
    85 SY-VLINE,
    VBAK-AUDAT UNDER 'DOC DATE',
    103 SY-VLINE.
    HIDE : VBAK-VBELN.
    ENDSELECT.
    ULINE.
    ENDFORM. " SALES_ORD
    *& Form ITEM_DET
    *& SECOND SECONDARY LIST FORM
    FORM ITEM_DET .
    SELECT VBELN POSNR KWMENG INTO
    (VBAP-VBELN, VBAP-POSNR, VBAP-KWMENG)
    FROM VBAP
    WHERE VBELN = VBAK-VBELN.
    WRITE : /1 SY-VLINE,
    VBAP-VBELN UNDER 'SALES ORDER NO.',
    40 SY-VLINE,
    VBAP-POSNR UNDER 'SALES ITEM NO.',
    60 SY-VLINE,
    VBAP-KWMENG UNDER 'ORDER QUANTITY',
    103 SY-VLINE.
    ENDSELECT.
    ULINE.
    ENDFORM. " ITEM_DET
    REPORT demo_list_at_pf.
    START-OF-SELECTION.
    WRITE 'Basic List, Press PF5, PF6, PF7, or PF8'.
    AT pf5.
    PERFORM out.
    AT pf6.
    PERFORM out.
    AT pf7.
    PERFORM out.
    AT pf8.
    PERFORM out.
    FORM out.
    WRITE: 'Secondary List by PF-Key Selection',
    / 'SY-LSIND =', sy-lsind,
    / 'SY-UCOMM =', sy-ucomm.
    ENDFORM.
    After executing the program, the system displays the basic list. The user can press the function keys F5 , F6 , F7 , and F8 to create secondary lists. If, for example, the 14th key the user presses is F6 , the output on the displayed secondary list looks as follows:
    Secondary List by PF-Key Selection
    SY-LSIND = 14
    SY-UCOMM = PF06
    Example for AT USER-COMMAND.
    REPORT demo_list_at_user_command NO STANDARD PAGE HEADING.
    START-OF-SELECTION.
    WRITE: 'Basic List',
    / 'SY-LSIND:', sy-lsind.
    TOP-OF-PAGE.
    WRITE 'Top-of-Page'.
    ULINE.
    TOP-OF-PAGE DURING LINE-SELECTION.
    CASE sy-pfkey.
    WHEN 'TEST'.
    WRITE 'Self-defined GUI for Function Codes'.
    ULINE.
    ENDCASE.
    AT LINE-SELECTION.
    SET PF-STATUS 'TEST' EXCLUDING 'PICK'.
    PERFORM out.
    sy-lsind = sy-lsind - 1.
    AT USER-COMMAND.
    CASE sy-ucomm.
    WHEN 'FC1'.
    PERFORM out.
    WRITE / 'Button FUN 1 was pressed'.
    WHEN 'FC2'.
    PERFORM out.
    WRITE / 'Button FUN 2 was pressed'.
    WHEN 'FC3'.
    PERFORM out.
    WRITE / 'Button FUN 3 was pressed'.
    WHEN 'FC4'.
    PERFORM out.
    WRITE / 'Button FUN 4 was pressed'.
    WHEN 'FC5'.
    PERFORM out.
    WRITE / 'Button FUN 5 was pressed'.
    ENDCASE.
    sy-lsind = sy-lsind - 1.
    FORM out.
    WRITE: 'Secondary List',
    / 'SY-LSIND:', sy-lsind,
    / 'SY-PFKEY:', sy-pfkey.
    ENDFORM.
    When you run the program, the system displays the following basic list with a the page header defined in the program:
    You can trigger the AT LINE-SELECTION event by double-clicking a line. The system sets the status TEST and deactivates the function code PICK. The status TEST contains function codes FC1 to FC5. These are assigned to pushbuttons in the application toolbar. The page header of the detail list depends on the status.
    Here, double-clicking a line no longer triggers an event. However, there is now an application toolbar containing five user-defined pushbuttons. You can use these to trigger the AT USER-COMMAND event. The CASE statement contains a different reaction for each pushbutton.
    For each interactive event, the system decreases the SY-LSIND system field by one, thus canceling out the automatic increase. All detail lists now have the same level as the basic list and thus overwrite it. While the detail list is being created, SY-LSIND still has the value 1.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • CRM 7.0 - Enhancement of Data Sources for interactive Reporting

    Hallo All,
    I would like to know whether anybody has positive experience with the enhancement of CRM Data Sources for interactive Reporting. I read that the enhancement of Customer fields should be possible (Those Data Sources below the Hierarchy node /CRMBW/ROOT).
    I have seen that the extract structure can be enhanced via RSA6 (as for other data sources).
    Questions:
    1. Which USEREXIT / BADI has to be used to fill the added fields?
    2. Does it work?
    Best regards

    Hi!
    Those DS are not meant to be enhanced manually but only by one of the following two ways:
    1. Adding custom fields with the Application Enhancement Tool (AET) in the CRM UI.
    2. Adding SAP fields with the Interactive Reporting Enhancement Workbench (IREW).
    The AET is available since CRM 7.0. Please find more details in the SAP Help Portal:
    <http://help.sap.com>
        SAP Business Suite
            SAP Customer Relationship Mgmt.
                 SAP EHP1 for CRM 7.0
                     Application Help
                         WebClient UI Framework
                             Application Enhancement Tool
    The IREW is available since CRM 7.0 EhP1. More details can be found inside TX CRMD_IREW or in the SAP Help Portal:
    <http://help.sap.com>
        SAP Business Suite
            SAP Customer Relationship Mgmt.
                 SAP EHP1 for CRM 7.0
                     Application Help
                         SAP Customer Relationship Management
                             Analytics
    Best regards

  • What is the use of 'pick' in interactive reporting

    hi
    what is the use of 'pick' in interactive reporting.

    Hi
    We will use this event whene setting PF-Status for Function Key F2.
    Reward All Helpfull Answers.........

  • CSS default for Interactive Reports

    Hi,
    I wanted to modify some default attributes for interactive reports. I found this : Re: Interactive Report
    I tried to put this information in my modified CSS file attached to our default template, but it doesn't seem to work.
    I put this in my CSS file : .apexir_REPORT_TABS span.current {background:#7b9cbd none repeat scroll 0 0;
                                   color:#FFFFFF;
                          margin-bottom:0;}
    but the background color isn't 7b9cbd.
    Is there a way to make it work in a CSS file ?
    Thanks.
    My fault, I had to put #apexir... instead of .apexir
    Edited by: gfrancoeur on Jun 2, 2009 10:55 AM

    I found the information on this.
    It sounds like IR reports use a general CSS file (e.g. apex_4_1.css) and it's better to modify the page template than to modify that file...
    I did that and it worked.

  • How apex generate LOV values for Interactive report

    Scott,
    For interactive report, does APEX full table/index scan to generate the LOV drop down list every time user click the column header? If I set max row count to 100, does LOV values only derived from the first 100 rows that apex hits?
    If I enter SQL query in "list of value definition", will that sql get executed every time users click the column header or the result is cached?
    For standard and interactive report, does APEX parse (soft/hard) the sql statement again when user do pagination?

    Hi N.Raj,
    {thread:id=2245456}
    Yes you have to Configure BI Publisher or other.
    {thread:id=2242147}
    Hope it helps!
    Regards,
    Kiran

  • Activation of Infotype for Interactive reporting

    I know that from SAP CRM 7.0 EHP 1.0 sap provides support for interactive report on Service requests. My question
    - Is there any standard interactive report on service request provided by SAP CRM? I checked in ORDYWB(Interactive workbench), I did not see any report for Service report. Kindly confirm is that is the case.
    Now I believe if I activate report area (Infotype) Service request in the workbench then I can create by own interactive reports for service requests. How do I activate the report area  Service request- When i select and activate it - I get the message  - " Info type Service request switched of"

    Hi!
    I hope this comes not too late, or maybe it will help others: In order to activate report area Service Requests, you have to enable business function SAP BusinessObjects Integration and CRM Interactive Reporting (CRM_ANA_BOB).
    SAP does not deliver any pre-defined reports for the new report areas that are enabled by this business function. You may, however, create your own reports, just as you were able to do with the previously delivered report areas.
    Best regards

  • Using Business area for External Reporting-Pros & Cons?

    Dear Freinds,
    We are a Retail Business Group half way through SAP IS Retail implementation. We have 8 legal entities, currently their complete Annual Financials are being made & audited separately. In SAP the structure is that there is Single Co. Code & transactions will be seggregated by Business Area (made manadatory for data entry) and Annual Accounts will be drawn up using Business Area.
    This to me does not seem to be the right structure. I have joined the group recently, I will be much thankful to you all if you please help me list the Pros & Cons of using Business Area for external reporting.
    Rajesh Agarwal
    [email protected]
    Edited by: Rajesh Agarwal on Jan 27, 2008 6:54 PM

    Dan: <i>For management reporting you may not want to post eliminations between companies where the business areas are the same.</i>
    If the Business wants to see the eliminations between companies, within the same business area, as part of BEx reports, what should I do? They do not want to execute consolidation functions in UCMON but just want to see how the eliminations have taken place between companies with in the same business area. 
    Dan: <i>As long as the partner company and partner business area are consistently included for the intercompany transactions, the eliminations between Legal and Management will agree at the top-level of each hierarchy.</i>
    Have I to introduce one more InfoObject Partner Business Area in the data basis and assign the role Sub-assignment once again?
    Thanks in advance.

  • Can I use Webservices SDK for scheduling Reports?

    Hi All,
    I have a requirement to use Webservices SDK. The process flow is explained as below:-
    PeopleSoft calls Java component which schedules the BO Reports by calling BO program Objects. I was using BOE SDK before. But SAP advised to move to Webservices SDK as to remove CORBA connection issues.
    Can I use Webservices SDK for scheduling Reports?
    Please update.
    Thanks,
    Anu

    Its possible to schedule reports from web services SDK. Its stated in the Web services SDK Doc.

  • APEX Print Attributes for Interactive Reports versus Reports

    The Print Attirbutes tab for Interactive Reports does not have the Enable Report Printing option that the same tab does for Reports. The Enable Reports option when set to Yes" puts a print link on the Reports page. Since, the option doesn't appear for under the Print Attributes tab for Interactive Reports, how can I get a print link appear on an Interactive Report page?

    Hi,
    Those links are visible to end user in action menu -> Download
    Br, Jari

  • How to customize an interactive report PDF using a BI Publisher template

    Hi,
    I am trying to figure out how to get an interactive report to work with BI Publisher. I want it so that I can create a custom RTF template with custom headings, and then apply this for the interactive report.
    On the front end, when a user runs an interactive report, they are able to hide and show columns, and then click on Actions > Download > PDF. I want this to access the custom template and return a PDF based on this template, and also showing the columns that the user has selected in the interactive report.
    I have already created a custom RTF Word Doc in BI Publisher, and have uploaded it into a report query created in Apex. I am not sure though how to apply this report query to an interactive report, or if that’s even what I’m supposed to do to get it to work the way I want it to.
    When editing the Report Attributes, under Print Attributes, there is a section called Printing.
    Under this, there is a "Print Server Overwrite". I thought this is where you can specify your report query. But I am not sure if I even need a report query because I don't understand why you have a report query that is based on a static query, when in an Interactive Report, the user can hide columns.
    I have Apex 4.0.1.00.03 and Oracle BI Publisher 10.1.3.4.0d installed.
    Thanks,
    Gage

    Hi Gage,
    Custom RTF and XSL-FO templates are currently only supported with classic report regions and report queries, but not with interactive reports. So you would need to create a report query based on the SQL statement you used for your interactive report and then associated your template with that report query. Unfortunately you won't be able to use any of your customizations, filters, or column selections this way. We're planing to support report layouts with interactive reports in the future.
    Regards,
    Marc

  • Interactive Report PDF Footer

    We are replacing a bunch of Crystal reports with the new interactive reports. When we download an interactive report to PDF, it automatically puts the page number at the bottom right of every page. However, I'd like it to say "Page 1 of 3", "Page 2 of 3", etc. on the right side of the footer. And I'd also like it to say "Printed on 4/8/2008 at 2:15 pm" on the left side of the footer. This is what we displayed in the footer section on our old Crystal reports. I see the "Page Footer" section under "Print Attributes" for the interactive report, but I can't figure out what I need to enter into the section to make it display as described above. We are using the "Standard" print server (Apache FOP).
    Darrin

    Hi Tony,
    Thanks for your reply.
    I'm using "apex.oraclecorp.com" and have created reports based on RTF and SQL in application shared components. If i use APEX_UTIL.REDIRECT_URL API, i'm able to get the PDF output of my report. Unfortunately, REDIRECT_URL execute STOP ENGINE api internally, which stops the apex engine for any further processing and due to this rest of my plsql logic, dynamic actions, page refresh are not working !
    Regards,
    Parmod

  • Web client and desktop client not available for Interactive reporting 11.1.2.2

    Hi team,
    Currnetly we are usning EPM 11.1.2.2 , we are trying to install and configure
    Interactive reporting in Linux 64 bit system.
    we are few questions jotted below:
    Interactive reporting studio client & Interactive reporting Dashboard Development Studio client are disabled.
    post installation we are not able to see IR Client folder in <EPM HOME> location.
    while launching workspace we are not able to see the WEB Client Interactive reporting under TOOLS-->INSTALL.
    we read in a blog, which states it  Interactive reporting needs a license. whether it needs any special License for using it?
    we downloaded the Entire Dump of EPMS 11.1.2.2  from Oracle Edelivery website.
    Kindly let us know we are missing any where?
    we are strucked at this point.
    Regards
    Chinu

    If you want the 11.1.2.0 assemblies you will need to contact Oracle as they have been removed from edelivery.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • Mac shuts down after boot. Is it the logic board?

    mac shuts down after boot. Doesn't go beyond gray screen with apple.  Is it the logic board? I do not have the start up disks to safe boot or check the hardware. Any ideas what the problem is or is it junk?  It is 8 years old.

  • Stop Background Image in Table from Repeating

    Since CS4 has unfortunately removed the button for Background Image for tables, I found a neat work-around on the internet:  select the cell, then open the Tag Inspector panel, select the Attributes button and Show list view, and click inside "backgr

  • IPhoto book upload failed using iPhoto 9.4.3 and Mountain Lion

    Hi I have tried to upload iPhoto book several times but the upload failed.  I have tried rebooting my iMac in Safe Mode but this results in iPhoto closing when I try to buy my book.  I have uploaded books in the past using Snow Leopard with no issues

  • FD10N and Sp GL Transactions

    Hi Does FD10N triggers special GL transactions also? Thanks Sanjay

  • IDES ECC 6.00 WEBDYNPRO with ABAP-

    Hi , I have Install IDES ECC 6.00 on my own Desktop for personal use. Now i want to go for WEBDYNPRO with ABAP. So please let me know need to install any other s/w or tools? Wait for prompt Reply.