Download Reports in CSV or pdf format

Hi to all,
i'm trying to download a report in CSV format that implicate the list of more than 400.000 users and their resource assigned.
As i know, Sun IDM before generating this file is going to execute a task that return the list of this 400.000 users, and only after
that IDM ask me with a window alert if i want to only to "View" or if i want to "Save" the CSV file.
I noticed that in the moment that IDM is asking me if i want to save and where to save, i wasn't logged in IDM, so
i'm able to see only the task that is executed with success and the list of users in the task but any CSV or request to save CSV file.
Do you think that i need an open IDM session with the same IDM user that i execute the report in the moment to save the CSV?
And what about the task that was already executed: how can i download the CSV without executing another time the task?
Thanks in advance
Best Regards

I noticed that in the moment that IDM is asking me if i want to save
and where to save, i wasn't logged in IDM, so i'm able to see only the
task that is executed with success and the list of users in the task
but any CSV or request to save CSV file.The following method converts a finished report to a string in CSV format:
  public static String printReportsAsCSV(String taskName, String sep, Locale locale)
    throws WavesetException {
    TaskManager tm = Server.getServer().getTaskManager();
    RepositoryResult er = tm.getExtendedResult(taskName, null);
    if(er != null && er.hasNext()) {
      ReportRenderer rend = new ReportRenderer(locale);
      StringBuffer sb = new StringBuffer();
      while(er.hasNext()) {
        TaskResult tr = (TaskResult)er.next().getObject();
        WavesetResult res = tr.getResult();
        if(res != null && res.getResults() != null && res.getResults().size() > 0) {
          Report report = (Report)res.getResult("report");
          rend.renderToSeparatedText(report, sb, sep);
          return sb.toString();
    return null;
  }Usage example:
System.out.println(printReportsAsCSV("All Admin Roles", ",", Locale.getDefault()));The report is stored in the repository as a TaskResult object, so you
can also export it in XML form and process with XSL or something.
Cheers,
Vladimir

Similar Messages

  • Download from ALV grid to PDF format

    hai Friends!
       plz tell me how can i download from ALV grid to PDF format..
    send me some sample codes

    check this thread
    ALV Grid to PDF
    and do use the search functionality from next time and post the question only wheb u dont find the answer
    кu03B1ятu03B9к

  • Download functionality in EXCEL and PDF format to the  Webdynpro iView

    Hi Expert,
                      I am using NW 7.0 ehp1 sp3. I developed some Webdynpro RFC model application for the product catalog of the material related data.
    Now my requirement is to provide the download functionality in EXCEL and PDF format to all of these Webdynpro (java) iView.
    How we can achieve this requirement? In which part of the webdynpro application we have to write the code?
    Someone can help me very clearly in steps to achieve this?
    Thanks,
    Kundan

    Hi,
    I don't think it is possible to redirect the html stream of the Web Dynpro iView to a PDF / Excel document, since it essentially would mean you have to call the Web Dynpro application again, maintaining the state and context of the iview itself
    However, using (for instance) the JExcelApi (Excel) or iText (PDF) you could create documents using the data displayed in your Web Dynpro iView, which has the added benefit you could design and layout your PDF / Excel documents in a more suitable layout for printing (most WD applications look horrible when printed)
    Cheers,
    Robin

  • HT4059 If I have downloaded journal articles in a PDF format in IBooks, can I still make notes and highlight?

    If I have downloaded journal articles in a PDF format in IBooks, can I still make notes and highlight?

    Are they ibooks, epubs, PDFs ?  If they are epubs or ibooks then you might be able to either double-tap or press and hold a word and you should get a popup with one option on it being hightlight (though at least one of my ibooks doesn't get that option) - you can drag the grab points at the start and end of the word to extend the hightlighted text.  You can then view your highlights by tapping the bullet point icon next to the Library button at the top left of the screen.
    If it's a PDF then I think that you will need to find a different app, I don't think that you can do it in iBooks e.g. GoodReader might do what you want.

  • Convert ABAP Report's Output into PDF Format..

    Hello Experts,
    I want to convert the outout of an ABAP report to an PDF file. I have succedded in doing the following :
    Data statistics -
    Number of
    Records passed ---4
    After executing the program RSTXPDFT4, i can get PDF file saying number of records in the above format...
    But i want to have the output of the report in PDF. suppose a list is being displayed in the output olf the ABAP report, i want to save that report in PDF format....
    Please help........
    Anupam...

    Hi Anupam,
    Try this way
    <font color=blue><pre>
    REPORT ztest_notepad.
    "Variables
    DATA:
       l_lay         TYPE pri_params-paart,
       l_lines       TYPE pri_params-linct,
       l_cols        TYPE pri_params-linsz,
       l_val         TYPE c,
       l_no_of_bytes TYPE i,
       l_pdf_spoolid LIKE tsp01-rqident,
       l_jobname     LIKE tbtcjob-jobname,
       l_jobcount    LIKE tbtcjob-jobcount,
       spoolno       TYPE tsp01-rqident.
    *Types
    TYPES:
       t_pripar      TYPE pri_params,
       t_arcpar      TYPE arc_params.
    "Work areas
    DATA:
       lw_pripar     TYPE t_pripar,
       lw_arcpar     TYPE t_arcpar.
    DATA:
       it_t100       TYPE t100  OCCURS 0 WITH HEADER LINE,
       it_pdf        TYPE tline OCCURS 0 WITH HEADER LINE.
    "Start-of-selection.
    START-OF-SELECTION.
      l_lay   = 'X_65_132'.
      l_lines = 65.
      l_cols  = 132.
      "Read, determine, change spool print parameters and archive parameters
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          in_archive_parameters  = lw_arcpar
          in_parameters          = lw_pripar
          layout                 = l_lay
          line_count             = l_lines
          line_size              = l_cols
          no_dialog              = 'X'
        IMPORTING
          out_archive_parameters = lw_arcpar
          out_parameters         = lw_pripar
          valid                  = l_val
        EXCEPTIONS
          archive_info_not_found = 1
          invalid_print_params   = 2
          invalid_archive_params = 3
          OTHERS                 = 4.
      IF l_val <> space AND sy-subrc = 0.
        lw_pripar-prrel = space.
        lw_pripar-primm = space.
        NEW-PAGE PRINT ON
          NEW-SECTION
          PARAMETERS lw_pripar
          ARCHIVE PARAMETERS lw_arcpar
          NO DIALOG.
      ENDIF.
      "Get data
      SELECT *
      FROM t100
      INTO TABLE it_t100
      UP TO 100 ROWS
      WHERE sprsl = sy-langu.
      " Writing to Spool
      LOOP AT it_t100.
        WRITE:/ it_t100.
      ENDLOOP.
      NEW-PAGE PRINT OFF.
      CALL FUNCTION 'ABAP4_COMMIT_WORK'.
      spoolno = sy-spono.
      "Convert spool to PDF
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          src_spoolid   = spoolno
          no_dialog     = ' '
        IMPORTING
          pdf_bytecount = l_no_of_bytes
          pdf_spoolid   = l_pdf_spoolid
          btc_jobname   = l_jobname
          btc_jobcount  = l_jobcount
        TABLES
          pdf           = it_pdf.
      "Download PDF file C Drive
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename = 'C:\itab_to_pdf.pdf'
          filetype = 'BIN'
        TABLES
          data_tab = it_pdf. </pre></font>
    Thanks
    Venkat.O

  • Downloading alv o/p to Pdf format

    Hi  ,
          How to download ALV output to PDF format
    Edited by: wipro infotech on Feb 21, 2008 9:21 AM

    hi,
    first run that report in background.
    check in SP01.
    goto se38.
    RSTXPDFT4 : Execute this report.
    Pass the spool no that u hv check in SP01.
    RSTXPDFT4  : this report will convert in spool to PDF.
    Regards,
    Arpit

  • Please help. How to create reports including charts in pdf format .

    Please help.
    I have two problems.
    Any help will be highly appreciated.
    1. I need to query database through JDBC (which is easy) using servlet or JSP and then create a report in pdf format (which I do not know how to). If anyone knows how to create a report in pdf format, I would highly appreciate.
    2. I need to generate charts and embed them in these reports. I do not know how to make charts. If anyone knows and helps me out, I would highly appreciate. I have to make charts and embed them in the pdf reports.
    Thanks a lot in advance.
    Indrasish.

    Ok ibasuroy, but i don�t speak ingles.
    first problem:
    http://sourceforge.net/projects/jfreereport/
    JFreeReport is a Java class library for generating reports. It provides a flexible printing functionality for Java applications and supports output to Printers and PDF, Excel, HTML and XHTML, PlainText, XML and CSV files.
    second problem:
    http://sourceforge.net/projects/jfreechart/
    JFreeChart is a class library, written in Java, for generating charts. Utilising the Java2D APIs, it currently supports bar charts, pie charts, line charts, XY-plots and time series plots.
    write my. I have a class JDBCAdpater and a BridgeJFreeReport
    [email protected]

  • Displaying Japanese Fonts on Report Builder 10g in PDF format.

    Hi,
    In one of my Report .I am using Japanese characters.All the contents are static data. If I run from Report builder it gives me perfect result and If I am trying to get output in PDF format from Report builder, I all the Japanese characters changed to some different fonts characters. Same problem with Report Server.
    Thanks in Advance
    I appreciate your Help.

    Hi,
    Try using the 'PDF Subsetting' feature.Go through the Chapter-Using PDF in Oracle Reports in "Oracle Application Server Reports Services Publishing Reports to the Web" - http://www.oracle.com/technology/documentation/reports.html.
    Hope this will help you.
    Thanks,
    Vidya

  • How I can save report (graphics & text) in PDF format in LV6i?

    I am new to LabView. I tried to save the report as HTML document, it works well using vi's from report generation pallet. But the problem is HTML stores graphic images and text as multiple files. My requirement is to have one single file (like PDF format) to store the results/report of the process.
    Any help in this problem will be greatly appreciated.

    MattI wrote in message news:<[email protected]>...
    > Actually, this is really easy.
    >
    > Just open the .html file from within Word, and then save it as a Word
    > file.
    >
    > After this, if you have Adobe Acrobat installed, you can create a pdf
    > of the Word file.
    You could write a batch file that prints to a PS file using a PS
    Printer driver and then runs GhostScript to automate the PS -> PDF
    conversion. There is no need to buy a MS or Adobe product.
    A big of searchign and you'll probably find some ghostscript addon for
    HTLM->PS->PDF conversion

  • Automatic Storing of Report Through Delivers in PDF Format to Local Disk

    We need ihelp on our problem below.
    Goal : We want to automatically download the IBOT reports in to a PDF file on our local hard drive for archiving purposes. We are able to get this working and the code is working fine with IBOTS calling Java Script in Windows environment and IBOTS calling Java Classes for AIX (our obiee is installed on AIX).
    Problem : Java script code is able to return the name of the report which is chosen as the content for the IBOT -> under Delivery content Tab select content tab(containing the name of the report). Thus my downloaded PDF file is containing the report name which is good and what we need.The Java classes have been combined as a JAR File with 3 other dependency JAR Files which are needed to talk to the Scheduler Classes which are as follows.
    C:\OracleBI\web\javahost\lib\scheduler\schedulerrpccalls.jar
    C:\OracleBI\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\WEB-INF\lib\xdocore.jar
    C:\OracleBI\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\WEB-INF\lib\versioninfo.jar
    However when we now invoke the ibot with java classes on AIX box,we are not able to get the name of the report in the download file. We are not able to find the right JAVA supported method for OBIEE delivers to get the report name. In short what we want is the equivalent of this Java script code below in Java classes for OBIEE.
    Java script which returns the name of the report is done by this one line code.
    var foldername = GetConfigurationValue("Log Dir", "iBots") + "\\" + UserID
    we need the equivalent of this "GetConfigurationvalue" in OBIEE scheduler Java classes to get the name of the ibot.This is a mandatory requirement from the business users to have the name of the downloaded report on the AIX Box using IBOTS and Java classes.
    Thanks
    PC

    Attach your custom PDF report XML template related to the POXPOPDF program.

  • Refreshing deski reports and saving in pdf format

    I am generating pdf from deski report. I am using BO-XI and Adobe Reader 8. When I am navigating through bookmarks on pdf ( charts and tables) view is zooming in. I have reset the Edit -> preferences ->page display -> page layout to 'single page continuous'  and Zoom to 100% on Adobe Reader. When I open the report it will be 100% first time and when I navigate through report. It is zooming in to 48%. Need help on setting BO report to 100% Zoom with PDF format.
    Edited by: Sunandan Soora on Mar 3, 2009 11:47 PM

    Hi Sunandan,
    According to the BOXIR2 supported platform guide Acrobat reader version 8 is not supported with BOXIR2.
    Following are the versions which are supported.
    Acrobat Reader Version 5.0.
    Acrobat Reader version 7.0.
    Could you please test the issue witht he supported version.
    Regards,
    Sarbhjeet Kaur

  • How to...download the SVG Graph in PDF format or Email it

    I have generated a line chart using SVG Graph, I need to download it in PDF format and email it.
    Please help, How do I do that ?

    FYI, Adobe has announced it will no longer support the SVG Viewer as of Jan 1st, 2009 (link), so you should probably switch over to flash charts in APEX (introduced in 3.0).
    BI Publisher supports charts embedded in PDFs. You can also have the PDF automatically emailed via this technique.
    Tyler
    Message was edited by:
    Tyler

  • Send the report instance in a PDF format as an email

    hi all,
    We have Crystal Reports Server 2008 V0 and it runs on Tom Cat.
    How do I send the instance of a report in a PDF format as an email? I know i need to configure the destination of the Job Server, but which one do I configure? CrystalReportsJobServer / DestinationJobServer / ListOfValuesJobServer / ProgramJobServer or do I configure the destinaion of all these job servers?
    Thanks

    Crystal Reports job Server. you can see this by shceduling the report to Email Destination as it will ask for either using Job server default or you can specify the details at that time also.

  • How to run report in web and pdf format

    hi all,
    i am using developer 9i.
    i can run the report in paper layout but i could not be able to run that report in web layout.
    i have no html backgroud so what modification i have to do in the web source?
    and how to run the report in pdf format.
    thanks
    Muhammad Nadeem
    03469307639

    hi
    you have run report in web than i help you
    you use script lung in you from miss and form eaxm asp script
    you have create report in char fromat
    and call report using script script to define report content all thing are long process if you need then i give you , but in pdf format i not tri it but it's easy
    i my project i have create report and to convert in to txt file and file are show in script in web

  • User being able to download filled out form in pdf format

    Hello,
    I'm testing the formscentral application and was wondering if the users are able to obtain a copy of the filled out form in pdf format versus just plain text in the email?
    Thanks

    No, respondents can only get the email with text responses. There is no way for them to get a PDF copy of what they filled out.

Maybe you are looking for

  • Having trouble reinstalling Mac OS X

    Hi everyone, First I think I have to say I'm not very clever when it comes to Mac's operating system. Altough I always try my best. With that said, here I go: I have an old white macbook. I am sorry I don't know the model. I only know it's quite old

  • Has anyone used the FORMAT_MESSAGE function module in ECC 6.0 ??

    We've upgraded to ECC 6.0 and now I have a BDC program using FORMAT_MESSAGE function module that has a problem.  The number after the & (&1, &2, &3, &4) in the function mod isn't replaced, it stays as a literal and only the & is replaced with a valid

  • HT4527 i moved my iTunes from windows computer to my new mac, but my playlists did not move too ??

    I managed to move my itunes library from my old Windows computer to my new Mac computer, but all my playlists did not move ? cant figure out why. Will i have to sit and re-do all my playlists again ??  does anyone know please ??

  • Truble with update

    I updated to version 7.0.6. I know can not open adobe pdf's. I was told to reboot device. I did this, it seemed to fix the problem last night. But now it is doing it again. I tried to reboot again and it still won't work. What should I do next?

  • What are these Oracle schema

    I created a 11.1 database with dbca, and the created database has many user schemas. I can recognize some of them like SYS, OUTLN and SH etc. Others I do not recognize, and list below. Hope that somebody can tell me what are they and can they be safe