Issue with Saving the Query output data in Excel format

Hi,
Recnetly we had upgraded from 4.6c to ECC 6.0.
In ECc 6.0 environment, when user try to export the query output , we are getting only XML option to save the data.
But user want to save the data in EXcel format, he was able to do that in 4.6C.
pleas eprovide some inputs, on this issue.
Thanks,
Sanketh.

I cannot for the life of me imagine, why a link to a post in the 'Business One Forum' where one uses ODBC to transfer query-data to MicroSoft Excel is of relevance to the OPs question, even if the same is not a security issue.
Never mind. [note 40155|https://service.sap.com/sap/support/notes/402155] deals with various symptoms in the ALV-Excel combination as as of release 4.6C. There are various others, mostly in components BC-SRV-ALV and BC-ABA-LI - also: I remember that when we upgraded from 4.5B to 4.7C there was an issue with Excel-templates -> the solution was in the release notes somewhere. So, in addition to SMP you might want to check the release notes and/or upgrade guide for solutions.
And yes, moderators ... this is not a security issue, this should go to ECC-Applications/Upgrade.

Similar Messages

  • Hi iam getting the alv grid data in excel format but iam facing one problem

    hi iam getting the alv grid data in excel format but iam facing one problem ,
    i.e., i want it read only  but iam getting it in edit mode i use layout default in excel iam getting in xl directly but in edit mode but i need it in read only mode
    what i have to do for that  and bdy knows reply me i need it urgently.

    there's always edit-mode if you choose excel-inplace - but noone can modify/rewrite the data
    A.

  • Sales report issue while saving the query

    Hi,
    I am working on Sales reports and that i came across a senario and facing a problem, can anyone help me over this
    Senario:
    I created a structure in Rows and added few keyfigures to the New structure which is in Rows.
    After that i added 2 charcteristics.
    Now the problem is that when i save the query i am getting the Keyfigure structure first and then characteristics
    But, i need the 2 charcteristics first and then i need the Keyfigures
    I changed the query as i want it like i placed 2 charcteristics first and then the keyfigure (structure) and the query saved sucessfully.
    The problem is that when i open the query again i found that the Keyfigure (structure) first and then the 2 charcteristics
    I did it all my possible ways still the problem perstists
    Edited by: MAHESH MUMAR on Oct 6, 2008 2:22 PM
    Edited by: MAHESH MUMAR on Oct 6, 2008 2:32 PM

    mahesh,,,
    can u xplain more what xactly is ur need.
    "After that i added 2 charcteristics."
    so do u want chars & keyfig in Rows only.
    this way i dont think u will have report output ..
    Take simple e.g. below:
    $----
    Quantity
    Material
    Channel112--
    1
    Channel223--
    34
    Is this how u want ur report to display?
    that means u will need material and channel in rows and keyfigures ($ & quantity ) in Columns.
    if this is not what u seek what else is your rek.
    sometimes such display helps to understand.
    Yes u can add chars in Rows and then add structure of keyfigure.
    Yes you can change the sequence of display in Rows among different structure.
    But do u still have something in columns.
    It is intersection of Rows & Columns that displays result data set...
    let us know in more detailed e.g.

  • Multiprovider Mapping Issue  # Values in the query output

    Q . I am getting # values for the free chars and no values for some of the KPIs
    I have created this report on top of a multiprovider which has a huge number of cubes ( exceeding 10 ) , four DSOs and a couple of infosets , and the query which i am creating should get values from 3 cubes only .
    1.I have placed Global Restrictions ( Char Restrictions ) on top of the query with 3 cubes
    2.had restricted the KPIs with the relevent infoproviders .
    3.I have mapped all the chars and key figures used in this query with relevent infoprovider restrictions
    But Still when i execute the Query  i see the following formatt of my Output
    Free Char          KPI1            KPI2
           filed3                                  10
           field2                                  09
           field1                                  07
           field0                                  06
    Not assigned       12.00              0
    Not assigned       12.00              0
    Not assigned       12.00              0
    Please provide me input for why i am getting this kind of out put with Not assigned values  and indifferent values for KPIs and what should be done to solve this problem .

    Hi,
    You mention that there are several InfoProviders underlying your MultiProvider. Check the characteristics and free chars you are using in your query - all of these should be present in all the underlying InfoProviders. For example, if you are using 0COMP_CODE in your query, and 0COMP_CODE is not present in one of the underlying DSOs, then they Key Figure values coming from that DSO will be shown against # (Not Assigned) value for 0COMP_CODE.
    Easy way to find out - go to LISTCUBE and enter your MP name. Display all the chars and free chars that are present in your query. Also display the INFOPROVIDER field. Look at the data, and see if there are any characteristics that are blank for all records for any particular InfoProvider. If you find any such chars, then that may be the reason behind your problem.
    To avoid this sort of problem, you can use Constant Selection http://help.sap.com/saphelp_nw70/helpdata/en/46/91f0f090ea13e8e10000000a155369/content.htm
    Regards,
    suhas

  • Issue while saving the Query Urgent

    Hi all,
    I had created the query and also transport it toht QA . but due to some problem i need to change query. when i am trying to make the changes i am unable to do it bcoz the whole query is in display mode only and i am getting a message that the query request is not available as it is released in to the QA .
    I am working on BI 7. plz let me know how can i make the change i also tried it by copying the query still i am unable to do it.
    Whats d steps that need to follow i know i am missing some where
    Regards

    Hi
    Go to RSA1-> Transport connection-> here click on Bex icon (Red truck icon) and in the next screen assign/create new transport request and then assign this request to your Bex package. Once you complete this, you will be able to make & save changes to Bex query.
    Hope this helps.
    Pradip

  • ITunes Library on NAS - issue with saving the library file

    I recently moved my library file and all iTunes data to a NAS. Generally, this setup seems to work (although writing files and editing information is fairly slow). However, when iTunes is open for longer periods, I often get the error message "The iTunes library cannot be saved. The required disk cannot be found." The connection to my NAS drive seems ok, though. I would welcome any ideas or reports of any settings changes that may have fixed the same issue.

    It sounds to me like your NAS is going to sleep.
    From what I have read on this forum using iTunes with NAS has all kinds of issues.

  • Issue with saving sales document.

    Hi,
         I have an issue with saving the sales document.
    When I save any sales document ( Order, Quotation, Contract, Delivery) its successful and showing document no in the information bar.
    But when I try to view or change the document, it shows no document exist in the database. Its not even in the archive.
    Any solution for this issue.
    Cheers
    Senthil

    Dear Senthil,
           This is related to technical issue (Database Updating) so you please take help from BASIS or ABAP people they will help you to fix this issue.
    I hope it will help you
    Regards,
    Murali.

  • Storing query output data in a DSO

    Hi Expert,
    Can you please tell me how to store a query output in a DSO?
    Thanks in advance for your help!
    Ranadip

    Hi,
    You can store the Query output data into DSO through the APD process.
    Analysis Process Designer Uses:
    In SAP BW, data from various databases from systems available in the company are collected, consolidated, managed and prepared for evaluation purposes. There is often further, valuable potential in this data.
    usefull link:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20b22245-0828-2c10-54b1-a2ddb167df01?quicklink=index&overridelayout=true
    Regards.

  • Download internal table data in excel format

    Hi ,
      i have a requirement where i need to download the internal table data in excel format .. I tried using the FM SAP_CONVERT_TO_XLS_FORMAT  but this downloads to excel sheet  same as .txt file foemat without columns ...   i need to have the data in excel sheet with column heading and separated by each coulmn which should be similar as a general sheet with column names and the respective data in the columns . Appreciate any inputs .
    Thanks,
    Latha.

    Hi,
    you can this in Debugging mode,
    say,once you got entire data into ITAB
    salect the TABLE option and provide the table name
    now on the top most you can see excel icon,you click
    on that,now system will prompts you for to the file to be saved.
    Regards,
    Vijaya.

  • Issues with using the output redirection character with newer NXOS versions?

    Has anyone seen any issues with using the output redirection character with newer NXOS versions?
    Am receiving "Error 0x40870004 while copying."
    Simply copying a file from bootflash to tftp is ok.
    This occurs for both 3CDaemon and Tftpd32 softwares.
    Have tried it on multiple switches - same issue.
    Any known bugs?
    thanks!
    The following is an example of bad (NXOS4.1.1b) and good (SANOS3.2.1a)
    MDS2# sho ver | inc system
      system:    version 4.1(1b)
      system image file is:    bootflash:///m9200-s2ek9-mz.4.1.1b.bin
      system compile time:     10/7/2008 13:00:00 [10/11/2008 09:52:55]
    MDS2# sh int br > tftp://10.73.54.194
    Trying to connect to tftp server......
    Connection to server Established. Copying Started.....
    TFTP put operation failed:Access violation
    Error 0x40870004 while copying tftp://10.73.54.194/
    MDS2# copy bootflash:cpu_logfile tftp://10.73.54.194
    Trying to connect to tftp server......
    Connection to server Established. Copying Started.....
    |
    TFTP put operation was successful
    MDS2#
    ck-ci9216-001# sho ver | inc system
      system:    version 3.2(1a)
      system image file is:    bootflash:/m9200-ek9-mz.3.2.1a.bin
      system compile time:     9/25/2007 18:00:00 [10/06/2007 06:46:51]
    ck-ci9216-001# sh int br > tftp://10.73.54.194
    Trying to connect to tftp server......
    |
    TFTP put operation was successful

    Please check with new version of TFTPD 32 server. The error may be due to older version of TFPT server, the new version available solved this error. Files are getting uploaded with no issues.
    1. Download tftpd32b.zip from:
    http://tftpd32.jounin.net/tftpd32_download.html
    2. Copy the tftpd32b.zip file into an empty directory and extract it.
    3. Copy the file you want to transver into the directory containing tftpd32.exe.
    4. Run tftpd32.exe from that directory. The "Base Directory" field should show the path to the directory containing the file you want to transfer.
    At this point, the tftpserver is ready to begin serving files. As devices request files, the main tftpd32 window will log the requests.
    Best Regards...

  • Issue While executing the Query for Pagination using ROWNUM with like

    Issue While executing the Query for Pagination using ROWNUM with like.
    Database is Oracle11G.
    Oracle Database Table contains 8-9 lakh records
    1) SQL equal (=)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE = 'KMF22600920'
    Execution Time:- 0.00869245 seconds
    Returns 2 resultsets
    2) SQL like (one %)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE = 'KMF22600920%'
    Execution Time:- 0.01094301 seconds
    Returns 2 resultsets
    3) SQL like (two%)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE like '%KMF22600920%'
    Execution Time:- 6.43989658 seconds
    Returns 2 resultsets
    In Pagination, we are using Modified version of SQL Query 3) with ROWNUM as mentioned below :-
    4) SELECT * FROM (
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE REFERENCE like '%KMF22600920%' AND ROWNUM <= 20 ) WHERE RNUM > 0
    Execution Time:- Infinite
    ResultSets:- No as execution time is infinite
    a) Instead of like if we use = in the above query it is returning the 2 resultsets (execution time 0.02699282 seconds)
    b) Instead of two % in the above query, if use one example REFERENCE like 'KMF22600920%' it is returning the 2 resultsets (execution time 0.03313019 seconds)
    Issue:- When using two % in like in the above query i.e. REFERENCE like '%KMF22600920%' AND ROWNUM <= 20 ) , it is going to infinite.
    Could you please let us know what is the issue with two % used in like and rownum
    5) Modified version of Option1 query (move out the RNUM condition AND RNUM <= 20)
    SELECT * FROM (
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE REFERENCE like '%KMF22600920%' ) WHERE RNUM > 0 AND RNUM <= 20
    Execution Time:- 7.41368914 seconds
    Returns 2 resultsets
    Is the above query is best optimized query which should be used for the Pagination or still can improve on this ?

    This would be easier to diagnose if there was an explain plan posted for the 'good' and 'bad' queries. Generally speaking using '%' on both sides precludes the use of any indexes.

  • I need to pass a query in form of string to DBMS_XMLQUERY.GETXML package...the parameters to the query are date and varchar ..please help me..

    I need to pass a query in form of string to DBMS_XMLQUERY.GETXML package...the parameters to the query are date and varchar ..please help me build the string .Below is the query and the out put. ( the string is building fine except the parameters are with out quotes)
    here is the procedure
    create or replace
    procedure temp(
        P_MTR_ID VARCHAR2,
        P_FROM_DATE    IN DATE ,
        P_THROUGH_DATE IN DATE ) AS
        L_XML CLOB;
        l_query VARCHAR2(2000);
    BEGIN
    l_query:=  'SELECT
        a.s_datetime DATETIME,
        a.downdate Ending_date,
        a.downtime Ending_time,
        TO_CHAR(ROUND(a.downusage,3),''9999999.000'') kWh_Usage,
        TO_CHAR(ROUND(a.downcost,2),''$9,999,999.00'') kWh_cost,
        TO_CHAR(ROUND(B.DOWNUSAGE,3),''9999999.000'') KVARH
      FROM
        (SELECT s_datetime + .000011574 s_datetime,
          TO_CHAR(S_DATETIME ,''mm/dd/yyyy'') DOWNDATE,
          DECODE(TO_CHAR(s_datetime+.000011574 ,''hh24:'
          ||'mi''), ''00:'
          ||'00'',''24:'
          ||'00'', TO_CHAR(s_datetime+.000011574,''hh24:'
          ||'mi'')) downtime,
          s_usage downusage,
          s_cost downcost
        FROM summary_qtrhour
        WHERE s_mtrid = '
        ||P_MTR_ID||
       ' AND s_mtrch   = ''1''
        AND s_datetime BETWEEN TO_DATE('
        ||P_FROM_DATE||
        ',''DD-MON-YY'') AND (TO_DATE('
        ||P_THROUGH_DATE||
        ',''DD-MON-YY'') + 1)
        ) a,
        (SELECT s_datetime + .000011574 s_datetime,
          s_usage downusage
        FROM summary_qtrhour
        WHERE s_mtrid = '
        ||P_MTR_ID||
        ' AND s_mtrch   = ''2''
        AND s_datetime BETWEEN TO_DATE('
        ||P_FROM_DATE||
        ',''DD-MON-YY'') AND (TO_DATE('
        ||P_THROUGH_DATE||
        ','' DD-MON-YY'') + 1)
        ) B
      where a.S_DATETIME = B.S_DATETIME(+)';
    SELECT DBMS_XMLQUERY.GETXML('L_QUERY') INTO L_XML   FROM DUAL;
    INSERT INTO NK VALUES (L_XML);
    DBMS_OUTPUT.PUT_LINE('L_QUERY IS :'||L_QUERY);
    END;
    OUTPUT parameters are in bold (the issue is they are coming without single quotes otherwise th equery is fine
    L_QUERY IS :SELECT
        a.s_datetime DATETIME,
        a.downdate Ending_date,
        a.downtime Ending_time,
        TO_CHAR(ROUND(a.downusage,3),'9999999.000') kWh_Usage,
        TO_CHAR(ROUND(a.downcost,2),'$9,999,999.00') kWh_cost,
        TO_CHAR(ROUND(B.DOWNUSAGE,3),'9999999.000') KVARH
      FROM
        (SELECT s_datetime + .000011574 s_datetime,
          TO_CHAR(S_DATETIME ,'mm/dd/yyyy') DOWNDATE,
          DECODE(TO_CHAR(s_datetime+.000011574 ,'hh24:mi'), '00:00','24:00', TO_CHAR(s_datetime+.000011574,'hh24:mi')) downtime,
          s_usage downusage,
          s_cost downcost
        FROM summary_qtrhour
        WHERE s_mtrid = N3165 AND s_mtrch   = '1'
        AND s_datetime BETWEEN TO_DATE(01-JAN-13,'DD-MON-YY') AND (TO_DATE(31-JAN-13,'DD-MON-YY') + 1)
        ) a,
        (SELECT s_datetime + .000011574 s_datetime,
          s_usage downusage
        FROM summary_qtrhour
        WHERE s_mtrid = N3165 AND s_mtrch   = '2'
        AND s_datetime BETWEEN TO_DATE(01-JAN-13,'DD-MON-YY') AND (TO_DATE(31-JAN-13,' DD-MON-YY') + 1)
        ) B
      where a.S_DATETIME = B.S_DATETIME(+)

    The correct way to handle this is to use bind variables.
    And use DBMS_XMLGEN instead of DBMS_XMLQUERY :
    create or replace procedure temp (
      p_mtr_id       in varchar2
    , p_from_date    in date
    , p_through_date in date
    is
      l_xml   CLOB;
      l_query VARCHAR2(2000);
      l_ctx   dbms_xmlgen.ctxHandle;
    begin
      l_query:=  'SELECT
        a.s_datetime DATETIME,
        a.downdate Ending_date,
        a.downtime Ending_time,
        TO_CHAR(ROUND(a.downusage,3),''9999999.000'') kWh_Usage,
        TO_CHAR(ROUND(a.downcost,2),''$9,999,999.00'') kWh_cost,
        TO_CHAR(ROUND(B.DOWNUSAGE,3),''9999999.000'') KVARH
      FROM
        (SELECT s_datetime + .000011574 s_datetime,
          TO_CHAR(S_DATETIME ,''mm/dd/yyyy'') DOWNDATE,
          DECODE(TO_CHAR(s_datetime+.000011574 ,''hh24:'
          ||'mi''), ''00:'
          ||'00'',''24:'
          ||'00'', TO_CHAR(s_datetime+.000011574,''hh24:'
          ||'mi'')) downtime,
          s_usage downusage,
          s_cost downcost
        FROM summary_qtrhour
        WHERE s_mtrid = :P_MTR_ID
        AND s_mtrch   = ''1''
        AND s_datetime BETWEEN TO_DATE(:P_FROM_DATE,''DD-MON-YY'')
                           AND (TO_DATE(:P_THROUGH_DATE,''DD-MON-YY'') + 1)
        ) a,
        (SELECT s_datetime + .000011574 s_datetime,
          s_usage downusage
        FROM summary_qtrhour
        WHERE s_mtrid = :P_MTR_ID
        AND s_mtrch   = ''2''
        AND s_datetime BETWEEN TO_DATE(:P_FROM_DATE,''DD-MON-YY'')
                           AND (TO_DATE(:P_THROUGH_DATE,'' DD-MON-YY'') + 1)
        ) B
      where a.S_DATETIME = B.S_DATETIME(+)';
      l_ctx := dbms_xmlgen.newContext(l_query);
      dbms_xmlgen.setBindValue(l_ctx, 'P_MTR_ID', p_mtr_id);
      dbms_xmlgen.setBindValue(l_ctx, 'P_FROM_DATE', to_char(p_from_date, 'DD-MON-YY'));
      dbms_xmlgen.setBindValue(l_ctx, 'P_THROUGH_DATE', to_char(p_through_date, 'DD-MON-YY'));
      l_xml := dbms_xmlgen.getXML(l_ctx);
      dbms_xmlgen.closeContext(l_ctx);
      insert into nk values (l_xml);
    end;

  • Central Management server - executed a query but how to send the query output in the form of mail?

    Hi All,
    i have used CMS in SQL 2008 R2. i have added couple of servers in its group. i have executed a query & i need to send the query output in the form of email.
    basically query is checking the rows count from couple of user tables in servers.
    issue here is how to copy the data that is used by CMS? i need to work on automate the rows count in difft user table in db servers
    could you please suggest how can i achieve this?

    Copy to what?
    SELECT COUNT(*) FROM sys.objects
    Running the above statement returns two columns (server name and count)
    All the servers SS2005  and onwards , then use
    EXEC msdb.dbo.sp_send_dbmail 
         @profile_name = 'name', 
         @recipients = '[email protected]', 
         @query = 'SELECT COUNT(*) FROM sys.objects', 
         @subject = 'Count rows'
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How to get the Query output to Excel

    Hi ,
    Can you tell me how to get the Query output to excel with out using any third party tool?
    Can you tell me how to write the code in Webservice and call it..
    Please explain it Elaboartly..
    Thanks in Advance!!!
    Mini

    whats your source system?
    you can use Live office, or query as a webservice if you are getting data from universe
    if you're getting data from SAP BI query and you have a java stack on your netweaver then you can get the data directly using sap bi connector in xcelsius.
    good luck

  • How to replace # in the query output ?

    Hi experts,
    In the query output and for a particular field in a record if there is no value then it is displaying as '#'.
    Can  we replace '#' with any text or with any other value ?
    Regards,
    Nishuv V.

    hello,
    if you display the characteristics as Key u will get as '#'.
    You can select as Text,then it will show 'Not Assigned'.
    Further, check on these threads:
    How to replace '#' with blank when there is no value for a date field
    Re: How to replace display attribute Value '0', instead of '#' in the query
    Reg,
    Dhanya

Maybe you are looking for

  • Windows 7 64 bit: Just installed firefox and pages will not load, or are very slow, IE explorer loads instantly

    I installed windows ultimate 64 bit, Tried to install firefox for my default browser. Internet explorer loads everything like normal, no problem but firefox will not load or does after 5 mins + I checked my firewall windows provides and Avira to see

  • Ipod nano sound not right - please help!

    Hi, I got an ipod nano for my birthday today, followed the instructions and loaded it all in, loaded all my CD's into itunes, loaded them all onto the nano, but when I finally came to listen to my songs, the sound is all weird. The vocals are very qu

  • Unable to Clear Recent Address Searches in Maps Application

    How do I clear or delete recent address searches in the Maps application on a Blackberry 9850?  When I select Maps, Get Directions, Select End Location, Find a Location, my recent address searches are displayed under Recent Searches.  How do I delete

  • Hyper-V only able to ping remote (laptop) using IPV4, fails with IPV6

    I have a desktop setup to remotely manage Hyper-V and it is working fine. I am trying to setup remote management from my laptop. The server is failing to ping the laptop using IPV6. The desktop can ping both the server an the laptop using names and I

  • How do you call a field?

    Good morning everyone, I'm trying to work with the BufferedInputStream (work from friday) and i went to the website: http://java.sun.com/j2se/1.4.2/docs/api/java/io/BufferedInputStream.html#BufferedInputStream(java.io.InputStream) at that website the