Save report in BLOB

Hi!
Does anybody know how to save a report in a BLOB column of my DB?
It has to be done within a process.
Thanks.

This procedure will do that for you:
PROCEDURE export_rep_to_blob (
      p_query       IN   VARCHAR2,
      p_filename    IN   VARCHAR2 DEFAULT 'export_csv.csv',
      p_delimiter   IN   VARCHAR2 DEFAULT ';',
      p_coll_name   IN   VARCHAR2 DEFAULT 'MY_EXP_COLL'
   IS
      v_column_list     DBMS_SQL.desc_tab;
      v_column_cursor   PLS_INTEGER;
      v_number_of_col   PLS_INTEGER;
      v_col_names       VARCHAR2 (4000);
      v_line            VARCHAR2 (4000);
      v_delimiter       VARCHAR2 (100);
      v_dest_lob        BLOB;
      v_id              INTEGER;
      v_mime_type       VARCHAR2 (100)    DEFAULT 'application/vnd.ms-excel';
      v_unique_id       NUMBER;
      v_error           VARCHAR2 (4000);
      v_code            VARCHAR2 (4000);
   BEGIN
-- Get the Source Table Columns
      v_column_cursor := DBMS_SQL.open_cursor;
      DBMS_SQL.parse (v_column_cursor, p_query, DBMS_SQL.native);
      DBMS_SQL.describe_columns (v_column_cursor,
                                 v_number_of_col,
                                 v_column_list
      DBMS_SQL.close_cursor (v_column_cursor);
      FOR i IN v_column_list.FIRST .. v_column_list.LAST
      LOOP
         v_col_names :=
                   v_col_names || p_delimiter
                   || (v_column_list (i).col_name);
      END LOOP;
      v_col_names := LTRIM (v_col_names, ';');
-- get unique sequence
      SELECT file_util.file_id_sequence
        INTO v_unique_id
        FROM DUAL;
-- create an empty blob
      INSERT INTO wwv_flow_files
                  (NAME, blob_content,
                   filename, mime_type, last_updated, content_type
           VALUES (v_unique_id || '/' || p_filename, EMPTY_BLOB (),
                   p_filename, v_mime_type, SYSDATE, 'BLOB'
           RETURN ID
             INTO v_id;
-- select blob for update
      SELECT     blob_content
            INTO v_dest_lob
            FROM wwv_flow_files
           WHERE ID = v_id
      FOR UPDATE;
      DBMS_LOB.writeappend (v_dest_lob,
                            LENGTH (v_col_names),
                            UTL_RAW.cast_to_raw (v_col_names)
      DBMS_LOB.writeappend (v_dest_lob,
                            LENGTH (CHR (10)),
                            UTL_RAW.cast_to_raw (CHR (10))
      IF htmldb_collection.collection_exists (p_collection_name      => p_coll_name)
      THEN
         htmldb_collection.delete_collection
                                            (p_collection_name      => p_coll_name);
      END IF;
      htmldb_collection.create_collection_from_query
                                            (p_collection_name      => p_coll_name,
                                             p_query                => p_query
      v_number_of_col := 50 - v_number_of_col;
      FOR i IN 1 .. v_number_of_col
      LOOP
         v_delimiter := v_delimiter || p_delimiter;
      END LOOP;
      FOR c IN (SELECT c001, c002, c003, c004, c005, c006, c007, c008, c009,
                       c010, c011, c012, c013, c014, c015, c016, c017, c018,
                       c019, c020, c021, c022, c023, c024, c025, c026, c027,
                       c028, c029, c030, c031, c032, c033, c034, c035, c036,
                       c037, c038, c039, c040, c041, c042, c043, c044, c045,
                       c046, c047, c048, c049, c050
                  FROM htmldb_collections
                 WHERE collection_name = p_coll_name)
      LOOP
         v_line :=
            RTRIM (   c.c001
                   || p_delimiter
                   || c.c002
                   || p_delimiter
                   || c.c003
                   || p_delimiter
                   || c.c004
                   || p_delimiter
                   || c.c005
                   || p_delimiter
                   || c.c006
                   || p_delimiter
                   || c.c007
                   || p_delimiter
                   || c.c008
                   || p_delimiter
                   || c.c009
                   || p_delimiter
                   || c.c010
                   || p_delimiter
                   || c.c011
                   || p_delimiter
                   || c.c012
                   || p_delimiter
                   || c.c013
                   || p_delimiter
                   || c.c014
                   || p_delimiter
                   || c.c015
                   || p_delimiter
                   || c.c016
                   || p_delimiter
                   || c.c017
                   || p_delimiter
                   || c.c018
                   || p_delimiter
                   || c.c019
                   || p_delimiter
                   || c.c020
                   || p_delimiter
                   || c.c021
                   || p_delimiter
                   || c.c022
                   || p_delimiter
                   || c.c023
                   || p_delimiter
                   || c.c024
                   || p_delimiter
                   || c.c025
                   || p_delimiter
                   || c.c026
                   || p_delimiter
                   || c.c027
                   || p_delimiter
                   || c.c028
                   || p_delimiter
                   || c.c029
                   || p_delimiter
                   || c.c030
                   || p_delimiter
                   || c.c031
                   || p_delimiter
                   || c.c032
                   || p_delimiter
                   || c.c033
                   || p_delimiter
                   || c.c034
                   || p_delimiter
                   || c.c035
                   || p_delimiter
                   || c.c036
                   || p_delimiter
                   || c.c037
                   || p_delimiter
                   || c.c038
                   || p_delimiter
                   || c.c039
                   || p_delimiter
                   || c.c040
                   || p_delimiter
                   || c.c041
                   || p_delimiter
                   || c.c042
                   || p_delimiter
                   || c.c043
                   || p_delimiter
                   || c.c044
                   || p_delimiter
                   || c.c045
                   || p_delimiter
                   || c.c046
                   || p_delimiter
                   || c.c047
                   || p_delimiter
                   || c.c048
                   || p_delimiter
                   || c.c049
                   || p_delimiter
                   || c.c050,
                   v_delimiter
         DBMS_LOB.writeappend (v_dest_lob,
                               LENGTH (v_line),
                               UTL_RAW.cast_to_raw (v_line)
         DBMS_LOB.writeappend (v_dest_lob,
                               LENGTH (CHR (10)),
                               UTL_RAW.cast_to_raw (CHR (10))
      END LOOP;
-- update the new line
      UPDATE wwv_flow_files
         SET doc_size = DBMS_LOB.getlength (blob_content),
             dad_charset = 'ascii'
       WHERE ID = v_id;
-- import into custom table
      INSERT INTO syn_file_table
         SELECT NAME, 'export query flat file', ID, blob_content, mime_type,
                filename, created_on
           FROM wwv_flow_files
          WHERE ID = v_id;
-- delete the file from wwv_flow_files
      DELETE FROM wwv_flow_files
            WHERE ID = v_id;
      IF htmldb_collection.collection_exists (p_collection_name      => p_coll_name)
      THEN
         htmldb_collection.delete_collection
                                            (p_collection_name      => p_coll_name);
      END IF;
      COMMIT;
   EXCEPTION
      WHEN OTHERS
      THEN
         v_error := SQLERRM;
         v_code := SQLCODE;
         IF DBMS_SQL.is_open (v_column_cursor)
         THEN
            DBMS_SQL.close_cursor (v_column_cursor);
         END IF;
         raise_application_error (-20001,
                                     'Your query is invalid!'
                                  || CHR (10)
                                  || 'SQL_ERROR: '
                                  || v_error
                                  || CHR (10)
                                  || 'SQL_CODE: '
                                  || v_code
                                  || CHR (10)
                                  || 'Please correct and try again.'
                                  || CHR (10)
   END export_rep_to_blob;You will need to adjust the table names according to your setup.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://htmldb.oracle.com/pls/otn/f?p=31517:1
-------------------------------------------------------------------

Similar Messages

  • How to save report in PersonalCategory  after creating it using java panel?

    Hi,
    Anybody knows How to save report in PersonalCategory  after creating it using java panel?
    I dont want to save it in public folder. I want to save report (webi) in user's personal category.
    can anybody send me source code?
    It will help me a lot.
    Thanks in advance
    Amol Mali

    Hi teda,
    i'm assuming that you have seen my post that i did successfuly save report in user's personal category.
    Actually the report is created in webi java panel using RE SDK and  is saved in Report Sample Folder then i'm saving it in user's personal category by following code
    string query = "Select SI_PERSONAL_CATEGORIES From CI_INFOOBJECTS Where "
                         + "SI_INSTANCE=0 And SI_ID=" + reportID;
                    InfoObjects infoObjects = infoStore.Query(query);
                    InfoObject infoObject = infoObjects[1];
                    Webi wreport = (Webi)infoObject;
                    ObjectRelativeIDs personalIDs = wreport.PersonalCategories;
                /personalIDs.Add(Convert.ToInt32(categoryID));
                   infoStore.Commit(infoObjects);
    But the report is presents in the Folder also and in user's personal category also.
    I dont want the report to be in the folder (Report Sample) if i saved it in user's personal category.
    How can i do that?
    any idea.
    Please help me.
    Thanks in advance
    Amol Mali
    Edited by: amol mali on Jan 9, 2009 7:55 PM

  • Report generation vi's-save report to file.vi

    I am a new user of LabVIEW. I'm using the Report Generation Toolkit VI's to do some customized reports.
    1. how can I stop the report from popping up on the front panel when I initialize the report to be done. I know you can use "minimized" but that takes a few seconds to minimize and I would like to NOT see the report I'm generating pop-up at all.
    2. I want use this customized report and constantly be saving data when a reset button is pushed. That is save the time stamp, the change in data etc on a continuous basis in 1 folder. Right now when I use the "Save Report to File. Vi" it over writes the previous data saved and all that data is lost. I need to be constantly saving all the data generated to be able to look back at it.
    Thanks.

    Hi shaef,
    Which version of LV and Report Generation Toolkit are you using?
    Assuming you are using LV 8.5 and RGT 1.1.2, then the attached screenshot should offer some help.  Basically, you need to wire in the existing file as your template in order to not just overwrite the old data.  You also need to make use of the series of 'Append' VIs that are in the toolkit.
    Let us know if this works for you,
    David_B
    Applications Engineer
    National Instruments
    Attachments:
    2008-03-23_165242.png ‏5 KB

  • How i can save report updation on report builder 10g

    how i can save report updating on report builder 10g
    please help me
    any help will be appreciated

    See anwer in :
    why no body try to help me its possible no body has idea about how to save

  • Save report on client side in three tier architecture

    Hi,
    We have a 3 tier 10g R2 Application server installed on Unix.
    We want to generate and save report directly to a location on client machine.
    But when we try to do that report is saved in server and not on client machine.
    Can anyone help in this regard?
    Av.

    Hi,
    We are aware of this method, but this is causing following problems to us -
    1. Report name concurrency, we will have to change existing coding to a large extent to make sure same report when generated by different users should have seperate names so that there is no conflict.
    2. To transfer to client machine there can be access right issues, though we have not tested this aspect.
    So was thinking if there is any other way through wich we can directly save the report on client side rather than transfering file between AS and client?

  • Issue with users trying to save reports to thier Documents on one drive.

    I am working
    on a 2013 SharePoint environment and users who use Power View reports.  I
    have a user who can create reports on a site I have set up (no problems
    there).  They can also save reports to PowerPivot Gallery they have added
    in their Newsfeed for their personal site (no problems here).  The problem
    is when they try to save the report and go to Documents on one Drive it fails
    with below error message.  I am an admin but can save just fine to my
    documents.  I know the error shows an access issue but not sure where or
    how to resolve this issue for users.  <o:p></o:p>
    P.S. the
    issue happens before they even save button it happens when they see the My
    Documents and try to open it.  Again it is there personal SharePoint site
    so not sure why they would not have access.<o:p></o:p>
    SoapAction: ListChildren
    HttpStatus: 500
    ServerErrorCode: rsAccessDenied
    ServerError: <detail><ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsAccessDenied</ErrorCode><HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message
    xmlns="http://www.microsoft.com/sql/reportingservices">The permissions granted to user 'HQEAGLEVIEW\levi.bond' are insufficient for performing this operation. ---&gt; Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException:
    The permissions granted to user 'HQEAGLEVIEW\levi.bond' are insufficient for performing this operation.</Message><HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsAccessDenied&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3412.0</HelpLink><ProductName
    xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">11.0.3412.0</ProductVersion><ProductLocaleId
    xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId
    xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation xmlns="http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message
    msrs:ErrorCode="rsAccessDenied" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsAccessDenied&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3412.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">The permissions granted to user 'HQEAGLEVIEW\levi.bond' are insufficient for performing this operation.</Message></MoreInformation><Warnings
    xmlns="http://www.microsoft.com/sql/reportingservices" /></detail>
    here is actual screen shot
    <v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe" stroked="f">
     <v:stroke joinstyle="miter">
    <v:formulas>  <v:f eqn="if lineDrawn pixelLineWidth 0">
      <v:f eqn="sum @0 1 0">
      <v:f eqn="sum 0 0 @1">
      <v:f eqn="prod @2 1 2">
      <v:f eqn="prod @3 21600 pixelWidth">
      <v:f eqn="prod @3 21600 pixelHeight">
      <v:f eqn="sum @0 0 1">
      <v:f eqn="prod @6 1 2">
      <v:f eqn="prod @7 21600 pixelWidth">
      <v:f eqn="sum @8 21600 0">
      <v:f eqn="prod @7 21600 pixelHeight">
      <v:f eqn="sum @10 21600 0">
     </v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:formulas>
     <v:path gradientshapeok="t" o:connecttype="rect" o:extrusionok="f">
     <o:lock aspectratio="t" v:ext="edit">
    </o:lock></v:path></v:stroke></v:shapetype><v:shape alt="" id="Picture_x0020_1" o:spid="_x0000_i1025" style="width:7in;height:426.75pt;" type="#_x0000_t75">
    <v:imagedata o:href="cid:[email protected]" src="file:///C:\Users\KEN~1.CRA\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png">
    </v:imagedata></v:shape>
    Ken Craig

    Hi Ken,
    It's strange that the User Profile Service Application is not available there. Please use PowerShell to check it, and you can run the command below:
    Get-SPServiceApplication | where-object{$_.DisplayName -like 'User Profile*'}
    Please ensure you are connecting to the correct farm, and open PowerShell with administrator permission. Meanwhile, add a test user in your Active Directory, and test to see whether the user's My Site can be created.
    If the User Profile Service Application can be listed by PowerShell, and the new user's My Site can be created, there might be an UI issue in your Central Administration. Otherwise, you may consider to recreate or restore your User Profile Service Application.
    Here are references:
    https://technet.microsoft.com/en-us/library/gg985419.aspx
    http://sharepoint.stackexchange.com/questions/55087/user-profile-service-application-unable-to-create-a-new-user-profile-service-ap
    https://joanneklein.wordpress.com/2011/11/08/recreated-user-profile-service-application-deletes-user-profiles/
    Thanks,
    Reken Liu

  • How to use active X controls to read/write protect an excel or word document created by created by Save Report to File VI

    Hi all,
    I'm trying to creat a word and excel documents using Save Report to File VI. When wiring a password to this last VI, the document created are only protected against writing but not reading. How can I use active X controls to password protect these documents against reading?
    Thanks a bunch!
    O

    There is no predefined functionality available in LabVIEW. So you have to implement this on your own.
    It seems to me that you own the Office Report Generation Toolkit. You can use the Excel Get ActiveX References.vi from the Excel Specific >> Advanced palette to get access to the "generic" ActiveX Excel references. Starting from this point, you can use property and invoke nodes to get to the setting you are going to modify.
    Please refer to this link for information on Excel password protection. I have not searched for the object giving you access to those settings though....
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Error -2147352567 when using Save Report vi

    Hi,
    I'm developing an end of line test bench software for a firm. Things were going fine till I came across an unexpected error which I fail to comprehend. My code runs a motor simulation and saves the data in two separate excel files. When I have the path disconnected from the Save Report to File.vi (screenshot 1), my program runs smoothly and saves one of the files and returns an error due to the Save Report vi being disconnected (as expected). But when I connect the path to the Save Report to File.vi, I get an error -2147352567 (screenshot 2) at an append table to report.vi elsewhere in the code, which worked perfectly fine before the path was connected to the Save Report vi. Also, now the second excel file gets saved because its path has been connected. I cannot understand what the issue is. I could not find any source that gave me a reasonable fix to the problem either. I have been using Labview for less than 2 weeks, so forgive me if I have overlooked anything.
    Solved!
    Go to Solution.

    Hi DPac,
    Apologies for the confusion in the earlier post, thank you very much for clearing it up.
    Following my last post; the error was due to a race condition. There was no data flow used between the two separate report files being written. This means that LabVIEW will try to perform the two bits of code in parallel. However, this was occasionally causing one of the sub-vis to be called by the two different parts of code at the same time, which was causing the error.
    This is why the code would run without the above error if you disconnected the path to the first "Save Report to File.vi", as this part of the code wasn't running, allowing the second part to run freely.
    To counteract this I simply wired the "error out" terminal of the "Save Report to File.vi" (the one which used All_Saved.xlsx) into the "error in" terminal of the "New Report.vi" (the one which used Template.xlsx). Because VIs cannot operate until all inputs are filled, this forces the writing of the first report to occur before the writing of the second report, not at the same time.
    I have attached the revised version of "EOL_V1.vi" where you will be able to see the how I have wired the errors to force execution.
    I also noticed that you have not initialised your "set speed" shift register. This means that each time you run the program it will retain the last value from the previous run. Is this intentional? This means that your spreadsheet does not update correctly if you were to run the program twice in a row.
    Thank you,
    Eden S
    Applications Engineer
    National Instruments UK & Ireland

  • Disable of "Save Report" takes no effect in an interactive report

    Hello,
    when I disable the checkbox "Save Report" in the report attributes of an interactive report, this has no effect. The menue item "Save Report" is still shown when I press the "Actions" button.
    Is this a bug or do I miss something?
    Regards,
    Arndt

    Hello Arndt,
    After you disable the checkbox "Save Report", if you run the app when you are logged in to the workspace, then you will still see the menu item "Save Report" when you click the "Actions" button. Run the app from outside the workspace, then you will not see the menu item "Save Report".
    When the checkbox for "Save Report" is disabled, you will see an * next to the menu item "Save Report" when you are run the app from the workspace.
    Thanks,
    Machaan

  • "save report to file"

    I wish to use the "save report to file" function to save to a network, but if the network is not available (error code 6) then I wish to save the file locally on my C: drive. How can I capture this 'error code 6' before it happens and then divert the file to the local drive instead without any pop-up's?

    Hi Steve,
    I have been looking into your issues for you. Firstly, I must advise that either of the recommendations on this page are perfectly valid methods for achieving your desired results. The Check if File or Folder Exists VI could be used to determine whether a specific path on the network exists which will output a Boolean which indicates the outcome. This Boolean can then be used to select which path to save the file to using a case structure. A very simple example of this has been attached below. This approach would ensure that the error would never occur therefore eradicating your error pop-up issue.
    For this particular instance I would recommend using the above method, though for more complex applications it may be worth adopting a more sophisticated manual error handling strategy rather than automatic error handling that is used by default.  For more information on this, see the following document.
    Handling Errors
    http://zone.ni.com/reference/en-XX/help/371361F-01/lvconcepts/error_checking_and_error_handling/
    I hope this helps but let me know if you require further assistance.
    Christian Hartshorne
    Applications Engineer
    National Instruments
    Attachments:
    Check if File Folder Exists Example.vi ‏7 KB

  • Save Report to File.vi closing file problems

    I have a while loop running in which I generate data. At the end of a sequence in the while loop, I create an HTML report and save the report file to disk. My problem is that the next time the while loop generates data and goes to save the new HTML report, I get a file permission error (Error 8) in the delete file subvi. I use the delete file subvi so that I can programmatically replace the HTML report file. I believe that the problem is in the "Save Report to File.vi" in that it does not close the file after it writes it. Any comments?

    Unfortunately i couldn't open your example as i only have LV 6.0, but i looked at the 'Save report to File.vi' in LV 6.0 and it basically only contains a 'Write characters to file.vi' for file handling. In LV 6.0 this vi does contain a 'Close file+.vi' which has an input called 'close when? (now:T)'. Make sure this is wired as True (default) and the file will close, and you should be able to delete the file (as long as the delete event occurs afterwards (make sure it is wired in sequence). In the LV help, it says the reason for the 'Write characters to file.vi' only closing if you tell it to (set as default) or if there is an error is so you can continually use it in a loop, writing characters to file, without closing, and then send a command to close
    it only on the last loop, or if there is an error. Therefore i dont think it is a bug, but i think there should be a wire for it on the 'Write characters to file.vi'.
    I hope this helps you..
    Kim

  • No more  "Save Report"

    Good Morning All,
    I am confusing “Save Report” in Actions Menu of Interactive report.
    Save Report - Used to save the report settings for future use.
    According the definition, I don’t want to include and I unchecked it. But I still see it.
    When I click the “Save Report”, the following message appears:
    “The current report settings will be used as the default for all users.”
    How can I rid of the “Save Report” ?
    Thanks in advance,
    EB NY

    Hi,
    I couldn't find the solution but then I read the previous post. What he said is correct but only occurs when either your application's Build Status is set to: Run Application Only
    or
    You set Status to Available instead Available with Edit Links. By doing this instead of the previous you're still able to edit your application.
    I'd suggest doing the latter but only so you can see that it does actually work as you intend. Then reset it to Available with Edit Links so that it is easier for you to update. Then once your application is finalised you set it to Run App Only and the effects will be visible to the users.
    Both Status and Build Status can be found in your application defintion.
    Mike

  • How to save report in text (.txt) format using SSRS

    Hello 
    I am using some .rdl file to generate reports and this is using SSRS. But only thing I did that I have changed the configuration file in C drive as below :
    Here 
     Collapse | Copy Code
    <Extension Name="TXT" Type="Microsoft.ReportingServices.Rendering.CsvRenderer.CsvReport,Microsoft.ReportingServices.CsvRendering"> 
        <OverrideNames> 
            <Name Language="en-US">TXT (Pipe Delimited Text File)</Name> 
        </OverrideNames> 
        <Configuration> 
            <DeviceInfo> 
                <FieldDelimiter>|</FieldDelimiter> 
                <Extension>TXT</Extension> 
                <Encoding>ASCII</Encoding> 
            <NoHeader>true</NoHeader> 
            </DeviceInfo> 
        </Configuration> 
    </Extension> 
    The TXT is added to the drop down . But when I am saving the report it is not saving in .txt format. It is taking .CSV format. Kindly help to save report in txt format.

    Hi Chat89,
    By design, SQL Server Reporting Services render a report to CSV (text) format with a comma (,) as FieldDelimiter in .CSV FileExtension. So if we want to display Pipe FieldDelimiter in .txt format, we can modify those setting in the RSReportserver.config
    file as below:
    Please navigate to RSReportserver.config file: <drive:>\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer \RSReportserver.config.
    Backup the RSReportserver.config file before we modify it, open the RSReportserver.config file with Notepad format.
    In the <Render> section, add the new code for the CSV extension like this:
    <Extension Name="CSV" Type="Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering">
       <OverrideNames>
            <Name Language="en-US">TXT (Pipe Delimited Text File)</Name>
        </OverrideNames>
        <Configuration>
            <DeviceInfo>
                <FieldDelimiter>|</FieldDelimiter>
                <FileExtension>TXT</FileExtension>
            <NoHeader>true</NoHeader>
            </DeviceInfo>
        </Configuration>
    </Extension>
    Save the RSReportserver.config file.
    For more information about CSV Device Information Settings, please see:
    http://msdn.microsoft.com/en-us/library/ms155365.aspx
    If you have any other questions, please feel free to ask.
    Thanks,
    Katherine xiong
    Katherine Xiong
    TechNet Community Support

  • Unable to save reports to enterprise from Crystal Reports 2013 and Crystal Reports for Enterprise

    Dear Expert,
    when we tried to save report to enterprise, error happened:
    "Failed to find a Report Application Server."
    We closed BO server firewall.
    We could check report from PC by browser.
    But when we save report from CR 2013, then error happened.
    Then we install CR enterprise and save report is ok from same PC.
    We launch latest patches too.
    Anyone see this before? Please kindly help~
    Environment:
    SAP Crystal Reports 2013
    SAP Business Intelligence 4.0
    Regards,
    April.

    April, since you have CR4E, you also have BI and thus free phone support included. My suggestion would be to create a phone incident and work with an SAP engineer on the issue. Only saying because it looks like you're somewhat anxious to get this going(?).
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Save report output to file

    Hi, I'm using BI publisher web service to schedule reports to email, printer, fax..etc
    How can I save report output to file? I tried both options saveOutputOption and saveDataOption but I can't find report output on the server.
    Thank you,

    option 1: bursting
    option2:
    you have to get the output, search for ReportResponse and getReportBytes,

Maybe you are looking for