Print report in excel report without modifying the layout

Offcourse we can print or view report in excel format by setting parameter desformat=delimited.But the o/p generated is not in proper format , with bolierplates repeating ???.And the o/p is more worse in case of complex report.Is there anyway to have proper excel o/p without modifying the layout

See the responses to the separate thread
"Send data to excel". The quick answer is
"no", but there are ways to get pretty
Excel outputs. Not from Reports, though,
as best I can tell.
-- Allan Plumb

Similar Messages

  • Linking to an OBIEE report without showing the user and password

    Hi!
    we are trying to access to an obiee report from an external portal (coded with php).
    The idea is that the user clicks on a link an gets the report in pdf format. For that purpose we are using this url:
    http://ttivobiee01:7001/analytics/saw.dll?Go&Path=/shared/Prueba/ogp_obi&Action=Print&P0=1&P1=eq&P2="Criteria"."Key"&P3=1402&NQuser=user&NQPassword=pass&format=pdf
    But this url is expossing OBIEE's user and password.
    In order to avoid this security issue we tried to do an wget of the url but it doesn't return the report. Instead we get an html, which seams to download the report chunk by chunk (using javaScript).
    The question is, is there any way that we could let our portal ussers access to an obbie report without expossing the user and password?
    I have been looking into oracle forums and have found this: OBIEE Go URL with password protected
    but we couldn't use this aproach due to security issues.
    Thanks!
    Nuria

    Hi!
    We have finally done this (and it works!)
    <?php
    $urlInforme='http://obi:7001/analytics/saw.dll?Go&Path=/shared/Prueba/ogp_obi&Action=Print&P0=1&P1=eq&P2="Criterios"."Clave oficial"&P3=1402&NQuser=user&NQPassword=pass&format=pdf';
    $ch = curl_init($urlInforme);
    $ckfile = tempnam ("./", "CURLCOOKIE");
    $ch = curl_init ($urlInforme);
    curl_setopt ($ch, CURLOPT_COOKIEJAR, $ckfile);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    $output = curl_exec ($ch);
    $ch = curl_init ($urlInforme);
    curl_setopt ($ch, CURLOPT_COOKIEFILE, $ckfile);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    $fp = fopen("salida.pdf", "w");
    curl_setopt($ch, CURLOPT_FILE, $fp);
    $output = curl_exec ($ch);
    curl_close($ch);
    fclose($fp);

  • Alv -change the output without modify the code

    hi...............
    how can we  change the alv output without modifying the code .
    plz help me.

    hi satya vani ,
    use this code..after execution choose the button(ctrl+f8) then you can give the position and length of the output field..
    then it will automatically changed...
    report .
    TABLES:LFA1.
    SELECT-OPTIONS:LIFNR FOR LFA1-LIFNR.
    DATA:BEGIN OF ITAB OCCURS 0,
    LIFNR LIKE LFA1-LIFNR,
    NAME1 LIKE LFA1-NAME1,
    LAND1 LIKE LFA1-LAND1,
    ORT01 LIKE LFA1-ORT01,
    REGIO LIKE LFA1-REGIO,
    SORTL LIKE LFA1-SORTL,
    CFIELD(4) TYPE C,
    END OF ITAB.
    DATA:LINE TYPE I.
    SELECT * FROM LFA1 INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE LIFNR
    IN LIFNR.
    DESCRIBE TABLE ITAB LINES LINE.
    LOOP AT ITAB.
    IF SY-TABIX = LINE.
    ITAB-CFIELD = 'C410'.
    MODIFY ITAB.
    ENDIF.
    ENDLOOP.
    TYPE-POOLS:SLIS.
    DATA:FCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA:LAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA:SORT TYPE slis_t_sortinfo_alv WITH HEADER LINE.
    LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
    LAYOUT-WINDOW_TITLEBAR = 'VENDORS DETAILS SCREEN'.
    LAYOUT-EDIT = 'X'.
    LAYOUT-info_fieldname = 'CFIELD'.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    I_PROGRAM_NAME = SY-REPID
    I_INTERNAL_TABNAME = 'ITAB'
    I_INCLNAME = SY-REPID
    CHANGING
    CT_FIELDCAT = FCAT.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = SY-REPID
    IS_LAYOUT = LAYOUT
    IT_FIELDCAT = FCAT
    TABLES
    T_OUTTAB = ITAB.
    regards,
    venkat.

  • Debugging a smartform without modifying the code ?

    Hi all, please forgive my noobyness but it's the first time I'm working on smartforms...
    Basically; I have a smartform that prints out a pdf showing all the entries of a purchase order, but there's a thing that I have to correct... The price amount for position is not correct, because it doesn't contains an extra amount, let's call this quantity "limit", that is a specific property of each row in the order.
    Problem: I'm not that good to find in the code the exact point in which the price for a row is calculated, or better.... I thought I found it, did a little correction but without success.
    I'd like to debug exactly the pieces of code that are in the smartform, how to do it without modifying the code ? I've read something about hardcoding a break-point but I won't insert new code because I'm working on a pre-production machine and porting a CR is not as easy. Is there any way to debug without doing a mod on the code? Thanks in advance.

    Hi Matteo,
    it's quite simple.
    Found the Fm name of the SMARTFORM (Menu Utilities-> F.M. Name) (Something like
    /1BCDWB/SF00000015).
    Then go in SE37 transaction and put the FM founded and then display it.
    Go in the main info of the FM (tab. Propierties) and the double click on the main program.
    Then double click on the include that ends with *F01. There you will find all the code of your SF. Then you can put a breakpoint the piece of code that you want.
    This should be works.
    Let us know
    Bye
    Andrea

  • How to export the text edit data to excel file without splitting the data in excel file?

    how to export the text edit data to excel file without splitting the data in excel file?
    I have a requirement in SAP HR where in the appraiser can add comments in the area given and can export that to excel file. Currently the file is getting exported but the comments getting split into deifferent rows.
    I want the entire comment to be fit in one row.
    Please help.
    Thank you

    Hi,
    if your text edit value is stored in 'lv_string' variable.
    then before exporting the value to excel you have to remove CL_ABAP_CHAR_UTILITIES=>NEWLINE
    that is '#' from the variable lv_string.
    for that use code some thing like this.
    REPLACE ALL OCCURRENCES OF CL_ABAP_CHAR_UTILITIES=>NEWLINE in lv_string WITH space.
    I think this will do the trick.

  • How to change the width for adf shuttle without modify the skin file

    Dear Professionals
    I haven an ADF Shuttle component in my jsp screen , How can i change the width for the two boxes without modify the skin files.(I know i can do that by skin but what i want to change one shuttle just in one screen not change all shuttles on other screens).
    Regards
    Wish79

    Okay, I didnt try with the trinidad selectmanyshuttle, but this worked for me on the af:selectmanyshuttle..
            <af:selectManyShuttle label="Label 1" styleClass="mycustcss">
              <af:selectItem label="Label1" value="value1"/>
              <af:selectItem label="Label2" value="value2"/>
            </af:selectManyShuttle>
            <af:selectManyShuttle label="Label 1">
              <af:selectItem label="Label1" value="value1"/>
              <af:selectItem label="Label2" value="value2"/>
            </af:selectManyShuttle>        And in my css file, I have
    af|selectManyShuttle.mycustcss::content { width: 800.0px;}
    The first selectManyShuttle came up very wide and the second one came up in the default width..
    Julian.

  • I did a presentation with many images and animations, now I need to change only the images without modify the related animations. How can I do it?

    I did a presentation with many images and animations, now I need to change only the images without modify the related animations. How can I do it?
    I use Keynote 09

    Select the image you want to change and go to Format Menu>Advanced>Define as Media Placeholder (or command, option, control i).

  • How to write a Web service Handler without modifying the Web service code

    Hi,
    How can I write a SOAPHandler without modifying the Web service code. I want to add a generic handler which will take care of SOAPHeader for all the webmethods. To add a handler is it necessary to modify the web service code?

    You will find answer in [implementing_handlers_using_jaxws_2|http://blogs.sun.com/sdimilla/entry/implementing_handlers_using_jaxws_2]

  • How to update view  without modifying the base table ?

    Hi Experts , I need help in two qurstions
    1. How to update a view without modifying the base table ?
    2. How to write a file unix operating system in pl/sql ? is there any built in procedure is there ?
    Thank you

    Hi,
    I'm not sure what you're asking in either question. It would help if you gave a specific example of what you want to do.
    SowmyRaj wrote:
    Hi Experts , I need help in two qurstions
    1. How to update a view without modifying the base table ?You can't.
    Views don't contain any data; they just query base tables.
    You can change the definition of a view (CREATE OR REPLACE VIEW ...) so that it appears that the base table(s) have changed; that won't change the base tables.
    2. How to write a file unix operating system in pl/sql ? is there any built in procedure is there ?The package utl_file has routines for working with files.

  • Is it possible to store text in a table(colom) without losing the layout

    hello,
    I have a question and the question is:
    Is it possible to store text in a table(colom) without losing the layout?
    For the people who don't know what i presicly mean i will explain my question:
    Think of a memo field, i write a memo with bij example word or an internal editor of oracle, and if i wan't to store it in a colom with out losing the layout wich datatype for the colom should i use(if this is posibble).
    So when i whant to review the memo it has the same layout as when i wrote the memo.
    I hope someone can help me,
    thanks by regards,
    Menno

    Is your text field ("memo field") containing only text
    (ie of type VARCHAR2 or CLOB) ?
    If so, it should preserve your line returns and spaces.

  • Modifying the layout of a standard SAP WD view

    Hi,
    I need to modify the layout of a SAP std. WD app. view. We need to re-group few fields that are already available on the screen. So this is not necessarily an enhancement, but just a modification of the layout. Does anyone have any idea how to do this?
    The only way I can think of it is by using 'Remove Element' technique in WD enhancements . Any suggestions ?
    Thx.

    >
    Harmeet Singh wrote:
    > And I also wonder if SAP gave the capability to 'remove' the UI elements, they could have somehow given an option to change the layout as well.
    The future of this sort of activity (layout rearrangement) is actually not in the Enhancement Framework.  The goal is to increasingly use Floorplan Manager and Generic UI Building Blocks. This makes the UI layout much more customizable by storing as part of the FPM configuration instead of part of the development object. Of course Freestyle WDA components will always be necessary and the Enhancement Framework will remain for those options, but GUIBB will be used wherever possible for increased freedom.

  • Report without saving the records

    Hello all of you,
    i have a master detail block,, and i want to take a print from oracle report 6i without saving the record,, i just enter the record in the text boxes and then press the report button to generate the report
    i am using oracle forms and report 6i with oracle 9i database
    thanks in advance

    Hi i put the code for testing for one block and its not inserting the records and mainly its a non database block and i want to insert only the selected check box' record.I tried following code but its not inserting
    DECLARE
    Num_Tot NUMBER;
    Num_Loop NUMBER;
    BEGIN
    GO_BLOCK('FLX');
    LAST_RECORD;
    Num_Tot := TO_NUMBER(NAME_IN('SYSTEM.CURSOR_RECORD'));
    FIRST_RECORD;
    FOR Num_Loop IN 1..Num_Tot LOOP
    IF :TR.CHK = 1 THEN -- 1 is the value when checked.
    INSERT INTO REC_HIST
    values(:TR.RN_DT,:TR.AC,:TR.Amt,sysdate);
    commit;
    IF :SYSTEM.LAST_RECORD = 'TRUE' THEN
    EXIT;
    END IF;
    end if;
    NEXT_RECORD;
    END LOOP;
    end;
    rgds
    sandya
    Edited by: user10642220 on May 25, 2009 11:56 PM

  • Auto-print report without cutting off results

    My requirement:
    - print a report automatically at the end of each UUT's test
    My problem:
    - The report prints, but
    -- some of the contents are cut off (especially long strings in indented tables)
    -- the page breaks sometimes cut tables in bad places
    So far I have found no way to automatically print the report in landscape mode, which would help greatly. But even better would be the ability to:
    - disable indenting tables
    - print tables in their entirety on one page
    - reformat strings so they fit, and/or control the width of the tables
    Any ideas?

    Are you using the NI example for auto-printing? That example converts the report to a temp html file and sends it to the default printer. If you're using that you could change settings for the default printer to be in landscape mode which would resolve your fundamental issue without having to write a ton of code to change table properties of the report.
    CTA, CLA, MTFBWY

  • How having a where-clause in a report without affecting the actions button

    Hi,
    let's suppose I have a simple report built on a table where I have a date field.
    If I want the report to get the records of the table when you login ao as to have only those of the current month, I could modify the region source in the page rendering of the report in this way:
    select
    “COLUMN1"
    "COLUMN2",
    "COLUMN3"
    from   "MYTABLE"
    where to_char(COLUMN2,'mm-yyyy') = to_char(trunc(sysdate),'mm-yyyy')
    order by COLUMN2
    The problem is that if I try to choose another range of date on the application by using the filter of the Actions button, I get no records and I suppose that is 'cause the report applies the filter to the query where I have
    where to_char(COLUMN2,'mm-yyyy') = to_char(trunc(sysdate),'mm-yyyy')
    and so I doesn't work.
    How should I do?
    Thanks!

    try this...
    select  
    “COLUMN1" 
    "to_char(COLUMN2,'mm-yyyy') ", 
    "COLUMN3" 
    from   "MYTABLE"  
    where COLUMN2 between to_char(COLUMN2,'mm-yyyy') and  to_char(trunc(sysdate),'mm-yyyy') 
    order by COLUMN2

  • Receiving an error in Print Report.vi in the Text Report Example.vi

    I am trying to run the "Text Report Example.vi" example under Windows XP Professional, MS Office 2003 and LV 6.1 and I get an error in the "Print Report.vi" saying that there is an unknown error (-2147452567). I have searched through the Knowledgebase and found a couple of things to try but none of them worked (namely this solution). Is there a known problem with Office 2003 and LabVIEW 6.1? I can run the same example on another computer that is running the same setup except that it has MS Office 2002 SP3 and it prints properly.

    There are several reasons why you could get this error. There was a problem with a DLL change that caused either an invoke node or a property node (sorry, I don't remember which) to need to be replaced or relinked. I think that this is the problem that you linked to.
    The other potential problem is that you could be calling a font that you have on one of the computers but not on the other.
    I hope that this helps,
    Bob Young
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

Maybe you are looking for