Show report in excel file

hi all
please, i want to show the report output in excel file using web.show_document procedure
thank you

this work well but,
the excel file show not well
it display the header of the columns and its values all in the same line for every reord
cell1 cell2 cell3 cell4
header11 header21 value11 value21
header12 header22 value12 value22
but i want the following
cell1 cell2
header11 header12
value1 value2
value12 value22
i want the header displayed only one time for all records and records seem as it is tabular like the report displayed in report builder

Similar Messages

  • Export Report to Excel File & query design??? Urgent

    Hi all,
    1) It seems that I cannot use any BEx tools/function afer I export query report to excel file, such as refresh query report,...etc. If I am wrong, please let me know.
    2) I have about 18 free CHARs in my report as my clien request (all variables are optional), now I only can run the query in the specific period, otherwise the report will show error and cannot run it. Why? is there any way I can fix it?
    Thanks.
    J.

    Hi Prvaeen,
    That is what i see in my excel file after exported.
    Here is the error I got from web report:
    The URL http://sdcbwqa03.amcc.com:8100/sap/bw/BEx was not called due to an error.
    Note
    The following error text was processed in the system BWQ : Invalid dynamic line component.
    The error occurred on the application server sdcbwqa03_BWQ_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Form: COPY_SETXX_LINE of program CL_RSR_REQUEST================CP
    Form: GET_DATA_CELLS of program CL_RSR_REQUEST================CP
    Form: COMPUTE_NOP of program CL_RSR_LIST_CALCULATION=======CP
    Form: COMPUTE_ORDER of program CL_RSR_LIST_CALCULATION=======CP
    Form: COMPUTE of program CL_RSR_LIST_CALCULATION=======CP
    Form: REQUEST_DATA of program CL_RSR_REQUEST================CP
    Form: READ_DATA_INTERNAL of program CL_RSR_REQUEST================CP
    Form: READ_DATA of program CL_RSR_REQUEST================CP
    Form: READ_DATA of program CL_RSR_WWW_VIEW===============CP
    Form: RENDER of program CL_RSR_WWW_ITEM===============CP
    Thanks.
    J.

  • Extract the report into excel file

    how to extract the report into excel file?
    which function module i have to use ?

    Hi Pavan,
    If you want to download the displayed list in the Excel file,then at the time when the list is displayed on the screen, you can go to System option on the menu bar,from there go to List and then Save.You will get a pop up which shows you all the formats of download available.Select the one you want to and mention the target path of the file on the Presentation server.
    Secondly,you can use the T-codes "CG3Y" to download the data from the Application Server to the Presentation Server and T-code "CG3Z" for vice-versa.
    Or else you can use any of the FMs to first download the ABAP list to the ASCII or the BIN format and then convert it to excel using the FM "SAP_CONVERT_TO_XLS_FORMAT" or "TEXT_CONVERT_XLS_TO_SAP
    I hope I have tried to answer your query.
    In case of any further queries,please let know.
    Regards,
    Puneet Jhari.

  • Unable to export report to excel file from SAP

      Hi all,
    I have a problem to download data from a report. The XL gets downloaded in a different format than my colleague.
    We are using the same XL version but two weeks back the SAP GUI 730 got reinstalled to my machine and since then the problem
    started.
    Can you please confirm is there is any particular user settings for this?
    I have login in any different working ( SAP Export ) machine with my login ID and Password and try to export the report to excel file from SAP, and I have same issue . Same we have requested another user to login in my machine with their ID and Password and check the same, They have tried and its working for then in my machine.
    see screenshots attached.
    Thanks.

    Execute report>
    Right click anywhere in the report output and select Spreadsheet.
    A pop up box will appear, select which export option you would like to use and click green check.
    NOTE: If you don't see this option then goto Settings>Switch List then try above said.
    Thanks,
    Kumar

  • Steps to save a Query/Report as Excel file in Share folder

    Hi,
    I have a requirement where i need to schedule a BI report automatically on a daily basis and save it in a Sharepoint folder as a excel file.  I have gone through the Forums but didnt get a clear idea on how to proceed this with.  I read about RSCRM_BAPI transaction but i hope we need to do this manually to save the file each time.  Also, in Broadcaster there are options only to send Email & save in Portal. 
    So, if anybody have idea on saving a Query/Report as excel file in a Share folder automatically, kindly help me in suggesting the steps to do this activity.
    Regards,
    Murali

    Hi
    1. Create Three Floders in AL11 i.e. in Apllication Server. Eg Name it F1, F2 and F3.
    2. First dump the .csv files into F1. (Name xyz.csv).
    3. Then using UNIX/WINDOWS (depends on your OS) script , first check the file is there are not in F1, if yes then rename the file with date and time or date and transfer the files from F1 to F2 i.e xyz06032010.csv.
    4. Then Create a small ABAP program to check the file in F2, if it is there then Trigger the Event, and using that event you execute teh PC.
    5. Then using UNIX/WINDOWS (depends on your OS) script , transfer the files from F2 to F3 i.e xyz06032010.csv
    6. Next day morning F1 and F2 are empty and F3 is having the backup files.
    So use this method, I used the similar logic and it is working fine.
    Timinings are importent i.e what time you need to dump the fule in F1 and what time you need to run UNIX/WINDOWS (depends on your OS) script , transfer the files from F1 to F2 and what time UNIX/WINDOWS (depends on your OS) script , transfer the files from F2 to F3.
    OR
    1. Create Two Floders in AL11 i.e. in Apllication Server. Eg Name it F1 and F2
    2. First dump the .csv files into F1. (Name xyz.csv)
    3. Then load the data using InfoPackage, through PC.
    4. At the end of the load Attach a simple Program to Move the xyz.csv file from F1 to F2.
    5. So next day the file will come to F1 and the it will load and at the end it will move to F2.
    Else  you can use simple one or two lines of UNIX/WINDOWS (depends on your OS) script to move the file from F1 to F2 , once you load is over.
    While moving the file from F1 to F2 you can append the date at the end of the file and then move to F2, it is use full for future reference.
    See Blogs and Article, similar logic...
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    How to transfer the Data from SAP-System to Non-SAP system without additional Cost/License
    /people/surendrakumarreddy.koduru/blog/2009/03/11/how-to-transfer-the-data-from-sap-system-to-non-sap-system-without-additional-costlicense
    To Check the Files/Reports in Application Server and Trigger Mail Alerts.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/4096bf2d-bcea-2b10-4ab4-e0683830d9b2&overridelayout=true
    Thanks
    Reddy
    Edited by: Surendra Reddy on Mar 12, 2010 6:41 AM

  • Reg: Download report into Excel file

    Hi All,
    While downloading the ALV report into excel file(System -> List -> Save -> Local file) or (List -> Export -> Local file), i cannot download full report in to excel. Even though the report contains just 200 rows(I can able to download about 90 lines).
    Some reports can able to download all the data, even the report is very big. Currently I am blind to solve, anyone can help me to solve this issue.
    Thanks in advance.

    The most elegant way of downloading ALV display data to EXCEL is displaying the excel in the SAP GUI screen itself.  Select "Excel in Place" and then save it from there. Before that you need to let the VB script of SAP know as trusted macro. This is done by opening a blank excel file then go to Tools > options > Security > Macro Security > Trusted Publishers (tab) > (check) Trust access to Visual Basic Project.  This activation is one time activation. Once you do this you can see ALV display exactly like in normal ALV with all the colors fields etc.

  • I want to make my report a excel file

    My Dear:
    I want make my report no display data in Pdf but when I call it make A excel file
    how this??
    I use Developer 10g R2
    thanks
    Edited by: user222 on 18/01/2011 01:40 م

    Hi,
    To get excel output from Oracle Reports without coding, you should please try the Rep2excel tool.
    For more information, please see http://www.lv2000.com/rx/

  • Save alv report as excel file directly from program

    Hello guys,
    I require this in my work.
    I want to save the ALV report tat is to be generated in the filepath that is given in the selection screen (want to save it locally eg: my windows desktop) and in the layout which is also given in the selection screen.
    your comments will be very much appreciated.
    Thanks in Advance,
    Johny

    Hi Johny,
    Actually we have an option to download report output in ALV but it does not download the specified on Selection-screen. For this Create on button for Excell download by setting PF status. and use USER_COMMAND event to trigger when u click on the button and download data to specified path.
    1.
    declare events table like this.
    data :
          i_events  type slis_t_event,
          w_events  like line of i_events.
    2.
    Build events table .
    w_events-name = 'USER_COMMAND' .
    w_events-form = 'USER_COMMAND' .
    append w_events to i_events.
    clear w_events.
    w_events-name = 'PF_STATUS_SET' .
    w_events-form = 'PF_STATUS_SET' .
    append w_events to i_events.
    clear w_events.
    3.
    pass this events table through REUSE_ALV_GRID_DISPLAY.
    4.
    USER_COMMAND and PF_STATUS_SET call back subroutines should be like this in your case. These are nowhere called using PERFORM statement in ur program.
    5.
    PF_STATUS_SET' subroutine should be like this.
    *&      Form  pf_status_set
    form pf_status_set    using extab type slis_t_extab.
    set pf-status 'STATUS1' excluding g_extab.
    "If you write like above Standard status will be gone.
    "For that u have to copy standard status of any ALV program which has standard status.
    "1. goto SE41 tcode. give program SAPLKKBL and status :STANDARD_FULLSCREEN .
    2.Click on the Copy status button below program is ur program and status ur program status.
    3. After that create your own button for Excel downlod.
    endform.                    "pf_status_set
    6.
    USER_COMMAND subroutine should be like this.
    *&      Form  user_command
    form user_command using ucomm like sy-ucomm
                      selfield type slis_selfield.
      case ucomm .
        when 'XLS_DOWN'.
        perform download_to_xls.
      endcase.
    endform.                    "user_command
    Here is the sample program to download data into Excel file with header and Columns..
    Check this program by running.
    *& Report  ZVENKAT_DOWNLOAD_XLS_WITH_HEAD
    REPORT  zvenkat_download_xls_with_head.
    "  Data retrieval related declarations
    TYPES:
         BEGIN OF t_emp_dat,
           pernr TYPE pa0001-pernr,
           persg TYPE pa0001-persg,
           persk TYPE pa0001-persk,
           plans TYPE pa0001-plans,
           stell TYPE pa0001-stell,
         END OF t_emp_dat,
         t_attachment TYPE  solisti1.
    DATA:
         w_emp_data TYPE t_emp_dat,
         w_attachment     TYPE  t_attachment.
    DATA:
         i_emp_data TYPE STANDARD TABLE OF t_emp_dat,
         i_attachment     TYPE STANDARD TABLE OF t_attachment.
    PARAMETERS: p_file TYPE string DEFAULT 'c:\tmp\test.xls'.
    "Start-of-selection.
    START-OF-SELECTION.
      PERFORM get_data.
      PERFORM build_xls_data_and_download.
      "Form  get_data from PA0001
    FORM get_data.
      SELECT pernr
             persg
             persk
             plans
             stell
       FROM pa0001
       INTO CORRESPONDING FIELDS OF TABLE i_emp_data
       UP TO 4 ROWS.
    ENDFORM.                    " get_data
    "Form  build_xls_data_and_download
    FORM build_xls_data_and_download.
      "If you have Unicode check active in program attributes then
      "you will need to declare constants as follows.
      CLASS cl_abap_char_utilities DEFINITION LOAD.
      CONSTANTS:
          con_tab  TYPE c VALUE cl_abap_char_utilities=>horizontal_tab,
          con_cret TYPE c VALUE cl_abap_char_utilities=>cr_lf.
      DATA :l_lines TYPE char10.
      DESCRIBE TABLE i_emp_data LINES l_lines.
      CONCATENATE 'Total no of records:' l_lines
             INTO  w_attachment
    SEPARATED BY  con_tab.
      CONCATENATE con_cret
                  w_attachment
             INTO w_attachment.
      APPEND w_attachment TO i_attachment.
      CLEAR  w_attachment.
      CONCATENATE 'PERNR' 'PERSG' 'PERSK' 'PLANS' 'STELL'
             INTO  w_attachment
    SEPARATED BY  con_tab.
      CONCATENATE con_cret
                  w_attachment
             INTO w_attachment.
      APPEND w_attachment TO i_attachment.
      CLEAR  w_attachment.
      LOOP AT i_emp_data INTO w_emp_data.
        CONCATENATE w_emp_data-pernr
                    w_emp_data-persg
                    w_emp_data-persk
                    w_emp_data-plans
                    w_emp_data-stell
               INTO w_attachment
       SEPARATED BY con_tab.
        CONCATENATE con_cret w_attachment
               INTO w_attachment.
        APPEND w_attachment TO i_attachment.
        CLEAR  w_attachment.
      ENDLOOP.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename              = p_file
          write_field_separator = con_tab
        TABLES
          data_tab              = i_attachment.
      IF sy-subrc  <>  0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    "build_xls_data_and_download
    I hope that it helps u .
    Regards,
    Venkat.O

  • Showing report in Excel

    I'm having trouble trying to show the output for a report in excel. I used the example located at "http://www.oracle.com/technology/products/reports/htdocs/getstart/demonstrations/excel/index.html" I followed the directions exactly I get an "java.lang.NullPointerException" error. I checked my data and there are no null values being returned. I'm using 10g version of reports, and the example is for 9i, so I don't know if this is the problem. The error shows when I try to view it as a web page.

    Hi,
    In StepNo:44, we are setting the Content-Type of the report. Inaddition to that, just try adding Charset.Like,
    <% @ page contentType="application/vnd.ms-excel charset=UTF-8" %>
    This will work.
    Thanks,
    Vidya Viswanathan,
    Reports Development Team.

  • Saving XL Reports to Excel file problem

    Dear Experts,
    I have generated a report with XL Reporter, and I save it to disk. However, when I open up the Excel file in another PC that does not have SAP Business One and XL Reporter installed.
    The Excel file content was not displayed, all that was shown are the XL Reporter formulae..etc.
    How can I save the Excel file to disk so that I can display the file properly (with report values, not xlreporter formula) in a PC with no XL Reporter installed?
    Warmest Regards,
    Chinho

    Hi
    We had a problem with reports generated in Excel 2003 and being viewed in Excel 2007. There is a file excel.exe.config which needs to be dropped into: \Program Files\Microsoft Office\OFFICE12 on the machines that need to view the spreadsheets.
    I cannot remember where this file came from but it may cure your problem. It must be on the SAP site somewhere.
    Hope this helps.
    Regards
    Stewart Clark

  • How to forbidden to save report in Excel files

    Hi,
    I use Edge BO 3.0.
    In WEB Intelligence report, is it possible to forbiden to users to save data in an excel file ?
    I created an acces level and I denied for Webi report the rules :
    Export the report data
    save as Excel files
    save as CSV files
    I just allow users to save as PDF files.
    I created a group and give this acces level to this group for Web Intelligence application.
    But my users can allways save data in Excel files...
    What's wrong ?
        Thank you
             Michel  (from FRANCE)

    Hi,
    Following solution might help you to resolve the issue.
    In BusinessObjects Enterprise XI, users can save Web Intelligence reports as portable document format (PDF), Excel, comma-separated value (CSV), and other formats to their local computer. It is necessary to restrict this right for a group of users by disabling the Save As option.
    Resolution
    Here are the steps:
    Log on to the Central Management Console as administrator.
    Click Folder > folder containing report > Rights tab > Add/Remove.
    Add the appropriate group. Click OK. The User Folders window appears.
    Click Advanced in the Net Access Column.
    Clear the <group name> will inherit rights from its parent groups option.
    Clear the <folder name> will inherit rights from its parent folders option.
    Expand the Web Intelligence Document section.
    Click the Explicitly Denied option for the right to Export the report"s data.
    Click Apply > OK.
    When the Web Intelligence report is opened, the users will no longer see the Save As option.

  • How to create reports using excel files In OBIEE

    I have data in only one excel file,how to create reports in OBIEE..I need to Prompt aslo in this report .
    I have requirements prompt also , Prompt name :Year, Month ,Day , how to create reports
    Thanks

    Hi,
    Create similar kind of joins which you make after importing physical tables from db.
    There is no difference in making joins in the excel. (both physical and BMM layers).
    But always remember there are many limitations for having excel as database.
    Also refer
    http://obiee-blog.info/bugs-and-issues/obiee-not-supporting-excel/
    Regards,
    MuRam

  • How to show an uploaded excel file in an Iframe

    I like to show an excel file which is stored in the database as an excel application within the HTMLDB application. How can I do this.
    Thanks,
    Fred.

    I have found the solution.
    I have changed the custom table procedure from the howto upload/download application document the following way: (changes are bold)
    CREATE OR REPLACE PROCEDURE download_my_file(p_file in number) AS
            v_mime  VARCHAR2(48);
            v_length  NUMBER;
            v_file_name VARCHAR2(2000);
            Lob_loc  BLOB;
    BEGIN
            SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
                    INTO v_mime,lob_loc,v_file_name,v_length
                    FROM wwv_flow_file_objects$
                    WHERE id = p_file;
                  -- set up HTTP header
                        -- use an NVL around the mime type and
                        -- if it is a null set it to application/octect
                        -- application/octect may launch a download window from windows
                        owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
                    -- set the size so the browser knows how much to download
                    --htp.p('Content-length: ' || v_length);
                    -- the filename will be used by the browser if the users does a save as
                    --htp.p('Content-Disposition: attachment; filename="'||substr(v_file_name,instr(v_file_name,'/')+1)|| '"');
                    -- close the headers
                    owa_util.http_header_close;
                    -- download the BLOB
                    wpg_docload.download_file( Lob_loc );
    end download_my_file;
    /I have changed the table name back to the original one (I have also provided the needed grants) and I have commented out the 2 lines needed to show the open/save dialog.
    When I now call this procedure my excel document is embedded in the browser.
    Fred.

  • Alv report into excel file.

    Hello experts,
    I have alv report , and i want to export this alv to excel file, how can i do this ?
    Thanks for your help.
    Avi.

    Hi Avi,
    U can download to any format by using ctrlshiftF9 or using the button to 'Local File'. Then  apopup appears as:
    In which format should the list
    be saved ?
    And some radio buttons. U select the 'SPreadsheet' option for excel.
    And click enter.Then it will prompt for the Directory and filename for saving.
    Keerthi

  • Downloading report in excel file

    When I download reoprt in excel file then if material no is 0002134 then in the excel file this becomes 2134,
    I am saving file from the Menu System->Save-> Local fiie and then selecting spreadsheet.
    When I save as text file then it is not removing leading zeros, only in excel file it is removing leading zeros.
    I wanted to know that how to download in excel file so that my material no should download as it is .
    Thanks
    APrasad

    Menu System->Save-> Local fiie and then selecting spreadsheet.
    Spreadsheet is not EXCEL. It is a an internal format.
    if you enter xls as extension, then you just tell Microsoft to open this file with excel.
    Excel then automatically coverts it to its own rules.
    When download with Menu System->Save-> Local fiie and then selecting spreadsheet enter the file extension txt
    Then open Excel, use file > open
    find your file and open it, Excel will come up with an import assistant.
    there you can define if the column is to be loaded as numbers or text.

