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

Similar Messages

  • How to get the query output depending on the current date

    i created a region of type "query",inside it created region using wizard of type "table" . in the query i filter the data depending on the current date (taken from dual table) . but still it showing no output on the page. i run the same query in the toad and its showing the 2-3 rows.
    If anybody know where the problem is then do inform me.
    thanks in advance.

    i got the answer by trying out in OAF

  • How to get the query result of improvement (Before and After ) using sql de

    how to get the query result of improvement (Before and After ) using sql developer.

    Check
    http://www.oracle.com/technetwork/articles/sql/exploring-sql-developer-1637307.html

  • How to get the query values from the url in a servlet and pass them to jsp

    ok..this is the situation...
    all applications are routed through a login page...
    so if we have a url like www.abc.com/appA/login?param1=A&param2=B , the query string must be passed onto a servlet(which is invoked before the login page is displayed)..the servlet must process the query string and then should pass all those values(as hidden values) to the login jsp..then user enters username and pswd, then there should be another servlet which takes all the hidden values of jsp and also username and pswd, authenticates the user and sends the control back to that particular application along with the hidden values...
    so i need help on how to parse the query string from the original url in the servlet, pass it out to jsp, and then pass it back to the servlet and back to the original application...damnn...any help would be greatly appreciated...thanks

    ok..this is the situation...Sounds like you have a bad design on your hands.
    You're going to send passwords in a GET request as clear text? Nice security there.
    Why not start with basic security and work your way up?
    %

  • How to get the query name from  portal report name

    Hi Experts ,
    I am given a portal report Name and asked to do changes to the queries of that ,so how do i get the query name ,
    Thanks in Advance
    Nitya

    Hi Nithya,
    You can get the technical name by selecting the role in the portal where the report is enclosed you will generally find the report in description then identify the report you are looking then double click on that you will get a window pop-up in that you will have details tab there click on the details the your Query technical name will be displayed.
    EX : zqry_w001 Then replace W with Q and seach in analyser or Designer.
    Regards
    Amar.

  • 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 export the sql output to Excel?

    I installed Raptor on my system. I ran few reports and trying to figure out how to save the reprots to excel srpeasheet format. I just see 'save' but not sure where the output is saved and with what filename. Saveas is grayed out all the time.

    Unfortunately, there are some things that Excel gets confused going through CSV files (or copy and pate). For example, our task number structure within Oracle Projects is to name each task with the super-task number "-" sub task number (10, 10-1, 10-2, 10-3, etc). As soon as you are not directly creating the Excel file, Excel will interpret the "10-1", "10-2", etc as dates - 10-Jan, 10-Feb for our date format and presumably 1-Oct, 2-Oct for US date format.
    I have just tested exporting the data to CSV and then opening in Excel and also selecting all data, copying and pasting into Excel and both convert "10-1" to 10-Jan (assumes current year).
    You get similar issues with text columns that contain only numeric values (for example our employee numbers are stored in a text field, but are numeric and left passed with zeros to ensure consistent length), or a mixture of numeric values and alpha-numeric values.

  • How to get the query execution time

    Hi,
    I am new to oracle and I am trying to get the execution time of a query.I tried the command set timing on and executed the query.But,the time it gives me is including the display of results.In my case,I ran a query against 50 million records and it is taking around 5 hours to display all the results.I like to know,how much time it take just to execute the query?Please help.
    Thanks
    Ravi.

    Maybe this way ?
    TEST@db102 SQL> set timing on
    TEST@db102 SQL> set autotrace traceonly
    TEST@db102 SQL> select * from foo;
    332944 rows selected.
    Elapsed: 00:00:29.04
    Execution Plan
    Plan hash value: 1245013993
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |   274K|    46M|  1071   (5)| 00:00:13 |
    |   1 |  TABLE ACCESS FULL| FOO  |   274K|    46M|  1071   (5)| 00:00:13 |
    Note
       - dynamic sampling used for this statement
    Statistics
            288  recursive calls
              0  db block gets
          26570  consistent gets
           4975  physical reads
              0  redo size
       35834383  bytes sent via SQL*Net to client
         244537  bytes received via SQL*Net from client
          22198  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
         332944  rows processed
    TEST@db102 SQL>                                                                               

  • How to get the desired output in the format ...?

    Hi all,
    I am having data like this.
    Col1 col2 col3
    1 2 1
    1 2 2
    1 2 3
    2 3 7
    2 3 8
    2 3 9
    I want to output the data like this
    1 2 1,2,3
    2 3 7,8,9
    How to get this.
    Thanks in advance,
    Pal

    In simple sql...
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select * from t
      2  /
          COL1       COL2       COL3
             1          2          1
             1          2          2
             1          2          3
             2          3          7
             2          3          8
             2          3          9
    6 rows selected.
    SQL> select max(decode(rno,1,to_number(col1||col2||col3))) col1, max(decode(rno,2,col3)) col2, max(decode(rno,3,col3)) col3
      2    from (select row_number() over(partition by col1,col2 order by col3) rno, t.*
      3           from t)
      4  group by col1
      5  /
          COL1       COL2       COL3
           121          2          3
           237          8          9
    SQL>Thanks,
    Karthick.

  • SAP WEBGUI - How to download the report output to Excel ?

    Hi Folks ,
    We have generated a report in standard SAP GUI 7.1 . But our requirement is to view the report in SAP WEBGUI and download as EXCEL .
    We can view the report output in SAP WEBGUI , but could find an option to download as excel  !
    Is there any option in webgui ?
    Please provide you valuable inputs !
    Thanks.,
    V.Rangarajan

    Hi V.Ranjarajan,
    Have you created an ALV report?
    If yes, there are many ways to download the output to excel:
    Go to Menu -> Export - > Local File... , local file button, etc.
    In SAP CRM 7.0 there is a std functionality to even download search result list to excel.
    Hope this helps!
    Regards,
    Saumya

  • How to get the query design element meaning with the technical name ?

    In BI 7.0 query designer, we got error msg in Transport Connection like:
    Object 41PPHH3DICYQ56L2XJGXDRSMT is already being
    edited by user_id
    Choose 'Display object' or 'Cancel'.
    How to check what design element is for 41PPHH3DICYQ56L2XJGXDRSMT?  And what could cause the above error?
    We will give you reward points!

    You can collect the query and its elements in the transport connection. The under the technical name you will find this and the element.
    Hope this helps.
    Kumar

  • How to get the given output format..

    Hi,I want to write a code in ABAP in such a way that I should get the output in the right side format.
    Ex:
    1200 - > 1,200
    12000  - > 12,000
    120000 ->  120,000
    1200000 -> 1,200,000
    12000000 -> 12,000,000
    120000000 - > 120,000,000
    Thanks.

    HI tushar,
    1. I don't know whether i understood u r question !
    2. FOr writing with COMMA,
      if we use simple WRITE,
      then it will show just as u want !
    regards,
    amit m.

  • How to get the Query Layout (Rows & Column fields)

    Hi,
    Any idea where in the backend repository the SAP BW query attributes are stored.
    I have created a Query using Query analyzer and i would like to where exactly this query info is stored. is there any BAPI that would give this info if i provide the query name?
    Thanks,
    Ram

    Hi Ram,
       You can see the query details from Metadata repository. againest perticular infoproviders and quiries.
    Hope it Helps
    Srini

  • How to get the desire output from sql query

    Consider an Order Table: ...
    Order Table:
    Order Id Item Qty
    O1 A1 5
    O2 A2 1
    O3 A3 3
    Please provide SQL which will explode the above data into single unit level records as shown below
    Desired Output:
    Order Id Order Id Qty
    O1 A1 1
    O1 A1 1
    O1 A1 1
    O1 A1 1
    O1 A1 1
    O2 A2 1
    O3 A3 1
    O3 A3 1
    O3 A3 1

    How do I ask a question on the forums?
    SQL and PL/SQL FAQ

  • How to get the query result !

    Experts !
    i am working on a query. in this query i have a sales for a sales person for a month, and in the 2nd coulmn sales for the previous month. there is a 3rd column which gives (% change ). now i have to show only those records where (% change ) is more / less 34%. how do i get those ? Exceptions ??
    If by using exceptions, then the 3rd column ( % change) is a formula column ( Not the key figure) . can i use exceptions on Formula column ?
    Please help

    HI ,
    You can try this by creating a condition ,
    Create a new condition, in keyfigure you can choose the formula for %, choose  the operator as Greater than , in values give 34
    Regards,
    Sathya

Maybe you are looking for