Downloading displayed output

we are having a zreport.
i am not having problem in the program.
everything is fine.once the output is
generated we will download the displayed output ( ie first
the user will see the output in the screen then if he want
he will download with the help of menu option given by sap)
into spreadsheet or html format or
richtext format etc , by clicking the option list->save list in file->spreedshet.
this we can see in foreground.
but once we execute the report in background how can we download the displayed report output into
excel.

Hi,
When ever we run a report in back ground the output will be stored in spool. So download data from spool.
Check transactions SP01/SP02 to get the spools or system variable sy-spono.
Open ur spool number in SP01, Click on the icon(Page like thing), Here u will see ur output. Now from the standard SAP functionality as we have in foreground can be used to download.
Thanks,
Vinod.
Edited by: Vinod Reddy Vemuru on Jul 10, 2008 3:06 PM

Similar Messages

  • How to Download displayed output to Excel Using Bsp Application

    Hi Experts,
    please give me some idea because I am New In BSP.
    How to Download displayed output to Excel Using Bsp Application.
    If any sample code please do send me.
    In my condition I am getting data in  2-3 table view formats on one page and i want download that in Excel.
    please help me.
    Regards & Thanks,
    Yogesh

    Hi,
    This is more a question for the BSP forum.
    Anyway, as such it's realy easy since you can use HTML in order to import to Excel. All you need to do is add
    runtime->server->response->set_header_field( name = 'Contnet-Type'
    value = 'application/vnd.ms-excel' ).
    runtime->server->response->delete_header_field( name = 'Cache-Control' ).
    runtime->server->response->delete_header_field( name = 'Expires' ).
    runtime->server->response->delete_header_field( name = 'Pragma' ).
    Also check threads like
    Download BSP data into Excel
    export bsp-table to excel
    Export BSP Table to Excel
    Eddy
    PS. Reward useful answers and earn points yourself

  • Download ALV output to excel with formatting

    Hi All,
    i want to download ALV output to excel sheet and the uneditable fields in ALV oputput should be locked (uneditable) in excel also.
    Can you please tell me approach to achieve this functionality?
    Thanks in advance.

    Thanks Vamsi. Your Suggestion was helpful.
    I have used excel integration and used SET PROPERTY OF (COLUMN) 'LOCKED' = 1.
    For more details refer below mentioned link.
    http://webcache.googleusercontent.com/search?q=cache:SoY6hFC17PoJ:wiki.sdn.sap.com/wiki/display/Snippets/Download%2BData%2Binto%2BMultiple%2BSheet%2BExcel%2BDocument%2Bwith%2BNon%2BEditable%2BColumns%2B(Password%2Bprotected)%2BUsing%2BABAP%2BOLESetPropertynoteditableexcelsapABAP&cd=1&hl=en&ct=clnk&gl=in&source=www.google.co.in (http://webcache.googleusercontent.com/search?q=cache:SoY6hFC17PoJ:wiki.sdn.sap.com/wiki/display/Snippets/Download%2BData%2Binto%2BMultiple%2BSheet%2BExcel%2BDocument%2Bwith%2BNon%2BEditable%2BColumns%2B%28Password%2Bprotected%29%2BUsing%2BABAP%2BOLESetPropertynoteditableexcelsapABAP&cd=1&hl=en&ct=clnk&gl=in&source=www.google.co.in

  • How to download the output of two reports in WebTemplate into excel sheet?

    How to download the output of webtemplate which consists of two reports in one  Web Template into same Excel sheet?

    hi sunil,
    here is the HTML code for 'export to excel'
    <!-- Display Export Excel--->
    <td class="SAPBEXNavLine"> <SAP_BW_TEXT program="SAPLRRSV" key="T72">" src="Mime/BEx/Icons/S_X_XLS.gif" border=0 ></td>
    you can also use BEx download scheduler to download the precalculated webtemplate report to excel sheet.
    Check the link below.
    https://websmp104.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000401962004E
    i think this will help u
    regards,
    sindhu.

  • Problem in downloading ALV output in excel

    Dear Abapers,
                           I am facing a problem while downloading alv output in spreadsheet. Report headers and data headings are coming in excle but contents are missing instead of that No Data is displaying on excel sheet. I have debug that and observed the deep structure name T_OUTTAB using by the FM ALV_DATA_EXPORT is empty, It should contain the contents of my output data.
    Below I am giving my code. 
    ***********************************************declaration****************
          BEGIN OF d_file_out,
            index           TYPE i,                      "Index no
            msg             TYPE string,              "Message
            msgtyp(1)       TYPE c,                 "Message type
           END OF d_file_out,
    DATA:t_file_out       TYPE TABLE OF d_file_out.
    DATA:wa_file_out          TYPE d_file_out.
    Display Error Logs
    PERFORM display_logs USING text-006.
    FORM display_logs USING p_text TYPE string.
      CONSTANTS:  c_count    TYPE char5 VALUE 'INDEX',
                  c_mestyp   TYPE char6 VALUE 'MSG',
                  c_message  TYPE char7 VALUE 'MSGTYP'.
    *Field catalog
      PERFORM: z_field_catalog USING c_count   text-010,  "Record number
               z_field_catalog USING c_mestyp  text-011,  "Message type
               z_field_catalog USING c_message text-012.  "Message
    *Top of page event
      PERFORM z_event USING t_events.
    wa_layout-colwidth_optimize = c_x.
    ALV grid.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
         i_buffer_active          = 'X'
           i_callback_program = sy-repid
         is_layout          = wa_layout
         I_STRUCTURE_NAME   = wa_file_out
          it_fieldcat        = t_field
          it_events          = t_events
        TABLES
          t_outtab           = t_file_out
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ***********************************Fieldcatalog**********************************************
    FORM z_field_catalog USING p_field TYPE any
                                                p_name  TYPE any.
      wa_field-fieldname = p_field.
      wa_field-seltext_l = p_name.
      IF p_field = 'INDEX'.
        wa_field-outputlen = '14'.
        wa_field-col_pos = 1.
      ELSEIF p_field = 'MSG'.
        wa_field-outputlen = '120'.
        wa_field-col_pos = 2.
      ELSEIF p_field = 'MSGTYP'.
        wa_field-outputlen = '08'.
        wa_field-col_pos = 3.
      ENDIF.
      APPEND wa_field TO t_field.
      CLEAR wa_field.
    ENDFORM. 
    Here I have given my code, which contain the building of field catalog and Calling ALV Grid. I have already checked the excel micros settings. Other programs are working fine on my system and downloading in excel is also working.
    Hope to get reply soon.
    Regards,
    Himanshu

    Hi ,
    use this to down load to xcel
    v_file = lv_file.
      DATA:  BEGIN OF s_head OCCURS 0,
             head(40) TYPE c ,
             END OF s_head.
      s_head-head = text-015."'Sales price'.   * for header
      APPEND s_head.
      s_head-head = text-016."'Purchase price'.   * for header
      APPEND s_head.
      s_head-head = text-017."'Listing Procedure'.   * for header
      APPEND s_head.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                        = v_file
         filetype                        = 'ASC'
         write_field_separator           = '#'
        TABLES
          data_tab                        = it_output1[]
          fieldnames                      = s_head[]
       EXCEPTIONS
         file_write_error                = 1
         no_batch                        = 2
         gui_refuse_filetransfer         = 3
         invalid_type                    = 4
         no_authority                    = 5
         unknown_error                   = 6
         header_not_allowed              = 7
         separator_not_allowed           = 8
         filesize_not_allowed            = 9
         header_too_long                 = 10
         dp_error_create                 = 11
         dp_error_send                   = 12
         dp_error_write                  = 13
         unknown_dp_error                = 14
         access_denied                   = 15
         dp_out_of_memory                = 16
         disk_full                       = 17
         dp_timeout                      = 18
         file_not_found                  = 19
         dataprovider_exception          = 20
         control_flush_error             = 21
         OTHERS                          = 22
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.

  • Turn off external display output?

    I've bought a nice big LCD TV mainly for consoles. Because I have it next to my iMac i've also connected that to the TV using a mini-dvi adapter and a dvi-hdmi cable.
    It works great but I only want to use it for playing downloaded video and the like on the big tv.
    When I'm not using it I want my iMac to free up the resources it must be using to achieve screen spanning but I cannot figure out a way to tell the iMac to disable external display output.
    I've tried display mirroring figuring that it won't be eating up video RAM, but it causes page tearing on my mac when dragging windows around for example.
    Even when the TV is unplugged from the mains the mac seems to be outputting to the dvi out, the only way to stop it is the yank the mini-dvi connecter from the back.
    Are there any hacks or utilities that can manually turn dvi support on and off?

    Hello Mark
    I'm using a 27" flat screen TV, mini DVI and 12' S-Video cable.
    Mostly I watch DVD movies on that Display while working at the iMac's 17" it's also great for iPhoto Slideshows and PowerPoint.
    Not to worry the TV supports it's own display and all you are doing is sending a signal to it's video card. Just turn it off or change the channel.
    I tend to stay away from mirroring for the same reasons, but also because the TV's across the room.
    Again not to worry the TV supports it's own display and all you are doing is sending a signal to it's video card. Just leave it connected up to prevent damage to DVI port, Adapter and cable. "yank not"
    Just be sure to gather up all your windows back to the iMac Display befor shutting off or changing the channel.
    Dennis
    17" iMac Intel Core Duo 1.5GB Ram   Mac OS X (10.4.9)   Maxtor 300GB FireWire Creative Inspire 2.1 2G Nano

  • Procedure/sample code to download alv output in HTM format & mail to user.

    Hello Experts,
    I've a requirement to run the Alv report at background. But i need to download the alv output in HTM fomat because it has subtotal values & look wise downloaded HTM format will be same as that of ALV output. Then send the attachment through mail to users. I'm not intersted in  downloading  internal table dierctly to HTM format.
    Will the code for alv display & downloading in HTM format & forwarding via email  is all done in one single  program or in 2 differnt programs . pls guide me on this.
    I'm using FM REUSE_ALV_GRID_DISPLAY to display output with subtotals.
    Pls anyone there suggest me the steps to download ALV output in HTM format & the forward the same  to user ID through Lotus notes.
    Regards
    Devika.S

    Hi,
    This can be achieved without coding .
    Fore ground Scenario:
    1. Downloading as HTM . In foreground you can do this by using Export---> Local file
    option in ALV grid.
    Background Scenario:
    2. In background while sending mail , You have to achieve the same through customisation settings as wexplained below.
    In SM36 -- > Spool List Recipient, give the reciepient id and click on copy. Now when the Background job will be finished,
    the reciepient mentioned above will recieve the mail , but in ALI format.
    To convert the same to HTM format, you need to do customisation changes in SCOT
    goto SCOT>Expant the node INT>Double click on Email-->Beside Internet we have SET tab , click on that -->
    select the radio button " all formats except the following ">In the near by box type ALI>then click on the tick Mark.
    Then go to SCOT>Settings>Conversion Rules-->there
    create a new row with, Format->ALI , To Format->HTM , Ranking 1, FM -> SX_OBJECT_CONVERT_ALI_HTM.
    Now when the mail will be sent, it will not go in ALI, but in HTM format.
    Hope this helps you out.

  • To Display Output in Grid ALV with change of some field display total with

    Hi Masters,
    I m working on ALV in which  i have to display output with the following format.
    Header
    "Some String"                                                             date/time                                                                               
    User:XYZ01       page 1 
    Line
    1st field    2nd    3rd     4th       5th   6th    7th   8th   9th  10th field
    x               y       z        A        B     C       D     E      F       G
    BLANK..............................................................................                            
                          "total 3rd+4TH"           P        Q     R      S        T       
    same thing for every change of 4th field .
    So the problem is with inserting the line with string "Total of 3rd+4th" in the output .
    Can Anyone help me out?
    Thanks ,
    Varlani Amit

    Hi,
    Use control-break statement ON-CHANGE for the 4th field, and do the changes.
    regards,
    sri

  • How to download the output of a report along with column header

    Hi,
    Could someone please tell me on how to download the output of a report along with column header to .txt format. A download option needs to be given to the user using physical and logical file names .The report basically contains header details and item details and requirement is to download the same format into an .txt format.

    Hello,
    Try this FM:
    Data: being of itab occurs 0,
    matnr like mara-matnr,
    maktx like makt-maktx,
    end of itab.
    data:begin of fld_tab occurs 0,
    fld_name(20),
    end of fld_tab.
    fld_tab = 'Material'.
    append fld_tab.
    fld_tab = 'Material Desc'.
    append fld_tab.
    CALL FUNCTION 'WS_DOWNLOAD'
       EXPORTING
            BIN_FILESIZE            = ' '
            CODEPAGE                = ' '
             FILENAME                = 'C:\1.txt '
             FILETYPE                = 'DAT'
            MODE                    = ' '
            WK1_N_FORMAT            = ' '
            WK1_N_SIZE              = ' '
            WK1_T_FORMAT            = ' '
            WK1_T_SIZE              = ' '
            COL_SELECT              = ' '
            COL_SELECTMASK          = ' '
            NO_AUTH_CHECK           = ' '
       IMPORTING
            FILELENGTH              =
         TABLES
              DATA_TAB                = itab
              FIELDNAMES              = fld_tab
       EXCEPTIONS
            FILE_OPEN_ERROR         = 1
            FILE_WRITE_ERROR        = 2
            INVALID_FILESIZE        = 3
            INVALID_TYPE            = 4
            NO_BATCH                = 5
            UNKNOWN_ERROR           = 6
            INVALID_TABLE_WIDTH     = 7
            GUI_REFUSE_FILETRANSFER = 8
            CUSTOMER_ERROR          = 9
            OTHERS                  = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Naimesh

  • It's not just Download Helper v4.8.3, it's also RealPlayer: the download display window shows .mp3 files downloading, but nothing shows in the folder when it is done downloading.

    # Question
    It's not just Download Helper v4.8.3, it's also RealPlayer: the download display window shows .mp3 files downloading, but nothing shows in the folder when it is done downloading.
    Also in the '''Properties''' window of Windows Explorer I '''no longer have the Details tab''', so I can't update my mp3 files with Artist, Album, Genre, etc. But the details tab does show up when I access it thru Windows Explorer.
    I ran the AVG rescue disc an no viruses found. Now on '''FF3.6.15''' '''RealPlayer''' shows when I right click but then '''immediately disappears and an icon appears in the System Tray''', but as soon '''as I hover my mouse over it it disappears'''.
    Does anyone have any ideas or suggestions?
    How can I get this fixed? I have time-sensitive mp3s that I won't have access to anymore if I don't get this resolved in a hurry. (no pressure on you, I'm the one that's stressed about this) Can you help? Thanks so much for responding to this '''inquiry.''''''bold text'''

    See:
    *https://support.mozilla.com/kb/Downloads+window
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history" > "Remember download history"

  • To download alv output to two excel sheets because of large data

    Hi all,
    I want to download alv output to excel sheet,I know how to do,but the no of record is very large and can not be accomodated in one sheet.
    can anyone please tell how to download it into two sheets or some other way.
    I want excel format only.
    Regards,
    sudha

    hi sudha yadav,
    right now i am working on the same issue.
    what right i am doing is that,
    i want to download an internal table it is containing more than 2 lakhs records but excel can accomidate 60000 records, so
    before call gui download i am sending first 60000 records into another internal table with same time, by using append statemen and indexs,
    that new internal table i am downloading
    again i am repeating the same thing by using sy-tabix,
    finally i am creating more than one excel file
    by using oops concepts we can also create in one excel file no of work sheets
    but its lengthy process so i am right now creating no of excel files only
    if it is useful , pls rewards points to this answer

  • Download Smartform output in word document

    Hi All,
    I had a requirement to download the smartform output in ".doc" format.
    I had run FM CONVERT_OTF with parameter value format = 'ASCII', and downloaded using .doc format
    I was able to download but the output is not having logo and some different symbols are added.
    Can any suggest what would be the exact procedure to download the output in word document.
    Regards,
    Dinakar.

    Hi Dinakar,
    Please check the link provided:
    Help with Smartform download - unwanted items showing in file
    The solution provided in this link is very relevant for your question, so hope you will get the solution.
    Thanks & regards,
    Sarita Singh Rathour

  • Plz help me, no display output during boot up of 715 workstation

    now i have a HP 715 model workstation,today, conneted hp monitor..but can't display output during system boot up so i tried  solve this problem,1)changed battery2)removed HDD after reboot system and press ESC key    => now can't use Keyboard..not working key board3)Press Tap key.. Just i think, this problem is system configulation problem. not monitor problem..so i found internet website..but now i can not change configulation who know this problem.plz help me  

    one question in html submit the reslut stored jdbc that value shows barchartAll your base are belong to us!
    You know, while I understand that English isn't your first language (neither is it mine) and there's no need to be perfect: if you can't write an understandable post yourself, consider asking someone to do it for you.

  • Display Output similar to SPRO (IMG)

    Hi Experts,
    Can we develop a display output similar to the view which we have in SPRO (IMG).
    Any Function Module or Sample Program.
    Regards,
    Abhijit G. Borkar

    Thanx David,
    Can u help tell me the difference between the Transaction Code: SHI3  & SE43 & SE43N.
    Since they look similar to what you have suggested.
    Regards,
    Abhijit G. Borkar

  • Thunderbolt Display output only 800 x 600!!?!?!?!

    Just got the Mac Book Pro Quad Core, 15", 8 gig ram.
    I'm using the display output adapter in the Tunderbolt port. It outputs and syncs to my Image Pro switcher, but the options for the display output for the external only go up to 800 x 600.
    Anyone know anything about this?
    My old MacBook Pro could go up to the full resolution with the same video switcher and the same mini display output adapter.

    It's possible that the switcher isn't compatible. Safe to presume that without the switcher you can achieve the desired resolution?

Maybe you are looking for

  • Add button to SM30

    Hi, I have a table with a table update generated to update the table from sm30. what appens is that i want to add some button to the screen where i do the update to the table, is that possible? And is there anyway to control when the user do double c

  • When I tried to burn a CD

    After I tried to burn a CD it quit and said:  The burn to the OPTIARC DVD RW AD5690H drived.  Failed  The burn failed because of a medium write error.

  • Firefox Sync can't connect behind Zscaler proxy

    Last week the enterprise I work in changed their proxy to a Zscaler one. With the previous proxy I could use Firefox Sync without any trouble but since that it seems I can't use Sync anymore. The error that shows says "Sync encountered an error while

  • App submission problem

    i get this message when i click"app submission": You do not have access to this resource based on your membership. Access to technical resources such as pre-release software and associated documentation, and information related to distributing iOS or

  • Regarding Scheduling Agreement

    Hi Gurus, We have the following issue regarding Scheduling Agreement. WE have a Finished part for which we maintain Scheduling Agreement. The BOM of the Fert contains Packaging Raw's and one semi-finished part. The client's requirement is when we cre