Downloading in excel from sqvi report format in the background

Dear All,
We have developed couple of report using SQVI format for couple of reports. Now for those reports my client wants to download them in excel sheet and attach to the email, when email is triggered automatically to the specified email id's. This is urgent issue which need to be given b this week end. Thanking everyone in advance for your replies.
Regards
V. Srinivasa Ranganath

Hi,
Get the report name in selection screen of SQVI, something like AQ30SYSTQV000002MARA==========.
Create a new job in SM36 with a step with this report
In this job add a SPOOL Destination with defined email or list of emails
When job is executed the spool will be automatically sent to the mailing list. If email attachments configuration is to generate an attachment in html format, that html can be saved from Outlook to local disk and opened in excel, as many html files.
If you want something more professional you'll need to create a program in ABAP that actually does the same as the SQVI but creates a file in excel format, using abap2xlsx probably, and then sends it to the distribution list.
Most excel functions in SAP requires the Excel in the frontend computer, so they cannot work in background or in the server side. abap2xlsx is useful in this cases.
Regards,
Edgar

Similar Messages

  • Limit the number of record to download to excel from a report

    I am just wondering if there is a way to limit the number of rows that I want to download to excel from a report in apex, right now when I click download to excel it downloads all records. If I am displaying 15 records on report page I want the ability to download only those records.
    Any help with that would be appreciated.
    Kind Regards,
    Sofia.

    Sofia,
    The same report query runs for downloading the data into excel, I don't think you can limit the number of records in download.
    You can achieve it using custom code, like on click of download excel redirect to another page and then restrict the data as per your need, or you can use the custom procedure to download the limited data.
    Denes' utility to download into excel.
    http://htmldb.oracle.com/pls/otn/f?p=31517:108:1476564836494581:::RP,::
    Regards,
    Manish

  • Download to excel from web report generated through ITS

    We were on SAP 4.6B. We have several abap reports for which we have a web interface using ITS. On the broweser output we have provided a URL which reads 'Download to CSV file' . This has been achieved by modifying the function www_get_report. The mod first generates a unique filename and exports the name to the memory and generates the hyperlink. The abap report program ftp'ies a the csv file to the ITS server path as in the URL.
    Now we have upgraded to ECC 5.0 and we want to achieve the download to CSV option without the modification. What would be the best way to achieve this in the netweaver platform.

    Sofia,
    The same report query runs for downloading the data into excel, I don't think you can limit the number of records in download.
    You can achieve it using custom code, like on click of download excel redirect to another page and then restrict the data as per your need, or you can use the custom procedure to download the limited data.
    Denes' utility to download into excel.
    http://htmldb.oracle.com/pls/otn/f?p=31517:108:1476564836494581:::RP,::
    Regards,
    Manish

  • How to avoid the "filter cells" during download to Excel from WAD

    How can we avoid seeing the "filter cells" in the link:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a54dbe09411d2acb90000e829fbfe/content.htm
    which we have every time a Bex query is downloaded to Excel from Web application designer?
    The objective is to find a way to avoid the filter cell rows from happening period.... and not asking the users to manually delete the excel rows.
    Edited by: Sharon West on Nov 26, 2008 12:12 PM

    Why is your topicstart all in bold?

  • How to download data in excel from web report in sap ?

    how to download data in excel from web report made  in sap abap?
    through tcode smw0.

    for exemple using
    MS_EXCEL_OLE_STANDARD_DAT

  • In download to excel from bsp hw to increase excel column width to wrap txt

    in download to excel from bsp how to increase excel column width to wrap text
    in each column.
    My client does not want to manually click each cell aftet downloading to excel to see full text in each column

    Hi,
    You can achieve this by formatting your output using HTML table tag.
    Try the following code.
      DATA: lv_output  TYPE string.
      concatenate
      '<table border="1">'
      '<tr style="font-weight: bold; text-align:center; "><td>Name</td><td width="150">Description</td></tr>' cl_abap_char_utilities=>cr_lf
      '<tr><td>First Name</td><td>Some Description goes here..... ....... ...... </td></tr>' cl_abap_char_utilities=>cr_lf
      '<tr><td>2nd Name</td><td>XYZ.......</td></tr>' cl_abap_char_utilities=>cr_lf
      '</table>'
      into lv_output.
      response->set_cdata( data = lv_output ).
    Regards
    Geogy
    PS. Reward the useful answers.

  • Download to excel from front end - percent coming as date

    download to excel from front end - percent coming as date
    Hi,
    i'm using below method to dowload to excel from frontend (Backened is R/3).
    1) l_string will have the entire xls date ( with sepeartor cl_abap_char_utilities=>horizontal_tab and cl_abap_char_utilities=>newline)
    2) Converitng string to xstring using FM SCMS_STRING_TO_XSTRING
    3) pumping excel date to browser using  IF_HTTP_ENTITY~SET_DATA
    4) creating URL using GUID_CREATE fm.
    it's downloding the excel file but funny date.
    example
    percentage 1.5 coming as Jan 50 and Percent 3.5 coming March 50.
    How to avoid this funny conversion.
    ...Nandha

    Hi Nanda,
    have you tried to change the number format of the corresponding cells in excel to percentage?
    BR Steffen

  • Download to excel from alv display

    Hi,
    How to download to excel from alv display.I am using object oriented abap for using alv.If i click export->spreadsheet i am getting fatal error and if i export->local file->spreadsheet i am getting only the column names and heading but no contents.Can anyone tell me how to overcome this problem.
    Regards,
    Sowmya.

    Hi Sowmya,
    Just put break point near FM reuse_alv_grid_display and check if internal table which is used to display output is popullated or not.
    Regards Sachin.

  • I just downloaded an album from itunes and 2 of the tracks will not play at all, they cut off. I need help with this??

    I just downloaded an album from itunes and 2 of the tracks will not play at all, they cut off. I need help with this??

    Does the track play correctly in Quicktime Player?  If it does then it is an iTunes issue.  If it doesn't then it is possible the file was not completely downloaded, or is corrupt.
    Downloading (using iOS or computer) past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not available in all countries; apps, books (not audiobooks), music, t.v. shows, and movies (some - not all studios have permitted this). Movies currently available in the USA only. Downloading previously purchased movies and TV shows requires iTunes 10.6 or later.  Discontinued items not available. For items not included in the iCloud list (e.g., ringtones), or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid. 
    If it can be downloaded again, delete the track from iTunes.
    Select the store on the left side of iTunes.
    Click on Purchased on the right side under Quick Links.
    You can re-download your available previous purchases.
    If it is corrupt and you cannot download it a second time, contact Apple.  Contact iTunes Store support staff through the report a problem links in your account history or,
    iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html > Get iTunes support via Express Lane > iTunes > iTunes Store

  • Pass the file id or a parameter from a report (10g) to the distribution.xml

    Is there any way to pass the file id or a parameter from a report (10g) to the distribution.xml file?

    Hi,
    Please review article ID 273960.1 on metalink.
    The article actually describes an issue one may run into while enabling a reports distribution xml file to accept dynamic values, but you can extract the answer you're looking for by studying the above mentioned note.
    Best Regards and Good Luck,
    Mircea.

  • Sp_who2 -need only active sessions from users which are not the background sessions

    Hello,
    sp_who2 -need only active sessions from users which are not the background  sessions
    Please assist.
    Best regards,
    Vishal

    Its better to use DMV's to view only active sessions from users (spid>50) as mentioned by Shanky.
    You can do that using sp_who2 but it requires a bit of programming to list only user sessions.
    SELECT
    S.SESSION_ID,
    S.STATUS,
    S.HOST_NAME,
    C.CLIENT_NET_ADDRESS,
    CASE WHEN S.LOGIN_NAME = S.ORIGINAL_LOGIN_NAME THEN S.LOGIN_NAME ELSE S.LOGIN_NAME END LOGIN_NAME,
    S.PROGRAM_NAME,
    C.CONNECT_TIME,
    S.LOGIN_TIME,
    CASE S.TRANSACTION_ISOLATION_LEVEL
    WHEN 0 THEN 'UNSPECIFIED'
    WHEN 1 THEN 'READUNCOMITTED'
    WHEN 2 THEN 'READCOMMITTED'
    WHEN 3 THEN 'REPEATABLE'
    WHEN 4 THEN 'SERIALIZABLE'
    WHEN 5 THEN 'SNAPSHOT'
    ELSE CAST(S.TRANSACTION_ISOLATION_LEVEL AS VARCHAR(32))
    END AS TRANSACTION_ISOLATION_LEVEL_NAME,
    S.LAST_SUCCESSFUL_LOGON,
    S.LAST_UNSUCCESSFUL_LOGON,
    S.UNSUCCESSFUL_LOGONS,
    S.CPU_TIME AS CPU_TIME_MS,
    S.MEMORY_USAGE AS MEMORY_USAGE_PAGES,
    S.ROW_COUNT,
    S.PREV_ERROR,
    S.LAST_REQUEST_START_TIME,
    S.LAST_REQUEST_END_TIME,
    C.NET_TRANSPORT,
    C.PROTOCOL_TYPE,
    S.LANGUAGE,
    S.DATE_FORMAT,
    ST.TEXT AS QUERY_TEXT
    FROM
    SYS.DM_EXEC_SESSIONS S
    FULL OUTER JOIN SYS.DM_EXEC_CONNECTIONS C ON C.SESSION_ID = S.SESSION_ID
    CROSS APPLY SYS.DM_EXEC_SQL_TEXT(C.MOST_RECENT_SQL_HANDLE) ST
    WHERE
    S.SESSION_ID IS NULL
    OR S.SESSION_ID > 50
    ORDER BY
    S.SESSION_ID
    -Prashanth

  • Stop download to Excel from converting string of digits & dashes into date

    Hi,
    How can I stop BI and Excel data from converting a column of string data that is comprised of numbers and dashes into a date format when it is downloaded into Excel?
    I'd like to solve this problem in BI, so that any users can download the data from a BI report into Excel without having to change the Excel date column back into a string column.
    Thanks,
    Darcy

    Hi Again Darcy,
    hmmm... That is very interesting. I just tried on OBIEE 10.1.3.2 ( a version before yours) on Windows XP with Office 2003 and an Oracle 11g DB backend and it did not have any problems pulling the value as text and not a DATE
    Can you try something for me? In a new report, add any old dimensional (year, month name, etc) field twice into the report and change the second column formula to be following: '7001-2'
    Try to export that report and see if that value comes through as text or a date. If it is something about the SQL server data set, then the above test should come through as text object in your excel download because we aren't pulling it from SQL Server, we'll creating it directly in OBIEE. If the above test does come through as a date, then it should mean that SQL Server isn't the issue. And if that is the case, I am starting to wonder if there's a setting in Office to can be enabled/disabled to avoid any data casting.
    Best regards,
    -Joe

  • Is it possible to download to excel when a report running in background

    Dear All,
    I tried to execute one ALV report in foreground and background. In foreground the report is giving excel download but in background no excel download is coming. Is there any specific reason for that?
    Thanks and regards,
    Atanu

    Atanu dey,
    If you wnat to download excel in back ground
    You have to download in application server only.
    EX:
    DATA :  v_filepath(80)     VALUE '/data/sapdata/inc/error_log/pme_br/',
      c_coma     VALUE ',' .
    OPEN DATASET v_filepath FOR OUTPUT IN TEXT MODE.
        IF sy-subrc EQ 0.
         LOOP AT i_errors_bat.
         CONCATENATE i_errors_bat-plant c_coma
                                 i_errors_bat-zzvendor c_coma
                           INTO v_string.
            TRANSFER v_string TO v_filepath.
          ENDLOOP.
       CLOSE DATASET v_filepath.
    Note : you can download in presentation server also.
    but it requires lot of authorizations and have to use
    FTP commands.
    Reason is Apllication server in back ground has to
    recognize the from which system request came.
    Better go for OPEN DATA sets.
    Don't forget to reward if useful.....

  • Download to excel using GUI_DOWNLOAD : Date format

    Hi Gurus,
    I am downloading the data from an internal table to excel file using FM gui_download. The date field in my internal table is in the format MM-DD-YYYY (stored as Char 10 field). But when it downloads to excel, the date format changes to MM/DD/YYYY. I want to keep original format of MM-DD-YYYY in excel.
    Please help, sure points for helpful answers.
    should i use FM gui_download only, or is there some Other useful FM.
    Regards,
    Abhishek

    Hi,
    Check the code below:
    v_date = sy-datum.
    IF v_date CA '/'.
      REPLACE '/' WITH '-' INTO v_date.
    ENDIF.
    Regards
    Kannaiah

  • Issue with Data download to excel from ALV

    Hi,
    I am trying to download data to excel from ALV.
    The number of records are 26000.
    When I am trying to download I am getting an error displaying a pop up saying that
    problems came up in the following areas during the load
    TABLE
    The log displayed is not clear.
    I need to know the limitations while downloading to excel... I tried in SDN but of no use. I am using office 2007.
    What is the max downloading limit(MB)
    What must be the Length of line that can be downloaded.
    Regards

    Hi ,
    First check whether your ALV grid OUTPUT   is Consistent or Not   .
    if there are any inconsistency  then you need to rectify that  .
    for Checking COnsistency / Inconsistency  .do following steps
    1) execute ALV report 
    2) Press Shift+Mouse Right Button (Twice)  in blank area of report 
    3) you will get result   whether ALV is good or not .
    regards
    Deepak.