Maybe you are looking for

  • Identified Bug in GRC AC SP 12

    Dear Experts, My client configuration : SAP GRC AC SP 12 When I run the User Sync job there are no violations seen in the Management Report. I have checked the log and it shows that the users are being pulled from the backend system but they are not

  • Issues launching Flashplayer installer file in Windows 8.1

    I am running Windows 8.1 and attempted to download Flashplayer for Firefox.  The Flashplayer installer will not launch.  I only get a gray box, with no action happening. I have Flashplayer working in IE, but it will not launch for Firefox.  Any ideas

  • Using nested tables with User Defıned Types.....

    Hi All, I defined TEST_1 User Defined Type where VALUE_PART field is a VARCHAR2 type. CREATE TYPE TEST_1 AS OBJECT (                x NUMBER,                y NUMBER,      VALUE_PART VARCHAR2(50) This TEST_1 object type will be used as nested tables

  • Standard settings on SA document type

    Hi All, My company has been delivered an "all in one" solution and i believe it has been significantly modified from standard SAP. Can you please identify if the standard settings on the SA document type allow intercompany postings? Many thanks Phil.

  • Problems with revenue's settlement

    Good morning, When I execute a revenue settlement (CJ88) from WBS to asset, the following error appears: The sender has revenues or customer down payments with cost element 112030 (business transaction: CO Through-postings from FI). You cannot settle