S_ALR_87011990 - Problem in downloading report from SAP to Excel.

Hi All,
I am facing an issue in report S_ALR_87011990, while downloading a report from SAP to excel. In SAP, report is comming out to be in different format than what it is getting generated in excel.
I am attaching screen shots for your reference.
Request you all to kindly help me in this regard, As this report is required urgently.
Thanks in advance....
Regards
Rajat Kumar

Hi Priya,
Sorry for the delay.. here
Simple explanation...
ABAP - OLE Automation using MS-Excel - Code Gallery - SCN Wiki
You can find a detail doc here
http://www.heyiamonline.com/abap/pdf/ABAPOLEAUTOMATION.pdf
Regards

Similar Messages

  • Convert report from SAP to Excel

    Hi All,
    How to convert report from SAP to Excel.Here now taking default text(.txt) format.But we want defualt taking (.xls) format only.
    Regards
    Usha

    hi usha
    u can even export the text in txt format and later right click and open with excel , u wont be able to directly import it into excel as it is not giving u any option to upload in excel directly
    Regards,
    Manish

  • Problem opening Crystal Report from SAP GUI through VPN

    Hi Everyone,
      I am facing an issue with opening the crystal report from SAP BW Role menu(SAP GUI). The issue is only with the BW Users who are connecting to the Client systems through VPN. All the settings are done perfectly in the Transaction /CRYSTAL/RPTADMIN and SICF for the CE_URL.
    For those who are in the client network it works fine. Please see the URLs generated in both the cases,below.
    From Client N/W
    [http://sapbobj:8080/SAP/jsp/Action_Dispatch/dispatch.jsp?sap_client=100&cmsname=sapbobj:6400&language=EN&sap_sysid=D40&bw_id=4HUFYJ3XBZ7QLP5HIDYPR7PR6&sap-client=100&actionName=SAP_CrystalReport_View&appKind=InfoView&service=%2FInfoViewApp%2Fcommon%2FappService.do&loc=&initialFolderId=null]
    Through VPN
    [http://sapbwd.abc.com:8100/sap/bw/ce_url?(ce_protcl):(DS)(ce_server)/(ce_path_pr)/viewreport.csp(Q)bw_id=4HUPI3I78CG4S4EDH7XSDP736&sap_sysid=(sysid)&sap_client=100&language=EN&sap-client=100]
    where "sapbobj" is the BOBJ system and "sapbwd" is the SAP BW Dev box.
    For me it seems to be something related to the N/W. Please provide me your valuable inputs to solve this issue.
    Thanks in Advance,
    Koka M
    Edited by: Madan Koka on May 19, 2010 5:18 PM

    Hi,
    I'm also facing the same issue. when try to open my report the URL doesn;t taking "bw_id".
    It is blank for all transported reports.
    Any advice..
    Thanks,
    Jothi

  • Problem Running BEX report from SAP.

    Hi All,
    We are getting the below error message when we are executing BEX report from SAP.
    "Analyzer requires version 140. The currently installed version is 066
    Message no. RSR_LAUNCH_EXCEL107."
    when i run the report for first time it is displaying correctly but, when i run it for second time (first one is already opened) then i get the above message.
    Please let me know is there any setting or oss note related to this issue.
    Thanks,
    Shiva.

    Hi,
    Where is it happened? in Tx RRMXP, RRMX or when you execute Bex Analyzer?
    Probe with this notes: 1086904, 1152929.
    Regards.
    Edited by: Conrado Linquet on May 11, 2009 9:55 PM

  • Downloaded file from SAP to excel 2007(*.xlsx, *.xlsm)  - unable to open

    Hi All,
    I am downloading a data from SAP to excel(*.xlsx) format. I am able to conver/download the file in *.xlsx format, but if try to open the downloaded excel file, it gives teh error message 'Excel cannot open the file 'filename.xlsx' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file'. with a OK button. When I press the OK button, no data is displayed.
    So kindly let me know how to download the file from SAP to *.xlsx format without any errors.
    Note: I am able to download the data in *.xls format without any erros.
    Thanks in advance,
    Regards,
    Vijay

    Hi,
    You are probably not being able to open the file of .XLSX format because you do not have Microsoft Office 2007 installed on your system. You might be having a lower version of Microsoft Office. e.g. 2003.
    What you can do is, before opening the .XLSX file directly on a system which does not have Microsoft Office 2007, you can convert it into .XLS format and then open the same.
    See the below code.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_COPY
      EXPORTING
        SOURCE               = 'C:\Users\Danish\Desktop\test1.xlsx'
        DESTINATION          = 'C:\Users\Danish\Desktop\test2.xls'
      EXCEPTIONS
        CNTL_ERROR           = 1
        ERROR_NO_GUI         = 2
        WRONG_PARAMETER      = 3
        DISK_FULL            = 4
        ACCESS_DENIED        = 5
        FILE_NOT_FOUND       = 6
        DESTINATION_EXISTS   = 7
        UNKNOWN_ERROR        = 8
        PATH_NOT_FOUND       = 9
        DISK_WRITE_PROTECT   = 10
        DRIVE_NOT_READY      = 11
        NOT_SUPPORTED_BY_GUI = 12
        OTHERS               = 13.
    IF SY-SUBRC NE 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Danish

  • Download datas from SAP to Excel in OO

    Hallo,
    i create an excel-document with the methods
    CALL METHOD DOCUMENT->CREATE_DOCUMENT
        EXPORTING
          OPEN_INPLACE     = ' '
    *      CREATE_VIEW_DATA = CREATE_VIEW_DATA
    *      ONSAVE_MACRO     = ONSAVE_MACRO
    *      STARTUP_MACRO    = STARTUP_MACRO
          DOCUMENT_TITLE   = DOCUMENT_TITLE
          NO_FLUSH         = NO_FLUSH
        IMPORTING
          ERROR            = ERROR
          RETCODE          = RETCODE.
    and
    CALL METHOD DOCUMENT->GET_SPREADSHEET_INTERFACE
        EXPORTING
          NO_FLUSH        = NO_FLUSH
        IMPORTING
          SHEET_INTERFACE = SPREADSHEET
          RETCODE         = RETCODE
          ERROR           = ERROR.
    and so on.
    Wounderful.
    I close the excelwindow with the methods:
    CALL METHOD DOCUMENT->SAVE_AS
        EXPORTING
    *      FILE_NAME   = FILE_NAME
          PROMPT_USER = 'X'
          NO_FLUSH    = NO_FLUSH
        IMPORTING
          ERROR       = ERROR
          RETCODE     = RETCODE.
      PERFORM FEHLERPRUEFUNG.
      CALL METHOD DOCUMENT->CLOSE_DOCUMENT
        EXPORTING
          DO_SAVE     = DO_SAVE
          NO_FLUSH    = NO_FLUSH
        IMPORTING
          HAS_CHANGED = HAS_CHANGED
          ERROR       = ERROR
          RETCODE     = RETCODE.
      PERFORM FEHLERPRUEFUNG.
      CALL METHOD DOCUMENT->RELEASE_DOCUMENT
        EXPORTING
          NO_FLUSH = NO_FLUSH
        IMPORTING
          ERROR    = ERROR
          RETCODE  = RETCODE.
      PERFORM FEHLERPRUEFUNG.
      FREE DOCUMENT.
    Only the worksheet is closed but not the excel-window.
    Has anybody an idea what is wrong?
    Thank you.
    Greetings
    datatom

    Hallo,
    i create an excel-document with the methods
    CALL METHOD DOCUMENT->CREATE_DOCUMENT
        EXPORTING
          OPEN_INPLACE     = ' '
    *      CREATE_VIEW_DATA = CREATE_VIEW_DATA
    *      ONSAVE_MACRO     = ONSAVE_MACRO
    *      STARTUP_MACRO    = STARTUP_MACRO
          DOCUMENT_TITLE   = DOCUMENT_TITLE
          NO_FLUSH         = NO_FLUSH
        IMPORTING
          ERROR            = ERROR
          RETCODE          = RETCODE.
    and
    CALL METHOD DOCUMENT->GET_SPREADSHEET_INTERFACE
        EXPORTING
          NO_FLUSH        = NO_FLUSH
        IMPORTING
          SHEET_INTERFACE = SPREADSHEET
          RETCODE         = RETCODE
          ERROR           = ERROR.
    and so on.
    Wounderful.
    I close the excelwindow with the methods:
    CALL METHOD DOCUMENT->SAVE_AS
        EXPORTING
    *      FILE_NAME   = FILE_NAME
          PROMPT_USER = 'X'
          NO_FLUSH    = NO_FLUSH
        IMPORTING
          ERROR       = ERROR
          RETCODE     = RETCODE.
      PERFORM FEHLERPRUEFUNG.
      CALL METHOD DOCUMENT->CLOSE_DOCUMENT
        EXPORTING
          DO_SAVE     = DO_SAVE
          NO_FLUSH    = NO_FLUSH
        IMPORTING
          HAS_CHANGED = HAS_CHANGED
          ERROR       = ERROR
          RETCODE     = RETCODE.
      PERFORM FEHLERPRUEFUNG.
      CALL METHOD DOCUMENT->RELEASE_DOCUMENT
        EXPORTING
          NO_FLUSH = NO_FLUSH
        IMPORTING
          ERROR    = ERROR
          RETCODE  = RETCODE.
      PERFORM FEHLERPRUEFUNG.
      FREE DOCUMENT.
    Only the worksheet is closed but not the excel-window.
    Has anybody an idea what is wrong?
    Thank you.
    Greetings
    datatom

  • Data missing while running a crystal report from SAP B1 2007A

    Dear All,
    I am facing an issue that is if i run a report from SAP B1 using Crystal reports AddOn, it misses out some data.
    Few Initial pages and a last page appears in the report. But when i run the same report using Crystal reports Designer it shows the actual number of pages. I have tested the above discussed issue on the server & workstation machines.

    Dear All,
    I would like to explain the above posted problem in detail. I need your generous help, I am facing an issue that is for Crystal Reports which are based on 'Financial Templates' data is missing out. For Example, If i run the report using 'Crystal Reports Designer' it is showing the whole Financial Template based on 5 pages, but if I try to run it from 'SAP Business One'
    using 'Crystal Reports AddOn' it is missing out the data e.g. it is showing Page 1 and then Page 4 & 5.
    Page No. 2 & 3 is missed out. For your information it was running fine from the past two months now I am
    facing issues in running it. Rest of the reports are running fine.
    I have tried reinstalling the Crystal Reports Runtime and Crystal Reports AddOn for SAP B1 on
    Client machines, but the problem is not resolved yet.
    Server Machine Details
    Version : SAP B1 2007A Server SP01 PL08
    OS: Windows Server 2008 R2 (64-bit)
    Crystal Reports AddOn for SAP B1 (64-bit)
    Crystal Reports Runtime
    Crystal Reports Runtime for Visual Studio
    Client Machine Details
    Workstation 1
    Version : SAP B1 2007A Client SP01 PL08
    OS: Windows Vista Enterprise (32-bit)
    Crystal Reports AddOn for SAP B1 (64-bit)
    Crystal Reports Runtime
    Crystal Reports Runtime for Visual Studio
    Workstation 2
    Version : SAP B1 2007A Client SP01 PL08
    OS: Windows XP
    Crystal Reports AddOn for SAP B1 (64-bit)
    Crystal Reports Runtime
    Crystal Reports Runtime for Visual Studio

  • Issue running a report from SAP Business One

    I have an issue running a particular report from SAP Business One. I am using Crystal Reports Add-On, all of the reports are working fine except one. When accessing the last page of the report or any page from inside the report the followiong error appears in the dialog box:
    Error in the File CollectionDate_Branch_wise {609BA059-89AF-41E9-9AEB-28CB16D13852}.rpt:
    The request could not be submitted for background processing.
    Edited by: Iqbal Faisal on Feb 22, 2010 6:03 AM

    Hi,
    Do you mean you have a Main report that is written based on SQL Command and there are 8 subreports linked to the main report?
    If that is the case, I assume when user select 'Document Type" eg invoice, it will pass that to the subreport and retrieve information?
    This is how I will approach it.
    1. Make sure the connection is consistent, if you are using ODBC(RDO) then make sure that is the same for main and subreport. You can check that in Set database connection. Right click on the connection, look at the Properties.  Don't assume that the name is the same, eg: SBO_DemoUS, they are all ODBC(RDO) for instannce.
    In Crystal, when you are using different connection, it will just prompts you a warning message and it will still run.
    2. Delete all and only keep one subreport, example AR invoice and see it will still give a problem.
    Replace the parameter with a set value in Record selection in subreport and see what happen.

  • Problem showing BI report in SAP CRM 7.0

    Problem showing BI report in SAP CRM 7.0
    We are facing a problem in our SAP CRM, when we show a BI report in the fact sheet we can see the report correctly.
    But when we click on the match code of the query, (in order to choose a value from the help) the popup does not appear and we got the error u201Caccess denied     popup_ie6.jsu201D
    Any help?
    Thank you in advance.

    Hi,
    Please check the service patch for BW.
    In our S/m it is working Fine.
    SAP_BW     701     0003     SAPKW70103     SAP Business Warehouse
    BI_CONT     704     0003     SAPK-70403INBICONT     Business Intelligence Content
    Regards,
    Lokesh.

  • Webi report from SAP BW

    Dear all,
    We have requirement to crate report from SAP BW to get some materials. (query 1 in cube 1) In second query we would like to have details for this materials from query1 from cube2. From SAP NOTE 1367620 you can't use subqueries. How can we solve this problem?
    Thank you for help!
    Regards,
    Gregor

    Hi Ingo,
    Thank you for reply but I'm looking for solution that query 1 retrive me materials that we sold to specific customer and this is imput for second query...
    If I understand with merge I need to merge materials from query 1 with all materials in BW cube to get that data?
    Can you tell me more about hyperlinks?
    Thank you for understanding and help,
    Regards
    Gregor

  • Early watch report from SAP

    Hi all Experts,
    Early watch report from SAP has suggested to delete data from BW statics table but has not specified any frequency of deleting data like 15 days, 30 days.
    at present we have Number of entries in table RSDDSTAT_OLAP is 1095081 and Number of entries in RSDDSTAT_DM is 151687.
    so my questions is that how to delete these data from table.
    There is a program RSDDSTAT_DATA_DELETE which can be sheduled in background to delete data from these tables.
    but I am not sure how many months of data should be stored in these tables, and if I delete data from these table how it will affect the delta loads for BW statistics cube.
    there is one program which can automatically delete data from these tables
    Use the report se38-->SAP_RSADMIN_MAINTAIN to set the parameter                              
    object = TCT_KEEP_OLAP_DM_DATA_N_DAYS                              
    Value = 14 (Default ..)                         
    Please advice which option should I use.
    I am in BI7 version

    HI
    I scheduled Program to delete data which is older than 30 days.
    now my problem is solved

  • How to delete all the crystal reports from SAP B1 ?

    Dear Experts,
    I have one problem and I need to Delete all the Crystal PLD's and Crystal Reports from SAP B1.
    I can delete a PLD or Report using delete option from Report and layout manager or layout designer.
    But I need to select delete option for each PLD and It makes very time.I have some 200 Reports and I need to delete fully.
    Is there any possible to multi delete option in SAP B1?
    I have searched many but i will not receive proper solution. Any one can explain how to do This?
    Thanks ,
    Karthikeyan.P
    MSBI Developer-Chennai

    Dear Karthikeyan,
    Manual deletion is actually the most safe way to delete them. If you try update B1 tables directly, you are against SAP support rule.
    Thanks,
    Gordon

  • AP aging report from SAP

    We found that AP aging report from SAP  is not tie with Balance in Balance sheet.  Please advise how to find the report which match with our requirement.
    Concept of the AP aging report is to age outstanding AP as at the end of month (Open item date).  We found that A/P aging report which we currently use is cannot match to balance per G/L. (Please see detail in attached file). And the balance in AP aging report is always changes if we retrieve data on difference timing.
    Additionally, this report is not show the reconciliation account, please advise whether it is possible to show summary line which sum by reconciliation account.
    Please advise if you have another SAP transaction or any advise on this.
    kindly suggest

    Hi,
    For ageing report please go to fbl3n and go for change layout there is a option for ageing and posting period choose those two and subtotal it according to posting then you will get period wise meand month wise ageing  report for vendor.
    S_ALR_87012078 - Due Date Analysis for Open Items
    Hope this is clear if yes assign points
    Regards,
    Sankar

  • Downloading BW report from Portal into Excel

    Hi All,
    When a user is trying to download a BW report from Portal into Excel, it is prompting for User id and password of backend.
    But since portal has SSO this should not happen??
    Once the Uid and Pwd has been entered the report works fine.
    Why is this happening ??
    Need Urgent Help regarding this issue...
    Thanks in Advance.
    Regards,
    Shailesh Nagar

    are you connect the portal with proxy?

  • How to delete a report from SAP BO?

    is there a way to delete a report from SAP BO that won't be right clicking on it, organize, then delete. Something from the database because I have a report that for some reason has more than 2 million iterations trying to run and is making my server to crash and preventing that other scheduled reports to run.

    Following is an excerpt from the above KBA Janos mentioned.
    Important Note: It is strongly recommended to take backup of your CMS database and Filestore before performing the steps mentioned below.
    1.Navigate to http://<appservername>:8080/AdminTools
    2.Login with administrator account.
    3.Use this query to find number of pending instances (Name and ID of instance) in your environment:
    4.SELECT SI_NAME, SI_ID FROM CI_INFOOBJECTS WHERE SI_SCHEDULE_STATUS=9
    5.Connect to the CMS System Database with the proprietary database client (e.g., SQL Plus for Oracle).
    6.Execute the SQL statement to delete all pending instances in your environment.
    For SAP BusinessObjects Enterprise XI 3.1
    DELETE FROM CMS_INFOOBJECTS6 WHERE SCHEDULESTATUS=9
    For SAP BusinessObjects BI Platform 4.0
    DELETE FROM CMS_INFOOBJECTS7 WHERE SCHEDULESTATUS=9
    Regards,
    Onkar

Maybe you are looking for