Maybe you are looking for

  • SAP discontinue process issue with use-to-exhaust

    SITUATION Current discontinue functionality in SAP allows a user to automatically shift demand to part B when inventory for part A is projected to be exhausted. Example: Part A on hand is 240 Demand is 100/week Part A inventory will run out in week 3

  • Process Administrator as a service

    Hi, Can you kindly let me know if there is a way to configure process administrator as a windows service. Thanks, Charan

  • How long does MSI myservice take to respond back to RMA email?

    called this number and chose option4 MSI Computer (UK) Ltd Tel: +44-203-608-5252 the voice message stated clearly if you want to RMA the graphics card send your full name, address, serial number, fault description to myservice.uk (at) msi dot com the

  • Premiere & Media Encoder show Quicktime presents but fail on encode

    My Premiere & Media Encoder CS6 both show Quicktime presents but fail each time I try to encode directly to Quicktime with .mp4 codec. Quicktime is installed on my machine, which runs Windows. I'm using Adobe Creative Cloud CS6. Goal: to use the Quic

  • Disabling Spatial data cache for one theme?

    How can I accomplish this. I have a crude editing application and this cache is preventing the updates from being seen in the ThemeBasedFOI under oracle maps. The ThemeBasedFOI.refresh() seems to have no effect. I have confirmed that disabling the en