WAD Export to Excel, PDF parameters query export

Hi,
I solve the problem with export to excel in WAD. Customer want to see all parameters (and also filters in query) with which are query execute in query in  export to MS Excel or PDF.
Any advices?
Thanks
Petr

Hi,
Take a copy of template 0ANALYZER, it will have all the components which have the web analyzer.
Check the below link for the same:
http://help.sap.com/saphelp_nw04/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
Hope this helps........
Rgs,
Ravikanth

Similar Messages

  • Export data to Excel/PDF from e.g. a repeater tag?

    Hi,
    The repeater tag as well as the grid tag are very useful. But what if we would like to provide functionality for the user export the data shown further to Excel/PDF?
    I looked at http://displaytag.sourceforge.net/ which gives this possibility out of the box.
    Others done anything similiar with BEA netui tags?
    Perhaps creating your own custom tag?
    Regards,
    Tonny Gundersen
    Accenture

    Hi SAP,
    Simply List -> Save -> File -> spreadsheet -> file.xls
    Or check this weblog..
    <a href="/people/dennis.vandenbroek/blog/2007/02/14/simple-function-module-to-export-any-internal-table-to-ms-excel:///people/dennis.vandenbroek/blog/2007/02/14/simple-function-module-to-export-any-internal-table-to-ms-excel
    or
    try this code..
    DATA : file_name TYPE ibipparms-path,
    lc_filename TYPE string.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
    PROGRAM_NAME = SYST-CPROG
    DYNPRO_NUMBER = SYST-DYNNR
    FIELD_NAME = ' '
    IMPORTING
    file_name = file_name .
    lc_filename = file_name.
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE =
    filename = lc_filename
    filetype = 'DAT'
    TABLES
    data_tab = gt_itab.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Revert back for more help
    Reward points if helpful
    Regards
    Naresh

  • Using OBIEE Scheduler to export and save data in excel/pdf

    Hi
    Is it possible to use obiee scheduler and run particular reports and export the data into excel/pdf and save this file at given location on server.
    env: obiee 11g/linux OS
    Thanks for any ideas.

    Hi,
    Yes it is possible.
    As per my knowledge we don't have such option but we can do one way.
    Using IBOTS you can store specific report and specific time in specific location.
    Note : Using JS script.
    Are you going to implement this way send me your mails id will send you js script for doing this.
    Re: Auto SAVE to excel -- Please refer this thread.
    Create js file using the below script and add this js scrif in your ibot advanced tab.
    var FSO = new ActiveXObject("Scripting.FileSystemObject");
    var foldername = 'D:\IBOT'
    if (FSO.FolderExists(foldername))
    var fileName = foldername + "\\" +Parameter(1);
    var fooFile = FSO.CopyFile(Parameter(0), fileName, true);
    else
    FSO.CreateFolder(foldername);
    var fileName = foldername + "D:\IBOT" + Parameter(1);
    var fooFile = FSO.CopyFile(Parameter(0), fileName, true);
    Thanks,
    Satya

  • How to export sql table data to Excel/PDf using Storedprocedure?

    Hi ,
            I have one table in sqlserver2008R2 that named "Customer" so that table hold the 1 Lac rows. Now I want send this table data to Excel/pdf with Columns using Storedprocedure.
       I have tried this using xp_cmdshell so This is not working for me.
    finally i want to get data in Excel and pdf also.
    Please guide me

    You can actually run an Excel Macro to grab the data from the SQL Server DB.  Below are some samples.
    Sub ADOExcelSQLServer()
    ' Carl SQL Server Connection
    ' FOR THIS CODE TO WORK
    ' In VBE you need to go Tools References and check Microsoft Active X Data Objects 2.x library
    Dim Cn As ADODB.Connection
    Dim Server_Name As String
    Dim Database_Name As String
    Dim User_ID As String
    Dim Password As String
    Dim SQLStr As String
    Dim rs As ADODB.Recordset
    Set rs = New ADODB.Recordset
    Server_Name = "Excel-PC\SQLEXPRESS" ' Enter your server name here
    Database_Name = "Northwind" ' Enter your database name here
    User_ID = "" ' enter your user ID here
    Password = "" ' Enter your password here
    SQLStr = "SELECT * FROM dbo.Orders" ' Enter your SQL here
    Set Cn = New ADODB.Connection
    Cn.Open "Driver={SQL Server};Server=" & Server_Name & ";Database=" & Database_Name & _
    ";Uid=" & User_ID & ";Pwd=" & Password & ";"
    rs.Open SQLStr, Cn, adOpenStatic
    ' Dump to spreadsheet
    With Worksheets("sheet1").Range("a1:z500") ' Enter your sheet name and range here
    .ClearContents
    .CopyFromRecordset rs
    End With
    ' Tidy up
    rs.Close
    Set rs = Nothing
    Cn.Close
    Set Cn = Nothing
    End Sub
    Sub ADOExcelSQLServer()
    Dim Cn As ADODB.Connection
    Dim Server_Name As String
    Dim Database_Name As String
    Dim User_ID As String
    Dim Password As String
    Dim SQLStr As String
    Dim rs As ADODB.Recordset
    Set rs = New ADODB.Recordset
    Server_Name = "LAPTOP\SQL_EXPRESS" ' Enter your server name here
    Database_Name = "Northwind" ' Enter your database name here
    User_ID = "" ' enter your user ID here
    Password = "" ' Enter your password here
    SQLStr = "SELECT * FROM Orders" ' Enter your SQL here
    Set Cn = New ADODB.Connection
    Cn.Open "Driver={SQL Server};Server=" & Server_Name & ";Database=" & Database_Name & _
    ";Uid=" & User_ID & ";Pwd=" & Password & ";"
    rs.Open SQLStr, Cn, adOpenStatic
    With Worksheets("Sheet1").Range("A2:Z500")
    .ClearContents
    .CopyFromRecordset rs
    End With
    rs.Close
    Set rs = Nothing
    Cn.Close
    Set Cn = Nothing
    End Sub
    Sub TestMacro()
    ' Create a connection object.
    Dim cnPubs As ADODB.Connection
    Set cnPubs = New ADODB.Connection
    ' Provide the connection string.
    Dim strConn As String
    'Use the SQL Server OLE DB Provider.
    strConn = "PROVIDER=SQLOLEDB;"
    'Connect to the Pubs database on the local server.
    strConn = strConn & "DATA SOURCE=(local);INITIAL CATALOG=NORTHWIND.MDF;"
    'Use an integrated login.
    strConn = strConn & " INTEGRATED SECURITY=sspi;"
    'Now open the connection.
    cnPubs.Open strConn
    ' Create a recordset object.
    Dim rsPubs As ADODB.Recordset
    Set rsPubs = New ADODB.Recordset
    With rsPubs
    ' Assign the Connection object.
    .ActiveConnection = cnPubs
    ' Extract the required records.
    .Open "SELECT * FROM Categories"
    ' Copy the records into cell A1 on Sheet1.
    Sheet1.Range("A1").CopyFromRecordset rsPubs
    ' Tidy up
    .Close
    End With
    cnPubs.Close
    Set rsPubs = Nothing
    Set cnPubs = Nothing
    End Sub
    Finally, you can run a SProc in SQL Server, from Excel, if you want the SProc to do the export.
    Option Explicit
    Sub Working2()
    'USE [Northwind]
    'GO
    'DECLARE @return_value int
    'EXEC @return_value = [dbo].[TestNewProc]
    ' @ShipCountry = NULL
    'SELECT 'Return Value' = @return_value
    'GO
    Dim con As Connection
    Dim rst As Recordset
    Dim strConn As String
    Set con = New Connection
    strConn = "Provider=SQLOLEDB;"
    strConn = strConn & "Data Source=LAPTOP\SQL_EXPRESS;"
    strConn = strConn & "Initial Catalog=Northwind;"
    strConn = strConn & "Integrated Security=SSPI;"
    con.Open strConn
    'Put a country name in Cell E1
    Set rst = con.Execute("Exec dbo.TestNewProc '" & ActiveSheet.Range("E1").Text & "'")
    'The total count of records is returned to Cell A5
    ActiveSheet.Range("A5").CopyFromRecordset rst
    rst.Close
    con.Close
    End Sub
    Sub Working()
    'USE [Northwind]
    'GO
    'DECLARE @return_value int
    'EXEC @return_value = [dbo].[Ten Most Expensive Products]
    'SELECT 'Return Value' = @return_value
    'GO
    Dim con As Connection
    Dim rst As Recordset
    Set con = New Connection
    con.Open "Provider=SQLOLEDB;Data Source=LAPTOP\SQL_EXPRESS;Initial Catalog=Northwind;Integrated Security=SSPI;"
    Set rst = con.Execute("Exec dbo.[Ten Most Expensive Products]")
    'Results of SProc are returned to Cell A1
    ActiveSheet.Range("A1").CopyFromRecordset rst
    rst.Close
    con.Close
    End Sub
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • I have logged into a banking platform that allows me to look at statements then download them into excel & pdf, when I have tried to do this in firefox the icons of excel and pdf have disappeared. It allows me to export in internet explorer?

    I have logged into a banking platform that allows me to look at statements then download them into excel & pdf, when I have tried to do this in firefox the icons of excel and pdf have disappeared. It allows me to export in internet explorer?
    == This happened ==
    Every time Firefox opened
    == When I started using firefox over internet explorer

    Do you have an PDF Viewer plug-in instaled? If no install one.

  • Visual Composer Export to Excel/PDF..

    Hello all,
    I have a question regarding using Visual Composer's Web API commands to export to excel/pdf etc. I've read the document "How to Export Data from Visual Composer" (https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/47fe4fef-0d01-0010-6f87-ed8ecb479123 ) and applied the steps but that is helpful for an individual data service which I was successful in doing.  In my example, for one view, I have multiple Data services pointing to different reports and have charts/graphs/tables against them. I want to be able to print all the Charts/Graphs in the one view and not individually.
    Does anyone have any insight into this? If you need more information I am more then willing to explain.
    Thank you for your help in advance.

    Hi,
    Then try with this links.
    http://searchsap.techtarget.com/generic/0,295582,sid21_gci1235161,00.html
    http://www.sap-press.de/download/dateien/1124/sappress_netweaver_visual_composer.pdf
    Thanks.
    Hemav

  • Automatcially Execute Report (with input parametrs) and Save to Excel/PDF

    I have an SSIS package that does this in SQL 2008 R2 by means of a Script Task that uses ReportExecution2005. I cannot get this to work in SQL2012. It the script builds without error but reports a compile error when I close the Script Task, with the dreaded
    red X in the Control Flow window.
    It has occurred to me that perhaps I can do the same thing using SSRS Web Service, supplying the necessary information in the URL. I know how to supply parameter values and tell it to render in Excel (or PDF) format but user action is still required to
    save the file. Is there a way to provide an output file name in the URL so that the file is automatically saved without even displaying the report?
    I an also looking at PowerShell/ReportExcution2005 as an option and will raised separate post on that subject.
    R Campbell

    Hi Dick Campbell,
    According to your description, you want to export report to Excel/PDF from the a web site and save it without displaying the report, if that is the case, we can use ReportExcution2005.asmx as the report rendering web service.
    SQL Server Reporting Services is essentially implemented as a set of Web services, commonly referred to as SOAP API. In order to use the endpoints from Visual Studio, please refer to the following steps:
    Add Web reference to the endpoints.
    Then we need to initialize the report by calling the LoadReport() method.
    If the report contains parameters, we need to declare and populate an array of ParameterValue objects. Once the parameters are set up, we can call the SetExecutionParameters() method and pass them in rsExec.SetExecutionParameters(executionParams, "en-us").
    Call the Render() method. This method renders the report and returns it as a byte array that we can save into a file.
    The following code is for your reference:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using WebApplication3.ReportExecution2005;
    using System.IO;
    namespace WebApplication3
    public partial class _Default : System.Web.UI.Page
    protected void Page_Load(object sender, EventArgs e)
    ReportExecutionService rsExec = new ReportExecutionService();
    rsExec.Credentials = System.Net.CredentialCache.DefaultCredentials;
    rsExec.Url = "http://servername/ReportServer/reportexecution2005.asmx";
    string historyID = null;
    string reportPath = "/multi-value parameter/sub";
    rsExec.LoadReport(reportPath, historyID);
    ReportExecution2005.ParameterValue[] executionParams;
    executionParams = new ReportExecution2005.ParameterValue[1];
    executionParams[0] = new ReportExecution2005.ParameterValue();
    executionParams[0].Name = "group";
    executionParams[0].Value = "Europe";
    new ReportExecution2005.ParameterValue();
    rsExec.SetExecutionParameters(executionParams, "en-us");
    string deviceInfo = null;
    string extension;
    string encoding;
    string mimeType;
    ReportExecution2005.Warning[] warnings = null;
    string[] streamIDs = null;
    string format = "Excel";
    Byte[] results = rsExec.Render(format, deviceInfo, out extension, out mimeType, out encoding, out warnings, out streamIDs);
    FileStream stream = File.OpenWrite("c:\\Users\\Reports\\report.xlsx");
    stream.Write(results, 0, results.Length);
    stream.Close();
    For more information, please refer to the following document:
    http://www.experts-exchange.com/Programming/Microsoft_Development/Q_27581973.html
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • How to upload documents( like word, excel, pdf etc) into r/3 system

    Hi All,
               Does anyone have information on uploading and downloading documents like word, excel,pdf etc into R/3 system. Is there any function modules, classes, programs etc to do this.
        To give an example about what i mean by uploading documents, we can take the process of attaching documents in support of a SLM issue in solution manager.

    Hi Syed,
      Use the FM gui_upload to upload a file from presentation server and gui_download to download file to presentation server. see the code below and also read the documentation of the respective FM's.
    data:
        lw_file  type string,              " File Path
        lw_file1 type IBIPPARMS-PATH.      " File Path
      CALL FUNCTION 'F4_FILENAME'
       IMPORTING
         FILE_NAME            = lw_file1.
      lw_file = lw_file1.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                      = lw_file
          FILETYPE                      = 'ASC'
          HAS_FIELD_SEPARATOR           = 'X'
        tables
          data_tab                      = t_kna1
       EXCEPTIONS
         FILE_OPEN_ERROR               = 1
      IF sy-subrc <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.                               " IF SY-SUBRC <> 0
    data:
        lw_file  type string,              " File Path
        lw_file1 type IBIPPARMS-PATH.      " File Path
      CALL FUNCTION 'F4_FILENAME'
       IMPORTING
         FILE_NAME            = lw_file1.
      lw_file = lw_file1.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
    *     BIN_FILESIZE                  =
          FILENAME                      = lw_file
          FILETYPE                      = 'ASC'
    *     APPEND                        = ' '
          WRITE_FIELD_SEPARATOR         = 'X'
    *     HEADER                        = '00'
        TABLES
          DATA_TAB                      = t_KNA1
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.                               " IF SY-SUBRC <> 0
      IF SY-SUBRC = 0.
        message 'file downloaded successfully' type 'S'.
      ENDIF.                               " IF SY-SUBRC = 0
    With luck,
    Pritam.

  • Updating content sent to Excel / PDF output

    Hi
    How do I change the data that is sent to Excel / PDF during the export command?
    I have JavaScript, which runs once the page is loaded, which updates values in the display to show the correct values, but these corrected values are not included in the export.
    Any ideas?
    Cheers,
    Andrew

    Hi Lou,
    Did you write the app?
    If you did not write the app then please contact the makers of the software for support. If you did then...
    How CR works is when you open a report the Report Engine will copy the report to the \temp folder and give it a unique name as you have seen.
    To get the name of the report and in C# do this:
    string MyRptName = rpt.FileName.ToString();
    MyRptName = MyRptName.Substring(MyRptName.LastIndexOf(@"\") + 1, (rpt.FileName.Length - 3) - (MyRptName.LastIndexOf(@"\") + 1)) + "pdf";
    Thank you
    Don

  • Component to URL link a word/excel/pdf document inside Page

    Hello Experts,
    I would really appreciate if somebody can answer if there are any standard component or functionality available to call a network URL link to a word/excel/pdf document inside a ABOUT tab page for the definition and screenshot of How-to and functionality of the dashboard.
    I am trying to avoid creating a custom component to use SAP UI5 HTML control to initialize a OLE object call to a given URL.
    Thanks
    Arun

    Well, Word and Excel documents are binary, so you will need a Binary LOB (BLOB).
    I have recently been storing/retrieving BLOBs through ASP/ADO . . .
    BLOBs are limited to 4GB, but ADO has a limit of 2GB. Hopefully, that will not be a problem.
    If you are using ODBC, then be aware that you need to enable LOBs by setting LOB=T in the connection string. If you are using ODBC with stored procedures, then there is a bug that causes the LOBs to be truncated to 32K, which is fixed in 9.2.0.6.5. A colleague tells me that the Microsoft ODBC Driver for Oracle works with LONGs but not with LOBs.
    If you are using OleDB with stored procedures, then you'll need to set the "SPPrmsLOB" property to TRUE.
    When uploading BLOBs through ADO, you need to set the parameter size to 1 higher than the actual size, otherwise you get an error.
    When retrieving the BLOBs through stored procedures as OUT parameters, you need to set the parameter size to larger than the BLOB, otherwise it gets truncated. I do not like having to specify 2GB for a file that might only be 32K, so I prefer to return a record set via a REF CURSOR.
    Tak

  • How can I open excel pdf files

    How can I open excel pdf files

    Hi mmart1957,
    Do you have Excel files, PDF files, or PDF files that have been converted to Excel? If you're working with PDF files, you'll need either Reader or Acrobat to open the files. If you have a converted Excel file, then you'll need Excel to open it.
    Best,
    Sara

  • How do you have more than one parameterized Query to display "All"?

    hi,
    I am using:
    Jdeveloper 9.0.5.2
    Oracle Database 9.2.0.1
    Toplink
    Struts
    I have been able to create a parameterized query to display an html read only table.
    I populated a dropdown list with values from the database
    and the values I select will be the parameters to my read only table.
    The drop down list is on the same page as the read only table.
    I have all this working but I also need to hard code an option in the Drop down to "All"
    to represent all values of this parameter.
    I was able to trick the jsp page using two read only tables
    and displaying the one with the parameterized query when a parameter other than "All" was chosen
    and then display the other only when "All" was chosen.
    This does not seem the best way to do it.
    What if I had more than one parameter and I wanted to show "All"
    the values of one and a certain values for another.
    I would then need at least 4 read only tables.
    How do I accomplish this in an easier way?
    Thanks in advance.

    I am not exactly sure what you are asking... Are you having trouble with TopLink, or another part of your application?
    Peter Krogh

  • Can i use pandrive with iPad, i want to access word, excel, pdf files on iPad via pandrive

    Can i use pandrive with iPad, i want to access word, excel, pdf files on iPad via pandrive

    You cannot use pendriver.
    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

  • Can't create WORD or EXCEL PDF?

    Can't create WORD or EXCEL PDF's?
    All Adobe updates are already installed.
    I am running Adobe Professional 8
    I am running Office Professional 2003
    When opening WORD or EXCEL I get this error message:
    Microsoft Visual Basic
    Compile error in hidden module: DistMon
    A suggested solution was to go to:
    C:\Documents and Settings\IBM USER\Application Data\Microsoft\Excel\XLSTART
    Then delete PDFMaker
    The error message goes away but I cannot create a PDF Doc either, so that's no good.
    When I click the create PDF button in EXCEL this is the ERROR Signature:
    AppName: excel.exe
    AppVer: 11.0.8307.0
    AppStamp: 49ee85df
    ModName: unknown
    ModVer: 0.0.0.0
    ModStamp: 00000000
    fDebug: 0
    Offset: 00000000
    Also, when I click on send error report, it never finishes.
    If I open Adobe Professional 8 and click on create PDF, then select a file,
    the error message I get is:
    Missing PDFMaker files.
    Do you want to run the installer in repair mode?
    If I click yes, it takes forever and nothing happens.
    Suggestions?

    I got this message when trying to use Excel 2003. I went to Microsoft's web site's community and entered the error message that you got. There was a solution offered that worked for me although I cannot remember now what it was. You might also try Microsoft's knowledge base for any possible answers for this problem. IMHO, I believe this is an Office 2003 problem and not an Acrobat problem.
    I usually find the answers to problems such as these on Microsoft's web site. Good luck.
    Ken Friedman

  • I have a Word doc with lots of Excel/Pdf attached doc inside. Can I convert this word doc in PDF keeping the attached documents inside the PDF? or do I have to attach all af them again? thank in advance

    I have a Word doc with lots of Excel/Pdf attached doc inside. Can I convert this word doc in PDF keeping the attached documents inside the PDF? or do I have to attach all af them again? thank in advance

    Attach all of them again.
    Be well...

Maybe you are looking for

  • FINALLY i can watch movies on my ipod

    I have been fighting for two days to get my movies to transfer to my ipod and finally got it to work. for all you you fighting as well this is what I did. I tried everything. handshake, viderora, p2p, mac ripper. and qucktime did the trick. this is w

  • How do you change your security question if you forgot it

    I can't change my security question

  • 4:3 aspect woes.  Curse that "widescreen preview"!!

    I searched this subject before posting and couldn't find an answer. I created a slideshow -- with NO audio -- using "Photo-to-Movie" in 4:3. I exported it to iDVD using the program's settings, choosing 4:3 when prompted in iDVD. Even chose a really o

  • 2010 MBP to TV

    I'm working away from home and my 52" flat screen. I have my new 13" MBP and a used bulky TV with RCA and SVideo inputs. I have netflix, movies in iTunes, etc I'd like to watch on the TV. How can I connect the MBP to the TV? This MBP doesn't have an

  • Java Best Practices

    Hi All, can any one tell me what are all Java Best Practices or can you please refer site where we can find java best practices. pvmk