Oracle Portal Report - Formatting Excel output

We are using Oracle Portal 10.1.4.1 and we are using the Locally built providers create new report function.
The report data itself is working as expected. You click the report it prompts to open the excel file and it opens.
We are attempting to find a way to better format what is passed to Excel.
When we add header and footer information in the "Additinal PL/SQL" boxes it shows up on the HTML version of the report, but this does not however show up in the excel version. The excel version seems to be pretty much a raw dump of whatever columns and rows you selected.
Is there a way to add a header or footer to what Oracle Portal outputs to excel?
Thanks for the help!

I remember seeing a Bug that formating conditions do not get saved for number and Date fields when sent to excel.
That might be the cause.
Thanx,
Chetan.

Similar Messages

  • In BI Publisher Report of excel output for one column is filled with spaces

    Hello,
    We have issue in BI Publisher report of excel output.
    In Excel output for one column few records are displaying as left alignment
    and few record are displaying as right alignment.
    If you are having any xml tag or any syntax for removing spaces for left side
    Please help on this issue.
    Thanks in Advance.
    Regards,
    Swaraj

    Please post the details of the application release, database version and OS along with BI Publisher.
    Is the issue with all reports or specific one(s) only?
    Do you have the patches in the following docs applied?
    Overview of Available Update Patches for Oracle BI Publisher Enterprise 10g [ID 797057.1]
    Overview of Available Update Patches for Oracle BI Publisher Enterprise 11g [ID 1276869.1]
    Overview of Available Patches for Oracle XML Publisher embedded in the Oracle E-Business Suite [ID 1138602.1]
    BI Publisher 10g RTF Template Changes Alignment Settings for Numbered Lists [ID 1418504.1]
    Thanks,
    Hussein

  • Number stored as text (in jsp report with excel output)

    Hi
    I created a jsp report for excel output. I see that the numbers are left aligned with a green traingle on the top of each cell. Was just wondering how can I resolve this and have my numbers displayed as numbers - right aligned and with no green triangle. Is there some setting I have to make explicitly so that numbers appear as numbers in excel output?
    Thx!

    Hi Sasidar,
    In Excel right click the column select format cells and then select  the format as text which is general by default.
    Regards,
    Anil.

  • Export To Excel Using Oracle Portal Reports

    I am exporting reports to Excel (sylk) using oracle 10g portal application. Example of export link is:
    http://pens12345.xxxx.yyyy.zzz:1234/pls/portal/SCHEMAPTL.TEST_GR.SHOW?p_arg_names=ccc&p_arg_values=%25&p_arg_names=yy&p_arg_values=%25&p_arg_names=cd&p_arg_values=%25&p_arg_names=page_cnt&p_arg_values=10&p_arg_names=page_cnt2&p_arg_values=%25&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=_max_rows&p_arg_values=65534&p_arg_names=_portal_max_rows&p_arg_values=65534&p_arg_names=_format_out&p_arg_values=EXCEL This will export the max rows for excel that are in page 10. During the export and in the dialog box that lets you know the file is being downloaded and exported, I am getting a row of symbols that look like boxes (it might be in binary format). My export works fine and I am able to view ALL the data in excel, but I wonder what those little boxes mean. Can anybody tell me what is causing this. It does not give the appearance of a clean export. Thanks in advance.

    First, apply [SP1|https://smpdl.sap-ag.de/~sapidp/012002523100009351512008E/crbasic2008sp1.exe], see if that helps.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Need formatted EXCEL output, from View Output,Oracle Applications

    To view the report(Normal RDF report,not XML Publisher Report) output in EXCEL, I changed the Profile Options.
    From: System Administrator Responsibility.
    Navigation: Install -> Viewer Options.
    Added the below entry.
    PDF application/vnd.ms-excel Microsoft Excel
    Now when I submit the report, after completing, when clicked to View Output, I can see the list showing Browser and Microsoft Excel.
    I saved the Excel Sheet,but its not formatted. How do I get the formatted Output. As columns are not in proper shape.
    Please do the needful.
    Thanks.

    Hi Abdul;
    Please check below thread's mention metalink note&advice:
    Open Text output of a Report in Excel - Bad format
    Re: Open Text output of a Report in Excel  - Bad format
    Hope it helps
    Regard
    Helios

  • Report VS Excel output using XML Publisher tool (DBMS_XMLGEN)

    Hi All,
    Currently I am working on report generation in MRP module with Excel output using XML Publisher tool.
    XML tool works based on query.
    I have developed PLSQL block by using DBMS_XMLGEN – database package, to generate XML output of query.
    My question is how we can put generated xml on above PLSQL block into OUT file (APPS).
    Because DBMS_OUTPUT.PUT_LINE( ) has limitation, it allow 255 character string only.
    But I do not know, Is FND_FILE.PUT_LINE (FND_FILE.OUTPUT,’’) allow for large data?
    If it does not allow what will be the other solution in oracle application to resolve above problem.
    Let me know any queries regarding to this problem.
    Thanks and Regards,
    Sai Krishna @cavaya.com

    Hi Prakash,
    Thanks for the reply. We did apply the one-off patch and got rid of the problem of not viewing 'Excel' output using XMLP.
    Now we are looking at a different perspective:
    Basically our client is looking for the following:
    1. Mathematical functions in the resulting XLS (like SUM, AVG etc..) ouput
    2. Use of macros if possible.
    And to do this i am looking out for a sample template that gives me output in excel format I have a TAR with Oracle for this purpose, but the TAR has so far been unsuccessful in providing us with any material in the direction.
    Our client remembers seeing this as a demo at the Oracle Conference this yr at San Fransisco, but does not have a sample to provide us. We are looking for such a sample.
    Thx,
    Nitin

  • How to Design Report for Excel output?

    Hello Experts...
    I have both versions Crystal Report XI and Crystal 2013 at this time as we are in the process of Upgrading...
    How to design for excel output with no page size limit.
    I have several fields going across (crossing width of paper size 11X17 landscape) and I do not need this report output to be printed at all only for excel output.
    Appreciate your time!
    Thank you,
    Padma

    Hi Padma,
    You would need to increase the Page Size horizontally. Go to File > Page Setup > Check 'No Printer' > Check 'Dissociate Formatting Page Size and Printer page Size' > Increase the Horizontal value.
    Also see:
    http://scn.sap.com/docs/DOC-6687
    and
    How to WYSIWYG SAP Crystal Reports Export to XLS
    Formatting a Crystal Report for Export to MS Excel
    -Abhilash

  • Oracle rdf report format

    I want a help form you . If you can, please share.
    In a oracle .rdf report, suppose data are arranged in this format, like this
    RED     5
    RED     6
    RED     10
    GREEN     15
    GREEN     2
    BLUE     10
    BLUE     5
    but now, I want the report like this format:-
    RED     5
    ''     6
    ''     10
    GREEN     15
    "     2
    BLUE     10
    "     5
    How can i do this ? I am waiting for your early reply.

    In Data Model, find the group that contains your data.
    In that group:
    1. create a formula column named for example ”CF_set_value_color”
    2. create a placeholder column named for example ”CP_show_value_color” of VARCHAR2
    Outside the group; create a stand alone placeholder named ”CP_last_value_color” of VARCHAR2
    Now, create a PL/SQL procedure for your formula column ”CF_set_value_color:
    ”color” should be replaced with the name of the column that returns RED, GREEN or BLUE..
    function CF_set_value_colorFormula return Number is
    begin
    -- First row
    if :cp_last_value_color is null then
    -- Set values for placeholders
    :cp_last_value_color := :color;
    :cp_show_value_color := :color;
    else
    -- Second row and beyond
    if :cp_last_value_color = :color then
    -- If last color is the same as the current, show "
    :cp_show_value_color := '"';
    else
    -- If last color is NOT the same as this one, show new color
    :cp_last_value_color := :color; -- Set for comparison of next row
    :cp_show_value_color := :color;
    end if;
    end if;
    return 1;
    end;
    For each row the query retrieves, the value of “CP_show_value_color” will be RED, ”, ”, GREEN, ”, BLUE, ”
    Use that column for output instead of ”color” and it should work just fine.
    Morten

  • XML Bursting program was messed up the report format and output, not sure what is causing an issue

    Hi All,
    I need burst the report based on the customer number for some customers and burst based on invoice number for some customers in the same bursting program. I have made the changes accordingly and sending email attachments as expected, but when the output sent for as an attachment for each invoice the report does not printing in full format, its completely ignore one child block. Not sure what was the issue. This is very very urgent please help me out.
    Following is my bursting code:
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
       <xapi:request select="/XXARINVOICE/LIST_G_CUST_HDR/G_CUST_HDR">     
          <xapi:delivery>
             <xapi:email id="123" server="${SMTP_SERVER_NAME}" port="25" from="${XX_EMAIL}" reply-to = "">
            <xapi:message id="123" to="${EXCLUDED_BILL_TO_EMAIL}" attachment="true"
               subject="Confirmation for your Invoice(s)">
    Dear Customer,
    Thank you for placing an order with XX cust.
    Please review the attached invoice(s).
    Regards,
    Customer Service
            </xapi:message>
             </xapi:email>
          </xapi:delivery>     
          <xapi:document output="XX_INVOICE_EMAIL_${CUST_NO}" output-type="pdf" delivery="123">
             <xapi:template type="rtf" location="xdo://xxabc.XXARNONEDIINVOICE.en.00/?getSource=true" filter=".//G_INVOICE_HDR[EXCLUDED_BILL_TO_EMAIL!='N']"/>
          </xapi:document>  
       </xapi:request>
       <xapi:request select="/XXARINVOICE/LIST_G_CUST_HDR/G_CUST_HDR">     
          <xapi:delivery>
             <xapi:email id="123" server="${SMTP_SERVER_NAME}" port="25" from="${XX_EMAIL}" reply-to = "">
            <xapi:message id="123" to="${EXCLUDED_BILL_TO_FAX}" attachment="true"
               subject="Confirmation for your Invoice(s)">
    Dear Customer,
    Thank you for placing an order with XX cust.
    Please review the invoice(s).
    Regards,
    Customer Service          
            </xapi:message>
             </xapi:email>
          </xapi:delivery>     
          <xapi:document output="XX_INVOICE_FAX_${CUST_NO}" output-type="pdf" delivery="123">
             <xapi:template type="rtf" location="xdo://xxabc.XXARNONEDIINVOICE.en.00/?getSource=true" filter=".//G_INVOICE_HDR[EXCLUDED_BILL_TO_FAX!='N']"/>      
          </xapi:document>  
       </xapi:request> 
       <!-- START Sending email for each invoice in CR2197-->
       <xapi:request select="/XXARINVOICE/LIST_G_CUST_HDR/G_CUST_HDR/LIST_G_INVOICE_HDR/G_INVOICE_HDR">     
          <xapi:delivery>
             <xapi:email id="123" server="${SMTP_SERVER_NAME}" port="25" from="${XX_EMAIL}" reply-to = "">
            <xapi:message id="123" to="${BILL_TO_EMAIL}" attachment="true"
               subject="Confirmation for your Invoice ${INVOICE_NO}">
    Dear Customer,
    Thank you for placing an order with XX cust.
    Please review the attached invoice.
    Regards,
    Customer Service
            </xapi:message>
             </xapi:email>
          </xapi:delivery>     
          <xapi:document output="XX_INVOICE_EMAIL_${INVOICE_NO}" output-type="pdf" delivery="123">
             <xapi:template type="rtf" location="xdo://xxabc.XXARNONEDIINVOICE.en.00/?getSource=true" filter=".//G_INVOICE_HDR[BILL_TO_EMAIL!='N']"/>
          </xapi:document>  
       </xapi:request>
       <xapi:request select="/XXARINVOICE/LIST_G_CUST_HDR/G_CUST_HDR/LIST_G_INVOICE_HDR/G_INVOICE_HDR">     
          <xapi:delivery>
             <xapi:email id="123" server="${SMTP_SERVER_NAME}" port="25" from="${XX_EMAIL}" reply-to = "">
            <xapi:message id="123" to="${BILL_TO_FAX}" attachment="true"
               subject="Confirmation for your Invoice ${INVOICE_NO}">
    Dear Customer,
    Thank you for placing an order with XX cust.
    Please review the invoice.
    Regards,
    Customer Service          
            </xapi:message>
             </xapi:email>
          </xapi:delivery>     
          <xapi:document output="XX_INVOICE_FAX_${INVOICE_NO}" output-type="pdf" delivery="123">
             <xapi:template type="rtf" location="xdo://xxabc.XXARNONEDIINVOICE.en.00/?getSource=true" filter=".//G_INVOICE_HDR[BILL_TO_FAX!='N']"/>      
          </xapi:document>  
       </xapi:request>  
       <!-- END Sending email for each invoice in CR2197-->
       <xapi:request select="/XXARINVOICE/LIST_G_CUST_HDR/G_CUST_HDR/LIST_G_INVOICE_HDR/G_INVOICE_HDR">     
          <xapi:delivery>
               <xapi:filesystem output="${OUT_DIR}/INV_${SALES_ORDER}_${ORG_ID}_${INVOICE_NO}_${REQUEST_ID}_${INVOICE_DATE}.pdf">
               </xapi:filesystem>
          </xapi:delivery>     
          <xapi:document output-type="pdf">
             <xapi:template type="rtf" location="xdo://xxabc.XXARNONEDIINVOICE.en.00/?getSource=true" filter=".////XXARINVOICE[P_ATTACH='Y']"/>    
          </xapi:document>  
       </xapi:request>  
    </xapi:requestset>
    Thanks in Advance,
    Jagadish

    Initialize this:
                        String pet = "":>
    error is H:\JAVA\PetAdvice.java:88: variable pet might not have been initialized
                        return pet;Geez, the error tells you the source file and the line # at which the problem occurred, in addition to a lucid description. Why couldn't you figure it out for yourself?
    %

  • Exporting Oracle 10g reports into Excel 2007

    Does anybody knows if there exits compatibility with the export function to Excel 2007?
    Some users will be installing this Excel version and i don't know if the formatting and displaying will be similar as using previous versions. They use the export function available from Discoverer Viewer.
    We have Oracle Discoverer Administrator version 10.1.2.1 and Discoverer Administrator client 10.1.2.48.18.
    Thanks!

    This is an old thread, but I was hoping there might be an update for it. The workaround of exporting to a .csv does work, but we need to be able to export to excel 2007. We have Discoverer Plus 11g and there doesn't seem to be an option to export to 2007's xlsx (just xls). Is there a way to add xlsx an an option to export to?
    I saw the metalink document describing why exel 2003 (& 2007) behaves the way it does, which is fine. If that's the case, I (or my users more specifically) don't want to use it. Truth is, most users balk at extra steps (even a simple one like manually picking .csv), and the happier they are the easier my job is. They need to be able to export to the 2007 xlsx version which supports 1 mil rows per sheet. Can that format be enabled in Plus 11g?
    Thanks
    Edited by: user527082 on Jul 31, 2012 9:17 AM

  • Oracle 10g forms in excel output

    hiiii
    i have oracle forms 10g installed in my pc,,i have just migrated from oracle forms 6i,
    now there were some forms which was producing output in excel worksheet,there are running very fine in 6i forms but i am unable to run that form in forms 10g,,,
    wat changes i required to do now,,,
    plzzzz help
    lovely

    hi
    please follow the following instructions and i hope u will be able to configure webutil.
    How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
    Solution
    Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
    here are steps to get a small test form running, using WebUtil 1.06.
    Note: [OraHome] is used as an alias for your real oDS ORACLE_HOME.
    Feel free to copy this note to a text editor, and do a global find/replace on
    [OraHome] with your actual value (no trailing slash). Then it is easy to
    copy/paste actual commands to be executed from the note copy.
    1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
    and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
    2) Copy or move jacob.jar and jacob.dll
    [JacobStage] is the folder where you extracted Jacob, and will end in ...\jacob_18
    cd [JacobStage]
    copy jacob.jar [OraHome]\forms\java\.
    copy jacob.dll [OraHome]\forms\webutil\.
    The Jacob staging area is no longer needed, and may be deleted.
    3) Sign frmwebutil.jar and jacob.jar
    Open a DOS command prompt.
    Add [OraHome]\jdk\bin to the PATH:
    set PATH=[OraHome]\jdk\bin;%PATH%
    Sign the files, and check the output for success:
    [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\frmwebutil.jar
    [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\jacob.jar
    4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
    you may skip this step. Otherwise,
    Create a schema to hold the WebUtil stored code, and privileges needed to
    connect and create a stored package. Schema name "WEBUTIL" is recommended
    for no reason other than consistency over the user base.
    Open [OraHome]\forms\create_webutil_db.sql in a text editor, and delete or comment
    out the EXIT statement, to be able to see whether the objects were created witout
    errors.
    Start SQL*Plus as SYSTEM, and issue:
    CREATE USER webutil IDENTIFIED BY [password]
    DEFAULT TABLESPACE users
    TEMPORARY TABLESPACE temp;
    GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
    CONNECT webutil/[password]@[connectstring]
    @[OraHome]\forms\create_webutil_db.sql
    -- Inspect SQL*Plus output for errors, and then
    CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
    Reconnect as SYSTEM, and issue:
    grant execute on webutil_db to public;
    5) Modify [OraHome]\forms\server\default.env, and append [OraHome]\jdk\jre\lib\rt.jar
    to the CLASSPATH entry.
    6) Start the OC4J instance
    7) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
    Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
    It is important to generate the PLX, to avoid the FRM-40039 discussed in
    Note 303682.1
    If the PLX is not generated, the Webutil.pll library would have to be attached with
    full path information to all forms wishing to use WebUtil. This is NOT recommended.
    8) Create a new FMB.
    Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
    There is no need to Subclass the WebutilConfig object.
    Attach the Webutil.pll Library, and remove the path.
    Add an ON-LOGON trigger with the code
    NULL;
    to avoid having to connect to an RDBMS (optional).
    Create a new button on a new canvas, with the code
    show_webutil_information (TRUE);
    in a WHEN-BUTTON-PRESSED trigger.
    Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
    the "Application Server URL" is empty.
    Then append "?config=webutil" at the end, so you end up with a URL of the form
    http://server:port/forms/frmservlet?config=webutil
    10) Run your form.sarah

  • Report- formatting of output list. -urgent

    Hi experts,
    i have done report in where i hv to display more than 20 fiedls to display. I report output list is around 300 chacertes when i am prinint the report it is printing only  132 chac per page. Remaring 168 is not printing. How can i do this one. How to print total ouput in page. The max size of print page is 132 chac .
    its and urgent requiremnt to me.
    <b>useful answers surely awarded with points</b>
    regards,
    sunil kumar.

    Hi ,
    At start of the report program add LINE SIZE which will be required for your display examople
    REPORT ztest_rep NO STANDARD PAGE HEADING
                                          LINE-SIZE 1023 .
    Above id the "ztest_rep program and line size will define the number of the characters that will be output as in this case it will be 1023 char...
    Reward points if usefull....
    Message was edited by:
            SOURABH MALHOTRA

  • XML Report with EXCEL output errors out intermittently

    Hi Gurus,
    We have a custom XML report running for a particular user for whom it is failing intermittently.
    The program does not return any error in log file.
    I also checked the OPP log file but coud not find any issues / errors.
    But Standard manager log file has the below error when the request fails :
    Process monitor session started : 14-SEP-2012 10:25:30*
    Found running request 2823013 attached to dead manager process.*
    Setting request status to completed.*
    fdugpi has recovered SRW driver value*
    Found dead process: spid=(3076), cpid=(236068), ORA pid=(65), manager=(0/0)*
    Starting STANDARD Concurrent Manager               : 14-SEP-2012 10:25:31*
    Process monitor session ended : 14-SEP-2012 10:25:31*
    Please help me out to figure out what is the issue here. Also the standard manager process has died and got restarted.
    We are on 12.1.3 application version with 11gR1 database
    Regards,
    Ram

    You can use BI publisher for your requirement -
    Create a Concurrent program which is based on the executable 'XDODTEXE'
    The Short_Name of the concurrent program should be the same as the data_definition short_name from Xml Publisher responsibility.
    You can go through the link provided by Alex for creating the UI Template and the data template.
    Cheers,
    VB

  • Oracle portal reports

    I created reports with parameters through the wizard and when I am running this report, I want to show page number on a top of report, starting from first page and after user click next,previous button, show page number at the top of page. May be some api? that i do not know?
    Thanks,

    Add the following code in the PL/SQL section
    "... after displaying the header."
    if p_request is null then
    htp.p('Page 1');
    elsif p_request = 'NEXT' then
    htp.p('Page'&#0124; &#0124;(1 + get_value('_page_number')));
    elsif p_request='PREVIOUS' then
    htp.p('Page '&#0124; &#0124;(get_value('_page_number')-1));
    end if;
    htp.br;

  • Formatting report in excel format

    Hi,
    I have to generate report in excel format but I don't know how to format it for example to add a dynamic title, and to add a logo in the top of the excel sheet...
    any help..
    thanks in advance.

    Hi,
    Oracle Portal Reports generated do not pick up the foramting conditions which you would see in HTML/ASCII format .Hence ,TITLE ,FOOTER or number ,date formats wouldn't work in Excel format .Incase you needed formatted output ,you can use HTML/ASCII foramt.
    Incase you want to use the EXCEL format.Save the Excel file and right macros to do so.
    Thanks,
    Anu

Maybe you are looking for